Bug #: 4154
[WebKit-https.git] / WebCore / ChangeLog-2005-08-23
1 2005-07-28  Eric Seidel  <eseidel@apple.com>
2
3         Reviewed by NOBODY (OOPS!).
4
5         Test cases added: (NONE)
6
7         * WebCore.xcodeproj/project.pbxproj:
8         * kdom/css/CSSCharsetRule.cpp:
9         * kdom/css/CSSFontFaceRule.cpp:
10         * kdom/css/CSSImportRule.cpp:
11         * kdom/css/CSSMediaRule.cpp:
12         * kdom/css/CSSPageRule.cpp:
13         * kdom/css/CSSPrimitiveValue.cpp:
14         * kdom/css/CSSRule.cpp:
15         * kdom/css/CSSRuleList.cpp:
16         * kdom/css/CSSStyleDeclaration.cpp:
17         * kdom/css/CSSStyleRule.cpp:
18         * kdom/css/CSSStyleSheet.cpp:
19         * kdom/css/CSSValue.cpp:
20         * kdom/css/CSSValueList.cpp:
21         * kdom/css/Counter.cpp:
22         * kdom/css/DocumentStyle.cpp:
23         * kdom/css/MediaList.cpp:
24         * kdom/css/RGBColor.cpp:
25         * kdom/css/Rect.cpp:
26         * kdom/css/StyleSheet.cpp:
27         * kdom/css/StyleSheetList.cpp:
28         * kdom/ecma/DOMLookup.h:
29
30 2005-07-28  David Hyatt  <hyatt@apple.com>
31
32         Give the theme a shot at deciding when to repaint when various control states change.
33         Remove buggy code that was resigning first responder in next/previous key view (tested
34         extensively and found this code to not be needed).
35
36         Reviewed by darin and chris
37
38         * khtml/html/html_formimpl.cpp:
39         (DOM::HTMLGenericFormElementImpl::parseMappedAttribute):
40         (DOM::HTMLInputElementImpl::setChecked):
41         * khtml/rendering/render_layer.cpp:
42         (RenderLayer::updateHoverActiveState):
43         * khtml/rendering/render_theme.cpp:
44         (khtml::RenderTheme::stateChanged):
45         * khtml/rendering/render_theme.h:
46         (khtml::):
47         * khtml/xml/dom_nodeimpl.cpp:
48         (DOM::ContainerNodeImpl::setActive):
49         * kwq/KWQButton.mm:
50         (-[KWQButton nextKeyView]):
51         (-[KWQButton previousKeyView]):
52         * kwq/KWQKHTMLPart.mm:
53         (KWQKHTMLPart::setDisplaysWithFocusAttributes):
54
55 2005-07-28  David Hyatt  <hyatt@apple.com>
56
57         Implement support for the :checked, :enabled and :disabled pseudo-classes.
58         
59         Reviewed by john
60
61         * khtml/css/css_base.cpp:
62         (CSSSelector::extractPseudoType):
63         * khtml/css/css_base.h:
64         (DOM::CSSSelector::):
65         * khtml/css/cssstyleselector.cpp:
66         (khtml::CSSStyleSelector::checkOneSelector):
67         * khtml/html/html_formimpl.h:
68         (DOM::HTMLGenericFormElementImpl::isControl):
69         (DOM::HTMLGenericFormElementImpl::isEnabled):
70         (DOM::HTMLInputElementImpl::isChecked):
71         * khtml/rendering/render_theme.cpp:
72         (khtml::RenderTheme::isChecked):
73         (khtml::RenderTheme::isEnabled):
74         * khtml/xml/dom_nodeimpl.h:
75         (DOM::NodeImpl::isControl):
76         (DOM::NodeImpl::isEnabled):
77         (DOM::NodeImpl::isChecked):
78
79 2005-07-28  Beth Dakin  <bdakin@apple.com>
80
81         This is a fix for <rdar://problem/4190684>. Hyatt and I
82         (okay, mostly Hyatt) wrote this for Cayenne so that they
83         can change the value of a style of a rule and have everything
84         update dynamically without causing a crash.         
85
86         Reviewed by Hyatt
87
88         Test cases added: (NONE)
89
90         * khtml/css/css_valueimpl.cpp:
91         (DOM::CSSMutableStyleDeclarationImpl::setChanged):
92
93 2005-07-28  Chris Blumenberg  <cblu@apple.com>
94
95         Moved non-AppKit related code from RenderThemeMac to RenderTheme so potentially other RenderTheme subclasses can inherit more behavior.
96
97         Reviewed by hyatt.
98
99         * khtml/rendering/render_theme.cpp:
100         (khtml::RenderTheme::baselinePosition):
101         (khtml::RenderTheme::isControlContainer):
102         (khtml::RenderTheme::sizeForFont):
103         (khtml::RenderTheme::setSizeFromFont):
104         (khtml::RenderTheme::setCheckboxSize):
105         (khtml::RenderTheme::adjustCheckboxStyle):
106         * khtml/rendering/render_theme.h:
107         * khtml/rendering/render_theme_mac.h:
108         * khtml/rendering/render_theme_mac.mm:
109         (khtml::RenderThemeMac::sizeForFont):
110
111 2005-07-28  David Hyatt  <hyatt@apple.com>
112
113         Make sure :focus is not matched when the window is not key.
114         This involved adding a check to the style selector and also
115         removing the hack from the painter that turned off outline:auto
116         drawing when the window wasn't key.
117
118         Added support for control tinting when the window resigns/becomes
119         key.
120         
121         Reviewed by john
122
123         * khtml/css/cssstyleselector.cpp:
124         (khtml::CSSStyleSelector::checkOneSelector):
125         * khtml/khtml_part.h:
126         (KHTMLPart::displaysWithFocusAttributes):
127         * khtml/rendering/render_theme.cpp:
128         (khtml::RenderTheme::paint):
129         (khtml::RenderTheme::isChecked):
130         (khtml::RenderTheme::isEnabled):
131         (khtml::RenderTheme::isFocused):
132         (khtml::RenderTheme::isPressed):
133         * khtml/rendering/render_theme.h:
134         (khtml::RenderTheme::controlSupportsTints):
135         * khtml/rendering/render_theme_mac.h:
136         * khtml/rendering/render_theme_mac.mm:
137         (khtml::RenderThemeMac::controlSupportsTints):
138         * kwq/KWQKHTMLPart.mm:
139         (KWQKHTMLPart::setDisplaysWithFocusAttributes):
140         * kwq/KWQPainter.h:
141         (QPainter::updatingControlTints):
142         (QPainter::setUpdatingControlTints):
143         * kwq/KWQPainter.mm:
144         (QPainter::QPainter):
145         (QPainter::initFocusRing):
146         (QPainter::addFocusRingRect):
147         (QPainter::drawFocusRing):
148         * kwq/WebCoreBridge.mm:
149         (-[WebCoreBridge drawRect:]):
150
151 2005-07-27  Justin Garcia  <justin.garcia@apple.com>
152
153         Reviewed by ken
154         
155         Fix for <rdar://problems/4038408&4154187&4125381&4125087> 
156             Mail: Editing at the bottom of a quoted block makes the text blue in certain cases
157
158         Test cases added:
159         * layout-tests/editing/deleting/delete-4038408-fix-expected.txt: Added.
160         * layout-tests/editing/deleting/delete-4038408-fix.html: Added.
161
162         * khtml/editing/delete_selection_command.cpp:
163         (khtml::DeleteSelectionCommand::saveTypingStyleState):
164         (khtml::DeleteSelectionCommand::calculateTypingStyleAfterDelete):
165         (khtml::DeleteSelectionCommand::clearTransientState):
166         * khtml/editing/delete_selection_command.h:
167
168 2005-07-27  Geoffrey Garen  <ggaren@apple.com>
169
170         - added test case for http://bugzilla.opendarwin.org/show_bug.cgi?id=4147
171         Array.toString() and toLocaleString() improvements from KDE KJS
172         
173         Test cases added:
174
175         * layout-tests/fast/js/toString-overrides-expected.txt: Added.
176         * layout-tests/fast/js/toString-overrides.html: Added.
177
178 2005-07-27  Beth Dakin  <bdakin@apple.com>
179         Fix submitted by: Andrew Wellington <proton@wiretapped.net>
180         Reviewed by Beth Dakin.
181
182         This is a fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=3406 and 
183         <rdar://problem/3204011>. It does not solve all of the problems with
184         text-transform: capitalize, but it does fix some of the more notable 
185         problems regarding apostrophes (like on amazon.com), and does not cause 
186         any regressions (i.e., some things about text-transform are still wrong and some
187         of those things are wrong in different ways than they were wrong before, but 
188         the patch does not seem to cause anything that was right to be newly
189         wrong.
190
191         Test cases added: another text-transform test, see below
192
193         * khtml/xml/dom_stringimpl.cpp: Here is the fix.
194         (DOM::DOMStringImpl::capitalize):
195         * layout-tests/css1/text_properties/text-transCapitalize-expected.txt: Added. New test case.
196         * layout-tests/css1/text_properties/text-transCapitalize.html: Added. New test case.
197         * layout-tests/css1/text_properties/text_transform-expected.txt: New expected results...
198                                 here are some instances where things were wrong before but are
199                                 wrong in new ways now.
200
201 2005-07-27  Geoffrey Garen  <ggaren@apple.com>
202
203         Test cases added:
204
205         * layout-tests/fast/js/date-big-setdate-expected.txt: Added.
206         * layout-tests/fast/js/date-big-setdate.html: Added.
207
208 2005-07-27  David Hyatt  <hyatt@apple.com>
209
210         Remove the "enforce a square size" rule for checkboxes. WinIE
211         doesn't do this, and I'm not sure where I came up with it.
212
213         Fix a bug in isFocusable that was causing disabled form
214         controls with no corresponding widget to still get focus!
215         (This bug affected my new checkbox but also <input type=image>
216         and the HTML4 button!)
217
218         Reviewed by ggaren
219
220         * khtml/html/html_formimpl.cpp:
221         * khtml/rendering/render_theme_mac.mm:
222
223 2005-07-27  Geoffrey Garen  <ggaren@apple.com>
224         -added testcase for http://bugzilla.opendarwin.org/show_bug.cgi?id=3759
225         Date object enhancements
226         
227         Reviewed by darin.
228
229         Test cases added:
230
231         * layout-tests/fast/js/date-preserve-milliseconds-expected.txt: Added.
232         * layout-tests/fast/js/date-preserve-milliseconds.html: Added.
233
234 2005-07-26  Justin Garcia  <justin.garcia@apple.com>
235
236         Patch by Trey Matteson <trey@usa.net>
237         
238         Reviewed by hyatt.
239     
240         Fixed <rdar://problem/4083496> some elements draw selection when printing
241         Also listed as <http://bugzilla.opendarwin.org/show_bug.cgi?id=3992>
242         
243         Simply added tests to prevent selection drawing when printing.
244         
245         * khtml/rendering/render_block.cpp:
246         (khtml::RenderBlock::paintObject):
247         * khtml/rendering/render_canvasimage.cpp:
248         (RenderCanvasImage::paint):
249         * khtml/rendering/render_image.cpp:
250         (RenderImage::paint):
251         * khtml/rendering/render_replaced.cpp:
252         (RenderWidget::paint):
253
254 2005-07-26  Justin Garcia  <justin.garcia@apple.com>
255
256         Reviewed by darin
257         
258         Added forward declarations to fix new gcc4 errors
259         
260         * khtml/ecma/kjs_window.h:
261         * khtml/xml/dom_elementimpl.h:
262         * kwq/KWQMapImpl.h:
263
264 2005-07-26  David Hyatt  <hyatt@apple.com>
265
266         Land current checkbox work.  The checkbox can now check/uncheck,
267         supports looking pressed, and can dynamically enable/disable.
268
269         Entire patch reviewed by darin, portions reviewed by
270         sullivan as well.
271
272         * khtml/css/cssstyleselector.cpp:
273         (khtml::CSSStyleSelector::adjustRenderStyle):
274         * khtml/html/html_formimpl.cpp:
275         (DOM::HTMLGenericFormElementImpl::parseMappedAttribute):
276         (DOM::HTMLInputElementImpl::click):
277         (DOM::HTMLInputElementImpl::setChecked):
278         (DOM::HTMLInputElementImpl::defaultEventHandler):
279         * khtml/rendering/render_block.cpp:
280         (khtml::RenderBlock::baselinePosition):
281         * khtml/rendering/render_box.cpp:
282         (RenderBox::paintBoxDecorations):
283         (RenderBox::getAbsoluteRepaintRect):
284         * khtml/rendering/render_object.cpp:
285         (RenderObject::paintOutline):
286         (RenderObject::setStyle):
287         * khtml/rendering/render_style.h:
288         (khtml::RenderStyle::hasAppearance):
289         (khtml::RenderStyle::resetBorder):
290         * khtml/rendering/render_theme.cpp:
291         (khtml::RenderTheme::baselinePosition):
292         (khtml::RenderTheme::isChecked):
293         (khtml::RenderTheme::isEnabled):
294         (khtml::RenderTheme::isFocused):
295         (khtml::RenderTheme::isPressed):
296         * khtml/rendering/render_theme.h:
297         (khtml::RenderTheme::RenderTheme):
298         (khtml::RenderTheme::~RenderTheme):
299         (khtml::RenderTheme::isControlContainer):
300         (khtml::RenderTheme::adjustRepaintRect):
301         * khtml/rendering/render_theme_mac.h:
302         (khtml::RenderThemeMac::~RenderThemeMac):
303         * khtml/rendering/render_theme_mac.mm:
304         (khtml::RenderThemeMac::RenderThemeMac):
305         (khtml::RenderThemeMac::adjustRepaintRect):
306         (khtml::RenderThemeMac::inflateRect):
307         (khtml::RenderThemeMac::updateCheckedState):
308         (khtml::RenderThemeMac::updateEnabledState):
309         (khtml::RenderThemeMac::updateFocusedState):
310         (khtml::RenderThemeMac::updatePressedState):
311         (khtml::RenderThemeMac::baselinePosition):
312         (khtml::RenderThemeMac::isControlContainer):
313         (khtml::RenderThemeMac::controlSizeForFont):
314         (khtml::RenderThemeMac::setSizeFromFont):
315         (khtml::RenderThemeMac::setControlSize):
316         (khtml::RenderThemeMac::adjustCheckboxStyle):
317         (khtml::RenderThemeMac::paintCheckbox):
318         (khtml::RenderThemeMac::checkboxSizes):
319         (khtml::RenderThemeMac::checkboxMargins):
320         (khtml::RenderThemeMac::setCheckboxSize):
321         (khtml::RenderThemeMac::setCheckboxCellState):
322         * khtml/xml/dom_nodeimpl.cpp:
323         (DOM::ContainerNodeImpl::setFocus):
324         (DOM::ContainerNodeImpl::setActive):
325
326 2005-07-26  Eric Seidel  <eseidel@apple.com>
327
328         Reviewed by darin.
329
330         * WebCore.xcodeproj/project.pbxproj: Removed unused C++ DOM
331         * khtml/dom/css_rule.cpp: Removed.
332         * khtml/dom/css_stylesheet.cpp: Removed.
333         * khtml/dom/css_value.cpp: Removed.
334         * khtml/dom/dom2_range.cpp: Removed.
335         * khtml/dom/dom2_views.cpp: Removed.
336         * khtml/dom/dom2_views.h: Removed.
337         * khtml/dom/dom_core.h: Removed.
338         * khtml/dom/dom_doc.cpp: Removed.
339         * khtml/dom/dom_doc.h: Removed.
340         * khtml/dom/dom_element.cpp: Removed.
341         * khtml/dom/dom_element.h: Removed.
342         * khtml/dom/dom_html.h: Removed.
343         * khtml/dom/dom_node.cpp: Removed.
344         * khtml/dom/dom_text.cpp: Removed.
345         * khtml/dom/dom_text.h: Removed.
346         * khtml/dom/dom_xml.cpp: Removed.
347         * khtml/dom/dom_xml.h: Removed.
348         * khtml/dom/html_base.cpp: Removed.
349         * khtml/dom/html_base.h: Removed.
350         * khtml/dom/html_block.cpp: Removed.
351         * khtml/dom/html_block.h: Removed.
352         * khtml/dom/html_document.cpp: Removed.
353         * khtml/dom/html_document.h: Removed.
354         * khtml/dom/html_element.cpp: Removed.
355         * khtml/dom/html_element.h: Removed.
356         * khtml/dom/html_form.cpp: Removed.
357         * khtml/dom/html_form.h: Removed.
358         * khtml/dom/html_head.cpp: Removed.
359         * khtml/dom/html_head.h: Removed.
360         * khtml/dom/html_image.cpp: Removed.
361         * khtml/dom/html_image.h: Removed.
362         * khtml/dom/html_inline.cpp: Removed.
363         * khtml/dom/html_inline.h: Removed.
364         * khtml/dom/html_list.cpp: Removed.
365         * khtml/dom/html_list.h: Removed.
366         * khtml/dom/html_misc.cpp: Removed.
367         * khtml/dom/html_misc.h: Removed.
368         * khtml/dom/html_object.cpp: Removed.
369         * khtml/dom/html_object.h: Removed.
370         * khtml/dom/html_table.cpp: Removed.
371         * khtml/dom/html_table.h: Removed.
372         This removes unused C++ DOM files from both the project and
373         the repository.  There are a few left (css_, dom_) which will
374         need to be cleaned over time.
375
376 2005-07-26  John Sullivan  <sullivan@apple.com>
377
378         Reviewed by Chris Blumenberg.
379
380         Test cases added: none, only affects Safari autofill
381         
382         - more work to wean form-related SPI from NSView. All that's left (but this is a big "all")
383         is viewForElement: and elementForView:
384
385         * kwq/WebCoreBridge.h:
386         Rename control:textView:doCommandBySelector: to textField:doCommandBySelector:, and changed
387         to take DOMHTMLInputElement* rather than NSControl* and NSTextView*
388
389         * kwq/KWQTextField.mm:
390         (-[KWQTextFieldController control:textView:doCommandBySelector:]):
391         call renamed bridge method, passing DOMElement* instead of NSView*
392
393 2005-07-26  John Sullivan  <sullivan@apple.com>
394
395         Reviewed by Darin Adler.
396
397         Test cases added: none, only affects Safari autofill
398         
399         - big hunk of weaning form-related SPI from NSView; autofill continues to
400         work (but only on tip of tree Safari)        
401
402         * kwq/KWQTextArea.mm:
403         (-[KWQTextArea textDidChange:]):
404         call renamed bridge method, passing DOMElement* instead of NSView*
405         
406         * kwq/KWQTextField.mm:
407         (-[KWQTextFieldController controlTextDidBeginEditing:]):
408         call renamed bridge method, passing DOMElement* instead of NSView*
409         (-[KWQTextFieldController controlTextDidEndEditing:]):
410         ditto
411         (-[KWQTextFieldController controlTextDidChange:]):
412         ditto
413         (-[KWQTextFieldController control:textShouldBeginEditing:]):
414         don't call through to bridge form-delegate-related method; I deleted it because it was
415         not being used
416         (-[KWQTextFieldController control:textShouldEndEditing:]):
417         ditto
418         (-[KWQTextFieldController textView:shouldHandleEvent:]):
419         call renamed bridge method, passing DOMElement* instead of NSView*
420         
421         * kwq/WebCoreBridge.h:
422         Remove textShouldBeginEditing and textShouldEndEditing methods since they weren't being used.
423         Rename other methods and made them take DOMElement* instead of NSView*
424
425 2005-07-26  Maciej Stachowiak  <mjs@apple.com>
426
427         - imported much of the w3c DOM test suite:
428
429         DOM Level 1 Core (html version)
430         DOM Level 2 Core (html version)
431         DOM Level 2 Events (html version)
432         DOM Level 2 HTML (html version)
433
434         For now I left out the XHTML versions.
435
436         * layout-tests/dom/html/level1/core/*
437         * layout-tests/dom/html/level2/core/*
438         * layout-tests/dom/html/level2/events/*
439         * layout-tests/dom/html/level2/html/*
440         
441 2005-07-25  Vicki Murley  <vicki@apple.com>
442
443         Reviewed by Beth Dakin.
444
445         - fixed <rdar://problem/4011544> selecting an item from a <select> menu with 
446         the mouse doesn't place the focus on the menu
447         
448         Test cases added: 
449         * manual-tests/focus-select-when-clicked.html: Added.
450
451         * kwq/KWQComboBox.mm:
452         (-[KWQPopUpButton needsPanelToBecomeKey]): override this NSView method to return YES
453
454 2005-07-24  Maciej Stachowiak  <mjs@apple.com>
455
456         Reviewed by Darin.
457
458         - http://bugzilla.opendarwin.org/show_bug.cgi?id=4124
459         (change JavaScript property access to avoid double lookup)
460
461         - 10% speedup on JavaScript iBench
462         - 5% speedup on 24fun BenchJS benchmark
463
464         Changed all get methods to getOwnProperty - they are no longer responsible for
465         prototype lookup, and determine if the property was found as a side efect.
466
467         Also miscellaneous code cleanup.
468         
469         * khtml/ecma/kjs_css.cpp:
470         (KJS::DOMCSSStyleDeclaration::getOwnProperty):
471         (KJS::DOMStyleSheet::getOwnProperty):
472         (KJS::DOMStyleSheetList::getOwnProperty):
473         (KJS::DOMMediaList::getOwnProperty):
474         (KJS::DOMCSSStyleSheet::getOwnProperty):
475         (KJS::DOMCSSRuleList::getOwnProperty):
476         (KJS::DOMCSSRule::getOwnProperty):
477         (KJS::DOMCSSRule::getValueProperty):
478         (KJS::CSSRuleConstructor::getOwnProperty):
479         (KJS::DOMCSSValue::getOwnProperty):
480         (KJS::CSSValueConstructor::getOwnProperty):
481         (KJS::DOMCSSPrimitiveValue::getOwnProperty):
482         (KJS::CSSPrimitiveValueConstructor::getOwnProperty):
483         (KJS::DOMCSSValueList::getOwnProperty):
484         (KJS::DOMRGBColor::getOwnProperty):
485         (KJS::DOMRect::getOwnProperty):
486         (KJS::DOMCounter::getOwnProperty):
487         * khtml/ecma/kjs_css.h:
488         * khtml/ecma/kjs_dom.cpp:
489         (KJS::DOMNode::getOwnProperty):
490         (KJS::DOMNodeList::getOwnProperty):
491         (KJS::DOMAttr::getOwnProperty):
492         (KJS::DOMDocument::getOwnProperty):
493         (KJS::DOMElement::getOwnProperty):
494         (KJS::DOMDocumentType::getOwnProperty):
495         (KJS::DOMNamedNodeMap::getOwnProperty):
496         (KJS::DOMProcessingInstruction::getOwnProperty):
497         (KJS::DOMNotation::getOwnProperty):
498         (KJS::DOMEntity::getOwnProperty):
499         (KJS::NodeConstructor::getOwnProperty):
500         (KJS::DOMExceptionConstructor::getOwnProperty):
501         (KJS::DOMNamedNodesCollection::getOwnProperty):
502         (KJS::DOMCharacterData::getOwnProperty):
503         * khtml/ecma/kjs_dom.h:
504         * khtml/ecma/kjs_events.cpp:
505         (KJS::EventConstructor::getOwnProperty):
506         (KJS::DOMEvent::getOwnProperty):
507         (KJS::EventExceptionConstructor::getOwnProperty):
508         (KJS::DOMUIEvent::getOwnProperty):
509         (KJS::DOMMouseEvent::getOwnProperty):
510         (KJS::DOMKeyboardEvent::getOwnProperty):
511         (KJS::MutationEventConstructor::getOwnProperty):
512         (KJS::DOMMutationEvent::getOwnProperty):
513         (KJS::DOMWheelEvent::getOwnProperty):
514         (KJS::Clipboard::getOwnProperty):
515         * khtml/ecma/kjs_events.h:
516         * khtml/ecma/kjs_html.cpp:
517         (KJS::HTMLDocument::getOwnProperty):
518         (KJS::KJS::HTMLElement::getOwnProperty):
519         (KJS::KJS::HTMLCollection::getOwnProperty):
520         (KJS::KJS::HTMLSelectCollection::getOwnProperty):
521         (KJS::Image::getOwnProperty):
522         (KJS::Context2D::getOwnProperty):
523         (KJS::Gradient::getOwnProperty):
524         (KJS::ImagePattern::getOwnProperty):
525         * khtml/ecma/kjs_html.h:
526         * khtml/ecma/kjs_navigator.cpp:
527         (KJS::Plugin::Plugin):
528         (KJS::Navigator::getOwnProperty):
529         (KJS::Plugins::getOwnProperty):
530         (KJS::MimeTypes::getOwnProperty):
531         (KJS::Plugin::getOwnProperty):
532         (KJS::MimeType::getOwnProperty):
533         * khtml/ecma/kjs_navigator.h:
534         * khtml/ecma/kjs_range.cpp:
535         (KJS::DOMRange::getOwnProperty):
536         (KJS::RangeConstructor::getOwnProperty):
537         * khtml/ecma/kjs_range.h:
538         * khtml/ecma/kjs_traversal.cpp:
539         (KJS::DOMNodeIterator::getOwnProperty):
540         (KJS::NodeFilterConstructor::getOwnProperty):
541         (KJS::DOMTreeWalker::getOwnProperty):
542         * khtml/ecma/kjs_traversal.h:
543         * khtml/ecma/kjs_views.cpp:
544         (KJS::DOMAbstractView::getOwnProperty):
545         * khtml/ecma/kjs_views.h:
546         * khtml/ecma/kjs_window.cpp:
547         (KJS::Screen::getOwnProperty):
548         (KJS::Window::~Window):
549         (KJS::Window::getOwnProperty):
550         (KJS::Window::put):
551         (KJS::FrameArray::getOwnProperty):
552         (KJS::Location::Location):
553         (KJS::Location::getOwnProperty):
554         (KJS::Location::put):
555         (KJS::Selection::Selection):
556         (KJS::Selection::getOwnProperty):
557         (KJS::BarInfo::getOwnProperty):
558         (KJS::History::getOwnProperty):
559         * khtml/ecma/kjs_window.h:
560         * khtml/ecma/xmlhttprequest.cpp:
561         (KJS::XMLHttpRequest::getOwnProperty):
562         * khtml/ecma/xmlhttprequest.h:
563
564 2005-07-25  Justin Garcia  <justin.garcia@apple.com>
565
566         Reviewed by hyatt
567         
568         Backing out a change that made the caret invisible in Mail in certain situations.
569
570         * khtml/rendering/render_block.cpp:
571         (khtml::RenderBlock::paintObject):
572
573 2005-07-25  Justin Garcia  <justin.garcia@apple.com>
574         
575         Added a manual test for a recent change to WebKit
576
577         Test cases added:
578         * manual-tests/deleteToEndOfLine.html: Added.
579
580 2005-07-24  Justin Garcia  <justin.garcia@apple.com>
581
582         Patch by Anders Carlsson <andersca@mac.com>
583
584         Reviewed by hyatt
585         
586         - <http://bugzilla.opendarwin.org/show_bug.cgi?id=3615> canvas transform matrix does not apply to patterns
587         Fill and stroke patterns are created in the respective fill and stroke functions using the current CTM.
588
589         * khtml/ecma/kjs_html.cpp:
590         (KJS::KJS::Context2DFunction::call):
591         (KJS::Context2D::updateFillImagePattern):
592         (KJS::Context2D::updateStrokeImagePattern):
593         (KJS::Context2D::putValueProperty):
594         (KJS::Context2D::Context2D):
595         (KJS::_rh):
596         (KJS::ImagePattern::createPattern):
597         * khtml/ecma/kjs_html.h:
598
599 2005-07-24  Justin Garcia  <justin.garcia@apple.com>
600
601         Reviewed by kevin.
602
603         Fixes make clean problem introduced in xcode2.1 transition
604
605         * Makefile.am:
606
607 2005-07-23  Justin Garcia  <justin.garcia@apple.com>
608
609         Adding a manual test for <http://bugzilla.opendarwin.org/show_bug.cgi?id=3862>
610
611         Test cases added:
612         * manual-tests/bidi-visible-control-characters.html: Added.
613
614 2005-07-22  David Hyatt  <hyatt@apple.com>
615
616         Put back in the <script src="foo"/> self-closing tag quirk in HTML.  Unfortunately
617         Dashboard widgets are dependent on this quirk.
618
619         Reviewed by mjs
620
621         * khtml/html/htmltokenizer.cpp:
622         (khtml::HTMLTokenizer::parseTag):
623
624 2005-07-22  John Sullivan  <sullivan@apple.com>
625
626         Reviewed by Chris Blumenberg.
627         
628         Test cases added: none, this only affects Safari autocomplete; it doesn't affect any
629         web pages.
630
631         - some changes in the direction of weaning all the form-related SPI from NSView
632
633         * kwq/DOMExtensions.h:
634         added -[DOMHTMLInputElement isTextField]
635         * kwq/DOMHTML.mm:
636         (-[DOMHTMLInputElement isTextField]):
637         new method that returns YES if this element is one of the types that's represented
638         by a text field (as opposed to a button, slider, etc.). I could have put this method
639         in Safari, but it seems useful for other WebKit clients.
640
641         * kwq/WebCoreBridge.h:
642         * kwq/WebCoreBridge.mm:
643         (-[WebCoreBridge viewForElement:]):
644         added viewForElement: as a stopgap measure. This allowed me to convert controlsInForm:
645         to return DOMElements rather than NSViews, while keeping autocomplete working in
646         Safari tip of tree. When I finish the SPI conversion I'll delete this method. Note that
647         from this point on, autocomplete will not work in Tiger Safari with tip of tree WebKit
648         (it will always fail to find anything to autocomplete)
649         (-[WebCoreBridge controlsInForm:]):
650         now returns an array of DOMElement* rather than an array of NSView*
651
652 2005-07-21  Geoffrey Garen  <ggaren@apple.com>
653
654         * WebCore.pbproj/project.pbxproj: Removed.
655
656 2005-07-21  Geoffrey Garen  <ggaren@apple.com>
657
658         * WebCore.xcodeproj/.cvsignore: Added.
659
660 2005-07-21  Geoffrey Garen  <ggaren@apple.com>
661
662         * WebCore.xcodeproj/project.pbxproj: Added.
663
664 2005-07-21  Geoffrey Garen  <ggaren@apple.com>
665
666         * Makefile.am:
667
668 2005-07-21  Beth Dakin  <bdakin@apple.com>
669
670         Reviewed by Hyatt.
671         
672         -fix for <rdar://problem/4169069> Also fixes the behavior of generated content
673         when it is specified within a list element.
674
675         Test cases added: (NONE)
676
677         * khtml/rendering/render_block.cpp:
678         (khtml::RenderBlock::setStyle): Added loop to skip over list elements hen updating 
679                                         generatedcontent.
680         (khtml::RenderBlock::updateFirstLetter): Added clause so that the function updates the 
681                                                 first letter instead of just creating it.
682         * khtml/rendering/render_inline.cpp:
683         (RenderInline::setStyle): Added loop to skip over list elements when updating generated
684                                 content.
685
686 2005-07-20  Maciej Stachowiak  <mjs@apple.com>
687
688         Reviewed by Geoff.
689
690         - fix handling of special properties of the HTML document object. Now we
691         completely match IE.
692
693         Test cases added:
694         * layout-tests/fast/dom/HTMLDocument/document-special-properties.html:
695         Added; new exhaustive test case.
696         * layout-tests/fast/dom/HTMLDocument/document-special-properties-expected.txt: Added.
697
698         * khtml/ecma/kjs_html.cpp:
699         (KJS::HTMLDocument::hasOwnProperty): Check for named and doc extra named
700         items.
701         (KJS::HTMLDocument::get): Return the appropriate element, window or collection
702         by name; give such named items precedence over built-in and custom properties.
703         * khtml/ecma/kjs_window.cpp:
704         (KJS::Window::get): Replace quirky &* idiom with call to get().
705         * khtml/html/html_baseimpl.cpp:
706         (HTMLIFrameElementImpl::parseMappedAttribute): Track by name as a doc
707         extra named item.
708         (HTMLIFrameElementImpl::insertedIntoDocument): ditto
709         (HTMLIFrameElementImpl::removedFromDocument): ditto
710         * khtml/html/html_baseimpl.h:
711         * khtml/html/html_documentimpl.cpp:
712         (DOM::addItemToMap): Factored out from addNamedItem
713         (DOM::removeItemFromMap): Factored out from removeNamedItem
714         (DOM::HTMLDocumentImpl::addNamedItem): refactored
715         (DOM::HTMLDocumentImpl::removeNamedItem): refactored
716         (DOM::HTMLDocumentImpl::addDocExtraNamedItem): new method - maintains
717         a hashtable of the "extra" named items for a document, which are
718         iframes by name and applets and embeds by id.
719         (DOM::HTMLDocumentImpl::removeDocExtraNamedItem): ditto
720         (DOM::HTMLDocumentImpl::hasDocExtraNamedItem): ditto
721         * khtml/html/html_documentimpl.h:
722         * khtml/html/html_miscimpl.cpp:
723         (DOM::HTMLCollectionImpl::traverseNextItem): Remove support for
724         DOC_NAMEABLE_ITEMS collection - no longer needed.
725         (DOM::HTMLNameCollectionImpl::traverseNextItem): Add support for
726         DOCUMENT_NAMED_ITEMS, implementing the correct document rule.
727         * khtml/html/html_miscimpl.h:
728         (DOM::HTMLCollectionImpl::):
729         * khtml/html/html_objectimpl.cpp:
730         (DOM::HTMLAppletElementImpl::parseMappedAttribute): Track by id
731         as doc extra named item
732         (DOM::HTMLAppletElementImpl::insertedIntoDocument): ditto
733         (DOM::HTMLAppletElementImpl::removedFromDocument): ditto
734         (DOM::HTMLObjectElementImpl::parseMappedAttribute): ditto
735         (DOM::HTMLObjectElementImpl::insertedIntoDocument): ditto
736         (DOM::HTMLObjectElementImpl::removedFromDocument): ditto
737         * khtml/html/html_objectimpl.h:
738         * khtml/xml/dom_docimpl.cpp:
739         (DocumentImpl::nameableItems): removed - no longer used
740         (DocumentImpl::documentNamedItems): added
741         * khtml/xml/dom_docimpl.h:
742
743 2005-07-20  John Sullivan  <sullivan@apple.com>
744
745         Reviewed by Vicki Murley.
746         
747         - removed some form-related methods that weren't being used anywhere, in preparation
748         for weaning WebKit's WebFormDelegate protocol from NSView.
749
750         Test cases added: none, no behavior change
751
752         * kwq/KWQTextField.mm:
753         * kwq/WebCoreBridge.h:
754         removed these methods:
755         -control:didFailToFormatString:errorDescription:
756         -control:didFailToValidatePartialString:errorDescription:
757         -control:isValidObject:
758
759 2005-07-20  Adele Peterson  <adele@apple.com>
760
761         Rolling fix for <rdar://problem/4046602> back in.
762
763     2005-03-11  David Harrison  <harrison@apple.com>
764         
765         Reviewed by Darin.
766         
767         <rdar://problem/4046602> WebCore invokes undefined behavior when the spell checker isn't running
768
769         * kwq/KWQKHTMLPart.mm:
770         (KWQKHTMLPart::advanceToNextMisspelling):
771         (KWQKHTMLPart::markMisspellings):
772         Nil check checker.
773
774 2005-07-20  Adele Peterson  <adele@apple.com>
775
776         Reviewed by Darin.
777
778         - fixed <rdar://problem/4181058> 8C45: Safari repro crash with document.write (DOM::NodeImpl::dispatchEvent)
779
780         Test cases added:
781         * manual-tests/textfield-onblur.html: Added.
782         
783         * kwq/KWQTextField.mm: (-[KWQTextFieldController setHasFocus:]): added nil check for widget, since it can get deleted during an event.
784
785 2005-07-20  Maciej Stachowiak  <mjs@apple.com>
786
787         Patch from Trey Matteson <trey@usa.net>, reviewed by me.
788
789         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=3956
790         some of WebKit builds with symbols, some doesn't
791         
792         * WebCore.pbproj/project.pbxproj: Generate symbols even for
793         Deployment.
794
795 2005-07-19  Maciej Stachowiak  <mjs@apple.com>
796
797         Reviewed by Kevin.
798
799         - fixed some mistakes in my previous checkin
800
801         * khtml/html/html_objectimpl.cpp:
802         (DOM::HTMLAppletElementImpl::parseMappedAttribute): Take name attribute out
803         of the "do nothing" case (duh).
804         * layout-tests/fast/dom/Window/window-special-properties-expected.txt: Update
805         for change to the text at the top.
806
807 2005-07-18  Maciej Stachowiak  <mjs@apple.com>
808
809         Reviewed by Darin.
810
811         - fix handling of special properties of the Window object. now we
812         almost completely match Win IE.
813         
814         Test cases added: 
815         * layout-tests/fast/dom/Window/window-special-properties-expected.txt: Added.
816         * layout-tests/fast/dom/Window/window-special-properties.html: Added.
817
818         * khtml/ecma/kjs_html.cpp:
819         (KJS::HTMLDocument::hasOwnProperty):
820         (KJS::HTMLDocument::tryGet):
821         * khtml/ecma/kjs_window.cpp:
822         (KJS::Window::get):
823         (KJS::Window::hasOwnProperty):
824         * khtml/html/html_documentimpl.cpp:
825         (DOM::HTMLDocumentImpl::addNamedItem):
826         (DOM::HTMLDocumentImpl::removeNamedItem):
827         (DOM::HTMLDocumentImpl::hasNamedItem):
828         * khtml/html/html_documentimpl.h:
829         * khtml/html/html_formimpl.cpp:
830         (DOM::HTMLFormElementImpl::attach):
831         (DOM::HTMLFormElementImpl::insertedIntoDocument):
832         (DOM::HTMLFormElementImpl::removedFromDocument):
833         (DOM::HTMLFormElementImpl::parseMappedAttribute):
834         * khtml/html/html_formimpl.h:
835         * khtml/html/html_imageimpl.cpp:
836         (HTMLImageElementImpl::parseMappedAttribute):
837         (HTMLImageElementImpl::attach):
838         (HTMLImageElementImpl::insertedIntoDocument):
839         (HTMLImageElementImpl::removedFromDocument):
840         * khtml/html/html_imageimpl.h:
841         * khtml/html/html_miscimpl.cpp:
842         (DOM::HTMLCollectionImpl::HTMLCollectionImpl):
843         (DOM::HTMLCollectionImpl::traverseNextItem):
844         (DOM::HTMLCollectionImpl::namedItem):
845         (DOM::HTMLNameCollectionImpl::HTMLNameCollectionImpl):
846         (DOM::HTMLNameCollectionImpl::traverseNextItem):
847         (DOM::HTMLFormCollectionImpl::getNamedFormItem):
848         (DOM::HTMLFormCollectionImpl::nextNamedItem):
849         * khtml/html/html_miscimpl.h:
850         (DOM::HTMLCollectionImpl::):
851         * khtml/html/html_objectimpl.cpp:
852         (DOM::HTMLAppletElementImpl::parseMappedAttribute):
853         (DOM::HTMLAppletElementImpl::insertedIntoDocument):
854         (DOM::HTMLAppletElementImpl::removedFromDocument):
855         (DOM::HTMLEmbedElementImpl::parseMappedAttribute):
856         (DOM::HTMLEmbedElementImpl::attach):
857         (DOM::HTMLEmbedElementImpl::insertedIntoDocument):
858         (DOM::HTMLEmbedElementImpl::removedFromDocument):
859         (DOM::HTMLObjectElementImpl::parseMappedAttribute):
860         (DOM::HTMLObjectElementImpl::detach):
861         (DOM::HTMLObjectElementImpl::insertedIntoDocument):
862         (DOM::HTMLObjectElementImpl::removedFromDocument):
863         * khtml/html/html_objectimpl.h:
864         * khtml/xml/dom_docimpl.cpp:
865         (DocumentImpl::windowNamedItems):
866         * khtml/xml/dom_docimpl.h:
867
868 2005-07-19  Geoffrey Garen  <ggaren@apple.com>
869
870         -rolled in patch by Anders Carlsson <andersca@mac.com> for
871         http://bugzilla.opendarwin.org/show_bug.cgi?id=3751
872         REGRESSION: affects Blogger, GMail & Wikipedia: empty textarea's which should have content
873         
874         Reviewed by mjs.
875
876         * khtml/html/html_formimpl.cpp:
877         (DOM::HTMLTextAreaElementImpl::defaultValue):
878         (DOM::HTMLTextAreaElementImpl::attach):
879         * khtml/html/html_formimpl.h:
880
881         Test cases added:
882         * manual-tests/textarea-after-stylesheet-link.html: Added.
883         Test is manual because the result doesn't show up in DumpRenderTree
884
885 2005-07-19  Justin Garcia  <justin.garcia@apple.com>
886         
887         Added a virtual deconstructor to fix gcc4 build warning
888
889         * khtml/rendering/render_theme.h:
890         (khtml::RenderTheme::~RenderTheme):
891
892 2005-07-19  David Hyatt  <hyatt@apple.com>
893
894         Adding support for the "checkbox" appearance value.  This is not yet implemented, but the
895         methods are now stubbed out and will get called.
896
897         Reviewed by mjs
898
899         * WebCore.pbproj/project.pbxproj:
900         * khtml/css/cssstyleselector.cpp:
901         (khtml::CSSStyleSelector::adjustRenderStyle):
902         (khtml::CSSStyleSelector::applyProperty):
903         * khtml/css/html4.css:
904         * khtml/html/html_formimpl.cpp:
905         (DOM::HTMLInputElementImpl::createRenderer):
906         * khtml/rendering/render_box.cpp:
907         (RenderBox::paintBoxDecorations):
908         * khtml/rendering/render_theme.cpp: Added.
909         (khtml::RenderTheme::adjustStyle):
910         (khtml::RenderTheme::paint):
911         * khtml/rendering/render_theme.h: Added.
912         * khtml/rendering/render_theme_mac.h: Added.
913         * khtml/rendering/render_theme_mac.mm: Added.
914         (khtml::theme):
915         (khtml::RenderThemeMac::adjustCheckboxStyle):
916         (khtml::RenderThemeMac::paintCheckbox):
917
918 2005-07-19  David Hyatt  <hyatt@apple.com>
919
920         Fix performance regressions from attribute QName landing.
921         
922         Reviewed by mjs
923
924         * khtml/html/htmltokenizer.cpp:
925         (khtml::Token::addAttribute):
926         (khtml::HTMLTokenizer::write):
927
928         Make sure attributes have a faster constructor that can avoid the copy of QualifiedNames.
929
930         Make sure to grab the part from the document outside the loop, so that it is not fetched
931         over and over again for every character in the source.
932         
933         * khtml/rendering/render_block.cpp:
934         (khtml::RenderBlock::paintObject):
935
936         Only call paintCaret if the block is actually editable.
937         
938         * khtml/xml/dom_atomicstring.h:
939         (DOM::operator!=):
940         * khtml/xml/dom_elementimpl.h:
941         (DOM::AttributeImpl::AttributeImpl):
942         (DOM::AttributeImpl::~AttributeImpl):
943         (DOM::MappedAttributeImpl::MappedAttributeImpl):
944
945         Add != comparison operator with a char* to speed up the / check for attribute invalidity.
946         
947 2005-07-19  Vicki Murley  <vicki@apple.com>
948
949         Reviewed by Maciej.
950  
951         Test cases added: 
952         * manual-tests/scrollIntoView-horizontal.html: Added.
953         * manual-tests/scrollIntoView-vertical.html: Added.
954
955         * khtml/xml/dom_elementimpl.h:        
956         * khtml/xml/dom_elementimpl.cpp:
957         (ElementImpl::scrollIntoView): Added.
958         * khtml/ecma/kjs_dom.h:
959         (KJS::DOMNode::):
960         (KJS::DOMElement::):
961         * khtml/ecma/kjs_dom.cpp:
962         (KJS::DOMElementProtoFunc::tryCall): glue for new scrollIntoView function
963
964 2005-07-19  Geoffrey Garen  <ggaren@apple.com>
965
966         - rolled in patch by opendarwin.org@mitzpettel.com for
967         http://bugzilla.opendarwin.org/show_bug.cgi?id=3838
968         Text runs unnecessarily split at EN L boundaries
969         
970         Reviewed by hyatt.
971
972         * khtml/rendering/bidi.cpp:
973         (khtml::RenderBlock::bidiReorderLine):
974
975         Lots of new test case results because previous results had inappropriately
976         split text runs.
977
978         * layout-tests/css1/basic/containment-expected.txt:
979         * layout-tests/css1/box_properties/border-expected.txt:
980         * layout-tests/css1/box_properties/border_bottom-expected.txt:
981         * layout-tests/css1/box_properties/border_bottom_inline-expected.txt:
982         * layout-tests/css1/box_properties/border_bottom_width-expected.txt:
983         * layout-tests/css1/box_properties/border_bottom_width_inline-expected.txt:
984         * layout-tests/css1/box_properties/border_inline-expected.txt:
985         * layout-tests/css1/box_properties/border_left-expected.txt:
986         * layout-tests/css1/box_properties/border_left_inline-expected.txt:
987         * layout-tests/css1/box_properties/border_left_width-expected.txt:
988         * layout-tests/css1/box_properties/border_left_width_inline-expected.txt:
989         * layout-tests/css1/box_properties/border_right-expected.txt:
990         * layout-tests/css1/box_properties/border_right_inline-expected.txt:
991         * layout-tests/css1/box_properties/border_right_width-expected.txt:
992         * layout-tests/css1/box_properties/border_right_width_inline-expected.txt:
993         * layout-tests/css1/box_properties/border_top-expected.txt:
994         * layout-tests/css1/box_properties/border_top_inline-expected.txt:
995         * layout-tests/css1/box_properties/border_top_width-expected.txt:
996         * layout-tests/css1/box_properties/border_top_width_inline-expected.txt:
997         * layout-tests/css1/box_properties/border_width-expected.txt:
998         * layout-tests/css1/box_properties/border_width_inline-expected.txt:
999         * layout-tests/css1/box_properties/clear_float-expected.txt:
1000         * layout-tests/css1/box_properties/float_elements_in_series-expected.txt:
1001         * layout-tests/css1/box_properties/float_margin-expected.txt:
1002         * layout-tests/css1/box_properties/float_on_text_elements-expected.txt:
1003         * layout-tests/css1/box_properties/height-expected.txt:
1004         * layout-tests/css1/box_properties/margin-expected.txt:
1005         * layout-tests/css1/box_properties/margin_bottom-expected.txt:
1006         * layout-tests/css1/box_properties/margin_bottom_inline-expected.txt:
1007         * layout-tests/css1/box_properties/margin_inline-expected.txt:
1008         * layout-tests/css1/box_properties/margin_left-expected.txt:
1009         * layout-tests/css1/box_properties/margin_left_inline-expected.txt:
1010         * layout-tests/css1/box_properties/margin_right-expected.txt:
1011         * layout-tests/css1/box_properties/margin_right_inline-expected.txt:
1012         * layout-tests/css1/box_properties/margin_top-expected.txt:
1013         * layout-tests/css1/box_properties/margin_top_inline-expected.txt:
1014         * layout-tests/css1/box_properties/padding-expected.txt:
1015         * layout-tests/css1/box_properties/padding_bottom-expected.txt:
1016         * layout-tests/css1/box_properties/padding_bottom_inline-expected.txt:
1017         * layout-tests/css1/box_properties/padding_inline-expected.txt:
1018         * layout-tests/css1/box_properties/padding_left-expected.txt:
1019         * layout-tests/css1/box_properties/padding_left_inline-expected.txt:
1020         * layout-tests/css1/box_properties/padding_right-expected.txt:
1021         * layout-tests/css1/box_properties/padding_right_inline-expected.txt:
1022         * layout-tests/css1/box_properties/padding_top-expected.txt:
1023         * layout-tests/css1/box_properties/padding_top_inline-expected.txt:
1024         * layout-tests/css1/box_properties/width-expected.txt:
1025         * layout-tests/css1/classification/display-expected.txt:
1026         * layout-tests/css1/color_and_background/background_position-expected.txt:
1027         * layout-tests/css1/conformance/forward_compatible_parsing-expected.txt:
1028         * layout-tests/css1/font_properties/font-expected.txt:
1029         * layout-tests/css1/font_properties/font_size-expected.txt:
1030         * layout-tests/css1/formatting_model/canvas-expected.txt:
1031         * layout-tests/css1/formatting_model/floating_elements-expected.txt:
1032         * layout-tests/css1/formatting_model/height_of_lines-expected.txt:
1033         * layout-tests/css1/formatting_model/inline_elements-expected.txt:
1034         * layout-tests/css1/formatting_model/replaced_elements-expected.txt:
1035         * layout-tests/css1/formatting_model/vertical_formatting-expected.txt:
1036         * layout-tests/css1/pseudo/anchor-expected.txt:
1037         * layout-tests/css1/text_properties/letter_spacing-expected.txt:
1038         * layout-tests/css1/text_properties/line_height-expected.txt:
1039         * layout-tests/css1/text_properties/text_indent-expected.txt:
1040         * layout-tests/css1/text_properties/vertical_align-expected.txt:
1041         * layout-tests/css1/text_properties/word_spacing-expected.txt:
1042         * layout-tests/css1/units/length_units-expected.txt:
1043         * layout-tests/editing/style/relative-font-size-change-001-expected.txt:
1044         * layout-tests/editing/style/relative-font-size-change-002-expected.txt:
1045         * layout-tests/editing/style/relative-font-size-change-003-expected.txt:
1046         * layout-tests/editing/style/relative-font-size-change-004-expected.txt:
1047         * layout-tests/editing/style/smoosh-styles-003-expected.txt:
1048         * layout-tests/fast/block/basic/018-expected.txt:
1049         * layout-tests/fast/block/float/002-expected.txt:
1050         * layout-tests/fast/block/float/021-expected.txt:
1051         * layout-tests/fast/block/float/023-expected.txt:
1052         * layout-tests/fast/block/float/024-expected.txt:
1053         * layout-tests/fast/block/float/029-expected.txt:
1054         * layout-tests/fast/block/float/030-expected.txt:
1055         * layout-tests/fast/block/margin-collapse/043-expected.txt:
1056         * layout-tests/fast/block/margin-collapse/101-expected.txt:
1057         * layout-tests/fast/block/positioning/060-expected.txt:
1058         * layout-tests/fast/block/positioning/auto/001-expected.txt:
1059         * layout-tests/fast/block/positioning/auto/002-expected.txt:
1060         * layout-tests/fast/block/positioning/auto/003-expected.txt:
1061         * layout-tests/fast/block/positioning/auto/004-expected.txt:
1062         * layout-tests/fast/block/positioning/auto/005-expected.txt:
1063         * layout-tests/fast/block/positioning/auto/006-expected.txt:
1064         * layout-tests/fast/clip/001-expected.txt:
1065         * layout-tests/fast/clip/002-expected.txt:
1066         * layout-tests/fast/clip/003-expected.txt:
1067         * layout-tests/fast/clip/004-expected.txt:
1068         * layout-tests/fast/clip/005-expected.txt:
1069         * layout-tests/fast/clip/006-expected.txt:
1070         * layout-tests/fast/clip/007-expected.txt:
1071         * layout-tests/fast/clip/008-expected.txt:
1072         * layout-tests/fast/clip/009-expected.txt:
1073         * layout-tests/fast/clip/010-expected.txt:
1074         * layout-tests/fast/clip/011-expected.txt:
1075         * layout-tests/fast/clip/012-expected.txt:
1076         * layout-tests/fast/clip/013-expected.txt:
1077         * layout-tests/fast/clip/014-expected.txt:
1078         * layout-tests/fast/clip/015-expected.txt:
1079         * layout-tests/fast/clip/016-expected.txt:
1080         * layout-tests/fast/css-generated-content/012-expected.txt:
1081         * layout-tests/fast/css/008-expected.txt:
1082         * layout-tests/fast/css/MarqueeLayoutTest-expected.txt:
1083         * layout-tests/fast/css/apple-prefix-expected.txt:
1084         * layout-tests/fast/dom/quadraticCurveTo-expected.txt:
1085         * layout-tests/fast/dynamic/noninlinebadness-expected.txt:
1086         * layout-tests/fast/encoding/utf-16-big-endian-expected.txt:
1087         * layout-tests/fast/encoding/utf-16-little-endian-expected.txt:
1088         * layout-tests/fast/flexbox/001-expected.txt:
1089         * layout-tests/fast/flexbox/004-expected.txt:
1090         * layout-tests/fast/flexbox/007-expected.txt:
1091         * layout-tests/fast/flexbox/008-expected.txt:
1092         * layout-tests/fast/flexbox/009-expected.txt:
1093         * layout-tests/fast/flexbox/010-expected.txt:
1094         * layout-tests/fast/flexbox/012-expected.txt:
1095         * layout-tests/fast/flexbox/013-expected.txt:
1096         * layout-tests/fast/flexbox/014-expected.txt:
1097         * layout-tests/fast/flexbox/015-expected.txt:
1098         * layout-tests/fast/flexbox/018-expected.txt:
1099         * layout-tests/fast/flexbox/019-expected.txt:
1100         * layout-tests/fast/flexbox/020-expected.txt:
1101         * layout-tests/fast/flexbox/021-expected.txt:
1102         * layout-tests/fast/flexbox/022-expected.txt:
1103         * layout-tests/fast/flexbox/023-expected.txt:
1104         * layout-tests/fast/flexbox/024-expected.txt:
1105         * layout-tests/fast/invalid/012-expected.txt:
1106         * layout-tests/fast/invalid/016-expected.txt:
1107         * layout-tests/fast/invalid/nestedh3s-expected.txt:
1108         * layout-tests/fast/lists/003-expected.txt:
1109         * layout-tests/fast/replaced/004-expected.txt:
1110         * layout-tests/fast/selectors/166-expected.txt:
1111         * layout-tests/fast/table/032-expected.txt:
1112         * layout-tests/fast/table/border-collapsing/004-expected.txt:
1113         * layout-tests/fast/text/basic/003-expected.txt:
1114         * layout-tests/fast/text/basic/004-expected.txt:
1115         * layout-tests/fast/text/basic/005-expected.txt:
1116         * layout-tests/fast/text/basic/009-expected.txt:
1117
1118 2005-07-19  Darin Adler  <darin@apple.com>
1119
1120         Reviewed by Geoff Garen.
1121
1122         Test cases added: None. Structural change only.
1123
1124         - eliminated try wrappers for get/put/call since we don't use C++ exceptions any more
1125
1126         * khtml/ecma/kjs_binding.cpp: Removed DOMObject::get, DOMObject::set, DOMFunction::get,
1127         and DOMFunction::call.
1128         * khtml/ecma/kjs_binding.h: Removed get, set, tryGet, trySet, call, tryCall from DOMObject
1129         and DOMFunction. Removed DOMObjectLookupGet, DOMObjectLookupGetValue, and DOMObjectLookupPut.
1130         We can just do things the normal way now.
1131
1132         The rest of the changes are just renames and removal of a couple stray tryCall wrappers.
1133
1134             tryGet -> get
1135             tryPut -> put
1136             tryCall -> call
1137             putValue -> putValueProperty
1138             DOMObjectLookupGet -> lookupGet
1139             DOMObjectLookupGetValue -> lookupGetValue
1140             DOMObjectLookupPut -> lookupPut
1141
1142         * khtml/ecma/domparser.cpp:
1143         (KJS::DOMParserProtoFunc::call):
1144         * khtml/ecma/kjs_css.cpp:
1145         (KJS::DOMCSSStyleDeclaration::get):
1146         (KJS::DOMCSSStyleDeclaration::put):
1147         (KJS::DOMCSSStyleDeclarationProtoFunc::call):
1148         (KJS::DOMStyleSheet::get):
1149         (KJS::DOMStyleSheet::put):
1150         (KJS::DOMStyleSheetList::get):
1151         (KJS::DOMStyleSheetListFunc::call):
1152         (KJS::DOMMediaList::get):
1153         (KJS::DOMMediaList::put):
1154         (KJS::KJS::DOMMediaListProtoFunc::call):
1155         (KJS::DOMCSSStyleSheet::get):
1156         (KJS::DOMCSSStyleSheetProtoFunc::call):
1157         (KJS::DOMCSSRuleList::get):
1158         (KJS::DOMCSSRuleListFunc::call):
1159         (KJS::DOMCSSRule::get):
1160         (KJS::DOMCSSRule::put):
1161         (KJS::DOMCSSRule::putValueProperty):
1162         (KJS::DOMCSSRuleFunc::call):
1163         (KJS::CSSRuleConstructor::get):
1164         (KJS::DOMCSSValue::get):
1165         (KJS::DOMCSSValue::put):
1166         (KJS::CSSValueConstructor::get):
1167         (KJS::DOMCSSPrimitiveValue::get):
1168         (KJS::DOMCSSPrimitiveValueProtoFunc::call):
1169         (KJS::CSSPrimitiveValueConstructor::get):
1170         (KJS::DOMCSSValueList::get):
1171         (KJS::DOMCSSValueListFunc::call):
1172         (KJS::DOMRGBColor::get):
1173         (KJS::DOMRect::get):
1174         (KJS::DOMCounter::get):
1175         * khtml/ecma/kjs_css.h:
1176         * khtml/ecma/kjs_dom.cpp:
1177         (KJS::DOMNode::get):
1178         (KJS::DOMNode::put):
1179         (KJS::DOMNode::putValueProperty):
1180         (KJS::DOMNodeProtoFunc::call):
1181         (KJS::DOMNodeList::get):
1182         (KJS::DOMNodeList::call):
1183         (KJS::DOMNodeListFunc::call):
1184         (KJS::DOMAttr::get):
1185         (KJS::DOMAttr::put):
1186         (KJS::DOMAttr::putValueProperty):
1187         (KJS::DOMDocument::get):
1188         (KJS::DOMDocument::put):
1189         (KJS::DOMDocument::putValueProperty):
1190         (KJS::DOMDocumentProtoFunc::call):
1191         (KJS::DOMElement::get):
1192         (KJS::DOMElementProtoFunc::call):
1193         (KJS::DOMDOMImplementationProtoFunc::call):
1194         (KJS::DOMDocumentType::get):
1195         (KJS::DOMNamedNodeMap::get):
1196         (KJS::DOMNamedNodeMapProtoFunc::call):
1197         (KJS::DOMProcessingInstruction::get):
1198         (KJS::DOMProcessingInstruction::put):
1199         (KJS::DOMNotation::get):
1200         (KJS::DOMEntity::get):
1201         (KJS::NodeConstructor::get):
1202         (KJS::DOMExceptionConstructor::get):
1203         (KJS::DOMNamedNodesCollection::get):
1204         (KJS::DOMCharacterData::get):
1205         (KJS::DOMCharacterData::put):
1206         (KJS::DOMCharacterDataProtoFunc::call):
1207         (KJS::DOMText::get):
1208         (KJS::DOMTextProtoFunc::call):
1209         * khtml/ecma/kjs_dom.h:
1210         * khtml/ecma/kjs_events.cpp:
1211         (KJS::EventConstructor::get):
1212         (KJS::DOMEvent::get):
1213         (KJS::DOMEvent::put):
1214         (KJS::DOMEvent::putValueProperty):
1215         (KJS::DOMEventProtoFunc::call):
1216         (KJS::EventExceptionConstructor::get):
1217         (KJS::DOMUIEvent::get):
1218         (KJS::DOMUIEventProtoFunc::call):
1219         (KJS::DOMMouseEvent::get):
1220         (KJS::DOMMouseEventProtoFunc::call):
1221         (KJS::DOMKeyboardEvent::get):
1222         (KJS::DOMKeyboardEventProtoFunc::call):
1223         (KJS::MutationEventConstructor::get):
1224         (KJS::DOMMutationEvent::get):
1225         (KJS::DOMMutationEventProtoFunc::call):
1226         (KJS::DOMWheelEvent::get):
1227         (KJS::DOMWheelEventProtoFunc::call):
1228         (KJS::Clipboard::get):
1229         (KJS::Clipboard::put):
1230         (KJS::Clipboard::putValueProperty):
1231         (KJS::ClipboardProtoFunc::call):
1232         * khtml/ecma/kjs_events.h:
1233         * khtml/ecma/kjs_html.cpp:
1234         (KJS::KJS::HTMLDocFunction::call):
1235         (KJS::HTMLDocument::get):
1236         (KJS::KJS::HTMLDocument::put):
1237         (KJS::KJS::HTMLDocument::putValueProperty):
1238         (KJS::KJS::HTMLElement::get):
1239         (KJS::KJS::HTMLElementFunction::call):
1240         (KJS::KJS::HTMLElement::put):
1241         (KJS::HTMLElement::putValueProperty):
1242         (KJS::KJS::HTMLCollection::get):
1243         (KJS::KJS::HTMLCollection::call):
1244         (KJS::KJS::HTMLCollectionProtoFunc::call):
1245         (KJS::KJS::HTMLSelectCollection::get):
1246         (KJS::KJS::HTMLSelectCollection::put):
1247         (KJS::Image::get):
1248         (KJS::Image::put):
1249         (KJS::Image::putValueProperty):
1250         (KJS::KJS::Context2DFunction::call):
1251         (KJS::Context2D::get):
1252         (KJS::Context2D::put):
1253         (KJS::Context2D::putValueProperty):
1254         (KJS::GradientFunction::call):
1255         (KJS::Gradient::get):
1256         (KJS::Gradient::put):
1257         (KJS::Gradient::putValueProperty):
1258         (KJS::ImagePattern::get):
1259         (KJS::ImagePattern::put):
1260         (KJS::ImagePattern::putValueProperty):
1261         * khtml/ecma/kjs_html.h:
1262         * khtml/ecma/kjs_navigator.cpp:
1263         (KJS::PluginsFunc::call):
1264         (KJS::NavigatorFunc::call):
1265         * khtml/ecma/kjs_range.cpp:
1266         (KJS::DOMRange::get):
1267         (KJS::DOMRangeProtoFunc::call):
1268         (KJS::RangeConstructor::get):
1269         * khtml/ecma/kjs_range.h:
1270         * khtml/ecma/kjs_traversal.cpp:
1271         (KJS::DOMNodeIterator::get):
1272         (KJS::DOMNodeIteratorProtoFunc::call):
1273         (KJS::NodeFilterConstructor::get):
1274         (KJS::DOMNodeFilterProtoFunc::call):
1275         (KJS::DOMTreeWalker::get):
1276         (KJS::DOMTreeWalker::put):
1277         (KJS::DOMTreeWalkerProtoFunc::call):
1278         * khtml/ecma/kjs_traversal.h:
1279         * khtml/ecma/kjs_views.cpp:
1280         (KJS::DOMAbstractView::get):
1281         (KJS::DOMAbstractViewFunc::call):
1282         * khtml/ecma/kjs_views.h:
1283         * khtml/ecma/kjs_window.cpp:
1284         (KJS::WindowFunc::call):
1285         (KJS::LocationFunc::call):
1286         (KJS::SelectionFunc::call):
1287         (KJS::HistoryFunc::call):
1288         (KJS::KonquerorFunc::call):
1289         * khtml/ecma/xmlhttprequest.cpp:
1290         (KJS::XMLHttpRequest::get):
1291         (KJS::XMLHttpRequest::put):
1292         (KJS::XMLHttpRequest::putValueProperty):
1293         (KJS::XMLHttpRequestProtoFunc::call):
1294         * khtml/ecma/xmlhttprequest.h:
1295         * khtml/ecma/xmlserializer.cpp:
1296         (KJS::XMLSerializerProtoFunc::call):
1297
1298 2005-07-19  Darin Adler  <darin@apple.com>
1299
1300         Reviewed by Dave Hyatt.
1301
1302         - fixed broken bi-di layout tests: the "dir" attribute was broken
1303
1304         * khtml/html/html_elementimpl.cpp: (HTMLElementImpl::parseMappedAttribute):
1305         Fix one case that said "direction" where it should say "dir".
1306
1307 2005-07-19  Darin Adler  <darin@apple.com>
1308
1309         - updated results of two tests that reflect properly-preserved namespace prefixes for attributes
1310
1311         * layout-tests/fast/dom/dom-parse-serialize-display-expected.txt:
1312         * layout-tests/fast/dom/dom-parse-serialize-expected.txt:
1313
1314 2005-07-18  David Hyatt  <hyatt@apple.com>
1315
1316         Add support for -khtml-appearance in preparation for
1317         the addition of RenderTheme to the tree for form controls.
1318
1319         Make clean is required after this check-in, since there is
1320         some sort of bizarre bug with XCode dependencies on the
1321         property generation script.
1322         
1323         Reviewed by darin
1324
1325         * khtml/css/cssparser.cpp:
1326         (CSSParser::parseValue):
1327         * khtml/css/cssproperties.in:
1328         * khtml/css/cssstyleselector.cpp:
1329         (khtml::CSSStyleSelector::applyProperty):
1330         * khtml/css/cssvalues.in:
1331         * khtml/rendering/render_style.cpp:
1332         (m_appearance):
1333         (StyleCSS3NonInheritedData::operator==):
1334         (RenderStyle::diff):
1335         * khtml/rendering/render_style.h:
1336         (khtml::):
1337         (khtml::RenderStyle::appearance):
1338         (khtml::RenderStyle::setAppearance):
1339         (khtml::RenderStyle::initialAppearance):
1340
1341 2005-07-18  David Harrison  <harrison@apple.com>
1342
1343         Reviewed by Justin.
1344
1345         Test cases added: None.  Existing tests were failing.
1346
1347         Fix crash caused by my changes in revision 1.6 of khtml/editing/delete_selection_command.cpp.
1348         
1349         * khtml/editing/delete_selection_command.cpp:
1350         (khtml::DeleteSelectionCommand::calculateTypingStyleAfterDelete):
1351         Remove workaround that was added for missing typing style.
1352         
1353         (khtml::DeleteSelectionCommand::doApply):
1354         Make sure to call saveTypingStyleState() before handleSpecialCaseBRDelete().
1355
1356 2005-07-18  David Hyatt  <hyatt@apple.com>
1357
1358         Rename HTMLNames -> HTMLTags.  Purely mechanical (done in XCode)
1359         so no review needed.
1360
1361         * khtml/css/cssstyleselector.cpp:
1362         (khtml::CSSStyleSelector::adjustRenderStyle):
1363         (khtml::CSSStyleSelector::checkOneSelector):
1364         * khtml/dom/css_stylesheet.cpp:
1365         (LinkStyle::operator = ):
1366         (LinkStyle::sheet):
1367         * khtml/dom/html_base.cpp:
1368         (HTMLBodyElement::operator = ):
1369         (HTMLFrameElement::operator = ):
1370         (HTMLIFrameElement::operator = ):
1371         (HTMLFrameSetElement::operator = ):
1372         (HTMLHeadElement::operator = ):
1373         (HTMLHtmlElement::operator = ):
1374         * khtml/dom/html_block.cpp:
1375         (HTMLBlockquoteElement::operator = ):
1376         (HTMLDivElement::operator = ):
1377         (HTMLHRElement::operator = ):
1378         (HTMLHeadingElement::operator = ):
1379         (HTMLParagraphElement::operator = ):
1380         (HTMLPreElement::operator = ):
1381         * khtml/dom/html_form.cpp:
1382         (HTMLButtonElement::operator = ):
1383         (HTMLFieldSetElement::operator = ):
1384         (HTMLFormElement::operator = ):
1385         (HTMLInputElement::operator = ):
1386         (HTMLLabelElement::operator = ):
1387         (HTMLLegendElement::operator = ):
1388         (HTMLOptGroupElement::operator = ):
1389         (HTMLSelectElement::operator = ):
1390         (HTMLTextAreaElement::operator = ):
1391         (HTMLOptionElement::operator = ):
1392         (HTMLIsIndexElement::operator = ):
1393         * khtml/dom/html_head.cpp:
1394         (HTMLBaseElement::operator = ):
1395         (HTMLLinkElement::operator = ):
1396         (HTMLMetaElement::operator = ):
1397         (HTMLScriptElement::operator = ):
1398         (HTMLStyleElement::operator = ):
1399         (HTMLTitleElement::operator = ):
1400         * khtml/dom/html_image.cpp:
1401         (HTMLAreaElement::operator = ):
1402         (HTMLImageElement::operator = ):
1403         (HTMLMapElement::operator = ):
1404         * khtml/dom/html_inline.cpp:
1405         (HTMLAnchorElement::operator = ):
1406         (HTMLBRElement::operator = ):
1407         (HTMLFontElement::operator = ):
1408         (HTMLModElement::HTMLModElement):
1409         (HTMLModElement::operator = ):
1410         (HTMLQuoteElement::operator = ):
1411         * khtml/dom/html_list.cpp:
1412         (HTMLDListElement::operator = ):
1413         (HTMLDirectoryElement::operator = ):
1414         (HTMLLIElement::operator = ):
1415         (HTMLMenuElement::operator = ):
1416         (HTMLOListElement::operator = ):
1417         (HTMLUListElement::operator = ):
1418         * khtml/dom/html_misc.cpp:
1419         (HTMLBaseFontElement::operator = ):
1420         * khtml/dom/html_object.cpp:
1421         (DOM::HTMLAppletElement::operator = ):
1422         (DOM::HTMLObjectElement::operator = ):
1423         (DOM::HTMLParamElement::operator = ):
1424         * khtml/dom/html_table.cpp:
1425         (HTMLTableCaptionElement::operator = ):
1426         (HTMLTableCellElement::operator = ):
1427         (HTMLTableColElement::operator = ):
1428         (HTMLTableElement::operator = ):
1429         (HTMLTableRowElement::operator = ):
1430         (HTMLTableSectionElement::operator = ):
1431         * khtml/ecma/kjs_css.cpp:
1432         (KJS::DOMStyleSheetList::tryGet):
1433         * khtml/ecma/kjs_dom.cpp:
1434         (KJS::getRuntimeObject):
1435         * khtml/ecma/kjs_html.cpp:
1436         (KJS::HTMLDocument::tryGet):
1437         (KJS::KJS::HTMLDocument::putValue):
1438         (KJS::KJS::HTMLElement::classInfo):
1439         (KJS::HTMLElement::getSetInfo):
1440         (KJS::KJS::HTMLElement::tryGet):
1441         (KJS::KJS::HTMLElement::implementsCall):
1442         (KJS::KJS::HTMLElement::call):
1443         (KJS::KJS::HTMLElement::hasOwnProperty):
1444         (KJS::KJS::HTMLElement::toString):
1445         (KJS::getForm):
1446         (KJS::KJS::HTMLElement::pushEventHandlerScope):
1447         (KJS::KJS::HTMLElementFunction::tryCall):
1448         (KJS::KJS::HTMLElement::tryPut):
1449         (KJS::toHTMLTableCaptionElement):
1450         (KJS::toHTMLTableSectionElement):
1451         (KJS::KJS::HTMLCollection::tryGet):
1452         (KJS::KJS::HTMLSelectCollection::tryPut):
1453         * khtml/editing/apply_style_command.cpp:
1454         (khtml::isEmptyStyleSpan):
1455         (khtml::isEmptyFontTag):
1456         (khtml::createFontElement):
1457         (khtml::createStyleSpanElement):
1458         (khtml::ApplyStyleCommand::applyInlineStyle):
1459         (khtml::ApplyStyleCommand::isHTMLStyleNode):
1460         (khtml::ApplyStyleCommand::removeHTMLFontStyle):
1461         (khtml::ApplyStyleCommand::mergeEndWithNextIfIdentical):
1462         (khtml::ApplyStyleCommand::addInlineStyleIfNeeded):
1463         * khtml/editing/break_blockquote_command.cpp:
1464         (khtml::BreakBlockquoteCommand::doApply):
1465         * khtml/editing/composite_edit_command.cpp:
1466         (khtml::CompositeEditCommand::insertNodeBefore):
1467         (khtml::CompositeEditCommand::insertNodeAfter):
1468         (khtml::CompositeEditCommand::moveParagraphContentsToNewBlockIfNecessary):
1469         (khtml::createBlockPlaceholderElement):
1470         * khtml/editing/delete_selection_command.cpp:
1471         (khtml::isListStructureNode):
1472         (khtml::DeleteSelectionCommand::handleSpecialCaseBRDelete):
1473         (khtml::DeleteSelectionCommand::handleGeneralDelete):
1474         (khtml::DeleteSelectionCommand::moveNodesAfterNode):
1475         * khtml/editing/htmlediting.cpp:
1476         (khtml::isSpecialElement):
1477         (khtml::createDefaultParagraphElement):
1478         (khtml::createBreakElement):
1479         (khtml::isMailBlockquote):
1480         * khtml/editing/insert_line_break_command.cpp:
1481         (khtml::InsertLineBreakCommand::doApply):
1482         * khtml/editing/insert_paragraph_separator_command.cpp:
1483         (khtml::InsertParagraphSeparatorCommand::doApply):
1484         * khtml/editing/markup.cpp:
1485         (khtml::startMarkup):
1486         (khtml::createMarkup):
1487         (khtml::createFragmentFromText):
1488         * khtml/editing/replace_selection_command.cpp:
1489         (khtml::isProbablyBlock):
1490         (khtml::isProbablyTableStructureNode):
1491         (khtml::ReplacementFragment::isInterchangeNewlineNode):
1492         (khtml::ReplacementFragment::removeStyleNodes):
1493         (khtml::ReplaceSelectionCommand::doApply):
1494         * khtml/editing/visible_position.cpp:
1495         (khtml::VisiblePosition::init):
1496         (khtml::VisiblePosition::isCandidate):
1497         (khtml::VisiblePosition::isAtomicNode):
1498         * khtml/editing/visible_text.cpp:
1499         (khtml::TextIterator::handleNonTextNode):
1500         (khtml::TextIterator::exitNode):
1501         (khtml::SimplifiedBackwardsTextIterator::handleNonTextNode):
1502         * khtml/editing/visible_units.cpp:
1503         (khtml::endOfLine):
1504         * khtml/html/html_baseimpl.cpp:
1505         (HTMLBodyElementImpl::HTMLBodyElementImpl):
1506         (HTMLFrameElementImpl::HTMLFrameElementImpl):
1507         (HTMLFrameElementImpl::attach):
1508         (HTMLFrameSetElementImpl::HTMLFrameSetElementImpl):
1509         (HTMLFrameSetElementImpl::checkDTD):
1510         (HTMLFrameSetElementImpl::attach):
1511         (HTMLHeadElementImpl::HTMLHeadElementImpl):
1512         (HTMLHeadElementImpl::checkDTD):
1513         (HTMLHtmlElementImpl::HTMLHtmlElementImpl):
1514         (HTMLHtmlElementImpl::checkDTD):
1515         (HTMLIFrameElementImpl::HTMLIFrameElementImpl):
1516         * khtml/html/html_blockimpl.cpp:
1517         (HTMLBlockquoteElementImpl::HTMLBlockquoteElementImpl):
1518         (HTMLDivElementImpl::HTMLDivElementImpl):
1519         (HTMLHRElementImpl::HTMLHRElementImpl):
1520         (HTMLHeadingElementImpl::checkDTD):
1521         (HTMLParagraphElementImpl::HTMLParagraphElementImpl):
1522         (HTMLParagraphElementImpl::checkDTD):
1523         (HTMLMarqueeElementImpl::HTMLMarqueeElementImpl):
1524         * khtml/html/html_canvasimpl.cpp:
1525         (HTMLCanvasElementImpl::HTMLCanvasElementImpl):
1526         * khtml/html/html_documentimpl.cpp:
1527         (DOM::HTMLDocumentImpl::childAllowed):
1528         * khtml/html/html_elementimpl.cpp:
1529         (HTMLElementImpl::endTagRequirement):
1530         (HTMLElementImpl::tagPriority):
1531         (HTMLElementImpl::createContextualFragment):
1532         (HTMLElementImpl::setInnerText):
1533         (HTMLElementImpl::setOuterText):
1534         (HTMLElementImpl::isRecognizedTagName):
1535         (inlineTagList):
1536         (blockTagList):
1537         (HTMLElementImpl::checkDTD):
1538         * khtml/html/html_formimpl.cpp:
1539         (DOM::HTMLFormElementImpl::HTMLFormElementImpl):
1540         (DOM::HTMLFormElementImpl::submitClick):
1541         (DOM::HTMLFormElementImpl::formData):
1542         (DOM::HTMLFormElementImpl::submit):
1543         (DOM::HTMLFormElementImpl::radioClicked):
1544         (DOM::HTMLGenericFormElementImpl::getForm):
1545         (DOM::HTMLButtonElementImpl::HTMLButtonElementImpl):
1546         (DOM::HTMLFieldSetElementImpl::HTMLFieldSetElementImpl):
1547         (DOM::HTMLFieldSetElementImpl::checkDTD):
1548         (DOM::HTMLInputElementImpl::HTMLInputElementImpl):
1549         (DOM::HTMLLabelElementImpl::HTMLLabelElementImpl):
1550         (DOM::HTMLLabelElementImpl::form):
1551         (DOM::HTMLLegendElementImpl::HTMLLegendElementImpl):
1552         (DOM::HTMLLegendElementImpl::formElement):
1553         (DOM::HTMLSelectElementImpl::HTMLSelectElementImpl):
1554         (DOM::HTMLSelectElementImpl::checkDTD):
1555         (DOM::HTMLSelectElementImpl::selectedIndex):
1556         (DOM::HTMLSelectElementImpl::setSelectedIndex):
1557         (DOM::HTMLSelectElementImpl::length):
1558         (DOM::HTMLSelectElementImpl::add):
1559         (DOM::HTMLSelectElementImpl::value):
1560         (DOM::HTMLSelectElementImpl::setValue):
1561         (DOM::HTMLSelectElementImpl::state):
1562         (DOM::HTMLSelectElementImpl::restoreState):
1563         (DOM::HTMLSelectElementImpl::appendFormData):
1564         (DOM::HTMLSelectElementImpl::optionToListIndex):
1565         (DOM::HTMLSelectElementImpl::listToOptionIndex):
1566         (DOM::HTMLSelectElementImpl::recalcListItems):
1567         (DOM::HTMLSelectElementImpl::reset):
1568         (DOM::HTMLSelectElementImpl::notifyOptionSelected):
1569         (DOM::HTMLKeygenElementImpl::HTMLKeygenElementImpl):
1570         (DOM::HTMLOptGroupElementImpl::HTMLOptGroupElementImpl):
1571         (DOM::HTMLOptGroupElementImpl::recalcSelectOptions):
1572         (DOM::HTMLOptionElementImpl::HTMLOptionElementImpl):
1573         (DOM::HTMLOptionElementImpl::index):
1574         (DOM::HTMLOptionElementImpl::getSelect):
1575         (DOM::HTMLTextAreaElementImpl::HTMLTextAreaElementImpl):
1576         (DOM::HTMLIsIndexElementImpl::HTMLIsIndexElementImpl):
1577         * khtml/html/html_formimpl.h:
1578         (DOM::HTMLOptGroupElementImpl::checkDTD):
1579         * khtml/html/html_headimpl.cpp:
1580         (HTMLBaseElementImpl::HTMLBaseElementImpl):
1581         (HTMLLinkElementImpl::HTMLLinkElementImpl):
1582         (HTMLMetaElementImpl::HTMLMetaElementImpl):
1583         (HTMLScriptElementImpl::HTMLScriptElementImpl):
1584         (HTMLStyleElementImpl::HTMLStyleElementImpl):
1585         (HTMLTitleElementImpl::HTMLTitleElementImpl):
1586         * khtml/html/html_imageimpl.cpp:
1587         (HTMLImageLoader::updateFromElement):
1588         (HTMLImageElementImpl::HTMLImageElementImpl):
1589         (HTMLMapElementImpl::HTMLMapElementImpl):
1590         (HTMLMapElementImpl::checkDTD):
1591         (HTMLMapElementImpl::mapMouseEvent):
1592         (HTMLAreaElementImpl::HTMLAreaElementImpl):
1593         * khtml/html/html_inlineimpl.cpp:
1594         (DOM::HTMLAnchorElementImpl::HTMLAnchorElementImpl):
1595         (DOM::HTMLAnchorElementImpl::defaultEventHandler):
1596         (DOM::HTMLBRElementImpl::HTMLBRElementImpl):
1597         (DOM::HTMLFontElementImpl::HTMLFontElementImpl):
1598         (DOM::HTMLQuoteElementImpl::HTMLQuoteElementImpl):
1599         * khtml/html/html_listimpl.cpp:
1600         (DOM::HTMLLIElementImpl::attach):
1601         * khtml/html/html_listimpl.h:
1602         (DOM::HTMLUListElementImpl::HTMLUListElementImpl):
1603         (DOM::HTMLDirectoryElementImpl::HTMLDirectoryElementImpl):
1604         (DOM::HTMLMenuElementImpl::HTMLMenuElementImpl):
1605         (DOM::HTMLOListElementImpl::HTMLOListElementImpl):
1606         (DOM::HTMLLIElementImpl::HTMLLIElementImpl):
1607         (DOM::HTMLDListElementImpl::HTMLDListElementImpl):
1608         * khtml/html/html_miscimpl.cpp:
1609         (DOM::HTMLBaseFontElementImpl::HTMLBaseFontElementImpl):
1610         (DOM::HTMLCollectionImpl::traverseNextItem):
1611         (DOM::HTMLCollectionImpl::checkForNameMatch):
1612         (DOM::HTMLCollectionImpl::updateNameCache):
1613         (DOM::HTMLFormCollectionImpl::getNamedFormItem):
1614         (DOM::HTMLFormCollectionImpl::updateNameCache):
1615         * khtml/html/html_objectimpl.cpp:
1616         (DOM::HTMLAppletElementImpl::HTMLAppletElementImpl):
1617         (DOM::HTMLAppletElementImpl::checkDTD):
1618         (DOM::HTMLEmbedElementImpl::HTMLEmbedElementImpl):
1619         (DOM::HTMLEmbedElementImpl::checkDTD):
1620         (DOM::HTMLEmbedElementImpl::rendererIsNeeded):
1621         (DOM::HTMLObjectElementImpl::HTMLObjectElementImpl):
1622         (DOM::HTMLObjectElementImpl::checkDTD):
1623         (DOM::HTMLObjectElementImpl::form):
1624         (DOM::HTMLParamElementImpl::HTMLParamElementImpl):
1625         * khtml/html/html_tableimpl.cpp:
1626         (DOM::HTMLTableElementImpl::HTMLTableElementImpl):
1627         (DOM::HTMLTableElementImpl::checkDTD):
1628         (DOM::HTMLTableElementImpl::createTHead):
1629         (DOM::HTMLTableElementImpl::createTFoot):
1630         (DOM::HTMLTableElementImpl::insertRow):
1631         (DOM::HTMLTableElementImpl::deleteRow):
1632         (DOM::HTMLTableElementImpl::addChild):
1633         (DOM::HTMLTableSectionElementImpl::checkDTD):
1634         (DOM::HTMLTableSectionElementImpl::addChild):
1635         (DOM::HTMLTableSectionElementImpl::numRows):
1636         (DOM::HTMLTableRowElementImpl::checkDTD):
1637         (DOM::HTMLTableRowElementImpl::addChild):
1638         (DOM::HTMLTableRowElementImpl::rowIndex):
1639         (DOM::HTMLTableRowElementImpl::sectionRowIndex):
1640         (DOM::HTMLTableRowElementImpl::insertCell):
1641         (DOM::HTMLTableCellElementImpl::cellIndex):
1642         (DOM::HTMLTableCellElementImpl::additionalAttributeStyleDecl):
1643         (DOM::HTMLTableColElementImpl::HTMLTableColElementImpl):
1644         * khtml/html/html_tableimpl.h:
1645         (DOM::HTMLTableRowElementImpl::HTMLTableRowElementImpl):
1646         (DOM::HTMLTableColElementImpl::endTagRequirement):
1647         (DOM::HTMLTableColElementImpl::tagPriority):
1648         (DOM::HTMLTableColElementImpl::checkDTD):
1649         (DOM::HTMLTableCaptionElementImpl::HTMLTableCaptionElementImpl):
1650         * khtml/html/htmlfactory.cpp:
1651         (DOM::headingConstructor):
1652         (DOM::preConstructor):
1653         (DOM::modConstructor):
1654         (DOM::tableColConstructor):
1655         (DOM::tableCellConstructor):
1656         (DOM::tableSectionConstructor):
1657         (DOM::HTMLElementFactory::createHTMLElement):
1658         * khtml/html/htmlnames.cpp:
1659         (DOM::HTMLTags::init):
1660         * khtml/html/htmlnames.h:
1661         * khtml/html/htmlparser.cpp:
1662         (HTMLParser::parseToken):
1663         (isTableSection):
1664         (isTablePart):
1665         (isTableRelated):
1666         (HTMLParser::handleError):
1667         (HTMLParser::headCreateErrorCheck):
1668         (HTMLParser::bodyCreateErrorCheck):
1669         (HTMLParser::framesetCreateErrorCheck):
1670         (HTMLParser::iframeCreateErrorCheck):
1671         (HTMLParser::ddCreateErrorCheck):
1672         (HTMLParser::dtCreateErrorCheck):
1673         (HTMLParser::tableCellCreateErrorCheck):
1674         (HTMLParser::tableSectionCreateErrorCheck):
1675         (HTMLParser::noembedCreateErrorCheck):
1676         (HTMLParser::noframesCreateErrorCheck):
1677         (HTMLParser::noscriptCreateErrorCheck):
1678         (HTMLParser::getNode):
1679         (HTMLParser::processCloseTag):
1680         (HTMLParser::isHeaderTag):
1681         (HTMLParser::isInline):
1682         (HTMLParser::isResidualStyleTag):
1683         (HTMLParser::isAffectedByResidualStyle):
1684         (HTMLParser::popBlock):
1685         * khtml/html/htmltokenizer.cpp:
1686         (khtml::HTMLTokenizer::parseSpecial):
1687         (khtml::HTMLTokenizer::scriptHandler):
1688         (khtml::HTMLTokenizer::parseTag):
1689         * khtml/khtml_part.cpp:
1690         (KHTMLPart::init):
1691         (KHTMLPart::selectionComputedStyle):
1692         * khtml/khtmlview.cpp:
1693         (KHTMLView::layout):
1694         (isSubmitImage):
1695         * khtml/misc/decoder.cpp:
1696         (Decoder::decode):
1697         * khtml/rendering/render_applet.cpp:
1698         (RenderApplet::createWidgetIfNecessary):
1699         * khtml/rendering/render_block.cpp:
1700         (khtml::RenderBlock::layoutBlock):
1701         * khtml/rendering/render_box.cpp:
1702         (RenderBox::paintRootBoxDecorations):
1703         (RenderBox::paintBackgroundExtended):
1704         * khtml/rendering/render_canvasimage.cpp:
1705         (RenderCanvasImage::paint):
1706         * khtml/rendering/render_flow.cpp:
1707         (RenderFlow::addFocusRingRects):
1708         * khtml/rendering/render_form.cpp:
1709         (RenderFieldset::findLegend):
1710         (RenderSelect::updateFromElement):
1711         (RenderSelect::layout):
1712         (RenderSelect::slotSelected):
1713         (RenderSelect::slotSelectionChanged):
1714         (RenderSelect::updateSelection):
1715         * khtml/rendering/render_frames.cpp:
1716         (RenderPartObject::updateWidget):
1717         (RenderPartObject::slotViewCleared):
1718         * khtml/rendering/render_image.cpp:
1719         (RenderImage::paint):
1720         (RenderImage::imageMap):
1721         (RenderImage::updateAltText):
1722         * khtml/rendering/render_layer.cpp:
1723         (Marquee::marqueeSpeed):
1724         * khtml/rendering/render_list.cpp:
1725         (getParentOfFirstLineBox):
1726         * khtml/rendering/render_object.cpp:
1727         (RenderObject::isBody):
1728         (RenderObject::isHR):
1729         (RenderObject::isHTMLMarquee):
1730         (RenderObject::sizesToMaxWidth):
1731         (RenderObject::setStyle):
1732         (RenderObject::getTextDecorationColors):
1733         (RenderObject::setPixmap):
1734         * khtml/rendering/render_table.cpp:
1735         (RenderTable::addChild):
1736         (RenderTable::layout):
1737         (RenderTableSection::addChild):
1738         (RenderTableRow::addChild):
1739         (RenderTableCell::updateFromElement):
1740         (RenderTableCol::updateFromElement):
1741         * khtml/xml/dom_docimpl.cpp:
1742         (DocumentImpl::createElementNS):
1743         (DocumentImpl::body):
1744         (DocumentImpl::shouldScheduleLayout):
1745         (DocumentImpl::recalcStyleSelector):
1746         * khtml/xml/dom_nodeimpl.cpp:
1747         (DOM::NodeImpl::maxDeepOffset):
1748         (DOM::NodeImpl::enclosingBlockFlowOrTableElement):
1749         (DOM::NodeImpl::enclosingBlockFlowElement):
1750         (DOM::NodeImpl::enclosingInlineElement):
1751         (DOM::NodeImpl::rootEditableElement):
1752         (DOM::NodeImpl::showTreeAndMark):
1753         * khtml/xml/dom_position.cpp:
1754         (DOM::Position::downstream):
1755         (DOM::Position::rendersInDifferentPosition):
1756         (DOM::Position::leadingWhitespacePosition):
1757         (DOM::Position::trailingWhitespacePosition):
1758         * khtml/xml/xml_tokenizer.cpp:
1759         (khtml::XMLTokenizer::startElement):
1760         (khtml::XMLTokenizer::insertErrorMessageBlock):
1761         (khtml::XMLTokenizer::addScripts):
1762         * kwq/DOM.mm:
1763         (+[DOMNode _nodeWithImpl:]):
1764         * kwq/DOMHTML.mm:
1765         * kwq/KWQAccObject.mm:
1766         (-[KWQAccObject role]):
1767         (-[KWQAccObject title]):
1768         (-[KWQAccObject accessibilityIsIgnored]):
1769         * kwq/KWQKHTMLPart.cpp:
1770         (KWQKHTMLPart::isFrameSet):
1771         * kwq/KWQKHTMLPart.mm:
1772         (scanForForm):
1773         (KWQKHTMLPart::currentForm):
1774         (KWQKHTMLPart::searchForLabelsBeforeElement):
1775         (listParent):
1776         (isTextFirstInListItem):
1777         (KWQKHTMLPart::attributedString):
1778         (KWQKHTMLPart::styleForSelectionStart):
1779         (KWQKHTMLPart::setSelectionFromNone):
1780         * kwq/WebCoreBridge.mm:
1781         (inputElementFromDOMElement):
1782         (formElementFromDOMElement):
1783         (-[WebCoreBridge elementAtPoint:]):
1784
1785 2005-07-18  David Hyatt  <hyatt@apple.com>
1786
1787         Fix for bugzilla bug 3927.  Convert attributes to use QualifiedName.
1788         
1789         Reviewed by mjs
1790
1791         * WebCore.pbproj/project.pbxproj:
1792         * khtml/css/css_base.cpp:
1793         (CSSSelector::print):
1794         (CSSSelector::selectorText):
1795         * khtml/css/css_base.h:
1796         (DOM::CSSSelector::CSSSelector):
1797         (DOM::CSSSelector::hasTag):
1798         (DOM::CSSSelector::hasAttribute):
1799         * khtml/css/css_stylesheetimpl.cpp:
1800         (CSSStyleSheetImpl::determineNamespace):
1801         * khtml/css/cssparser.cpp:
1802         (CSSParser::parseContent):
1803         * khtml/css/cssstyleselector.cpp:
1804         (khtml::checkPseudoState):
1805         (khtml::CSSStyleSelector::canShareStyleWithElement):
1806         (khtml::CSSStyleSelector::checkOneSelector):
1807         (khtml::CSSStyleSelector::applyProperty):
1808         * khtml/css/parser.y:
1809         * khtml/dom/css_stylesheet.cpp:
1810         * khtml/dom/html_base.cpp:
1811         * khtml/dom/html_block.cpp:
1812         * khtml/dom/html_document.cpp:
1813         * khtml/dom/html_element.cpp:
1814         * khtml/dom/html_form.cpp:
1815         * khtml/dom/html_head.cpp:
1816         * khtml/dom/html_image.cpp:
1817         * khtml/dom/html_inline.cpp:
1818         * khtml/dom/html_list.cpp:
1819         * khtml/dom/html_misc.cpp:
1820         * khtml/dom/html_object.cpp:
1821         * khtml/dom/html_table.cpp:
1822         * khtml/ecma/kjs_html.cpp:
1823         (KJS::HTMLElement::inputGetter):
1824         (KJS::HTMLElement::inputSetter):
1825         * khtml/editing/apply_style_command.cpp:
1826         (khtml::isStyleSpan):
1827         (khtml::isEmptyStyleSpan):
1828         (khtml::isEmptyFontTag):
1829         (khtml::createFontElement):
1830         (khtml::createStyleSpanElement):
1831         (khtml::ApplyStyleCommand::applyRelativeFontStyleChange):
1832         (khtml::ApplyStyleCommand::removeHTMLFontStyle):
1833         (khtml::ApplyStyleCommand::applyTextDecorationStyle):
1834         (khtml::areIdenticalElements):
1835         (khtml::ApplyStyleCommand::addBlockStyleIfNeeded):
1836         (khtml::ApplyStyleCommand::addInlineStyleIfNeeded):
1837         * khtml/editing/composite_edit_command.cpp:
1838         (khtml::CompositeEditCommand::removeNodeAttribute):
1839         (khtml::CompositeEditCommand::setNodeAttribute):
1840         (khtml::CompositeEditCommand::findBlockPlaceholder):
1841         (khtml::createBlockPlaceholderElement):
1842         * khtml/editing/composite_edit_command.h:
1843         * khtml/editing/markup.cpp:
1844         (khtml::startMarkup):
1845         (khtml::completeURLs):
1846         (khtml::createFragmentFromText):
1847         * khtml/editing/remove_node_attribute_command.cpp:
1848         (khtml::RemoveNodeAttributeCommand::RemoveNodeAttributeCommand):
1849         * khtml/editing/remove_node_attribute_command.h:
1850         (khtml::RemoveNodeAttributeCommand::attribute):
1851         * khtml/editing/replace_selection_command.cpp:
1852         (khtml::ReplacementFragment::isInterchangeNewlineNode):
1853         (khtml::ReplacementFragment::isInterchangeConvertedSpaceSpan):
1854         * khtml/editing/set_node_attribute_command.cpp:
1855         (khtml::SetNodeAttributeCommand::SetNodeAttributeCommand):
1856         * khtml/editing/set_node_attribute_command.h:
1857         (khtml::SetNodeAttributeCommand::attribute):
1858         * khtml/html/html_baseimpl.cpp:
1859         (HTMLBodyElementImpl::mapToEntry):
1860         (HTMLBodyElementImpl::parseMappedAttribute):
1861         (HTMLBodyElementImpl::insertedIntoDocument):
1862         (HTMLBodyElementImpl::isURLAttribute):
1863         (HTMLBodyElementImpl::aLink):
1864         (HTMLBodyElementImpl::setALink):
1865         (HTMLBodyElementImpl::background):
1866         (HTMLBodyElementImpl::setBackground):
1867         (HTMLBodyElementImpl::bgColor):
1868         (HTMLBodyElementImpl::setBgColor):
1869         (HTMLBodyElementImpl::link):
1870         (HTMLBodyElementImpl::setLink):
1871         (HTMLBodyElementImpl::text):
1872         (HTMLBodyElementImpl::setText):
1873         (HTMLBodyElementImpl::vLink):
1874         (HTMLBodyElementImpl::setVLink):
1875         (HTMLFrameElementImpl::parseMappedAttribute):
1876         (HTMLFrameElementImpl::attach):
1877         (HTMLFrameElementImpl::isURLAttribute):
1878         (HTMLFrameElementImpl::frameBorder):
1879         (HTMLFrameElementImpl::setFrameBorder):
1880         (HTMLFrameElementImpl::longDesc):
1881         (HTMLFrameElementImpl::setLongDesc):
1882         (HTMLFrameElementImpl::marginHeight):
1883         (HTMLFrameElementImpl::setMarginHeight):
1884         (HTMLFrameElementImpl::marginWidth):
1885         (HTMLFrameElementImpl::setMarginWidth):
1886         (HTMLFrameElementImpl::name):
1887         (HTMLFrameElementImpl::setName):
1888         (HTMLFrameElementImpl::setNoResize):
1889         (HTMLFrameElementImpl::scrolling):
1890         (HTMLFrameElementImpl::setScrolling):
1891         (HTMLFrameElementImpl::src):
1892         (HTMLFrameElementImpl::setSrc):
1893         (HTMLFrameSetElementImpl::parseMappedAttribute):
1894         (HTMLFrameSetElementImpl::cols):
1895         (HTMLFrameSetElementImpl::setCols):
1896         (HTMLFrameSetElementImpl::rows):
1897         (HTMLFrameSetElementImpl::setRows):
1898         (HTMLHeadElementImpl::profile):
1899         (HTMLHeadElementImpl::setProfile):
1900         (HTMLHtmlElementImpl::version):
1901         (HTMLHtmlElementImpl::setVersion):
1902         (HTMLIFrameElementImpl::mapToEntry):
1903         (HTMLIFrameElementImpl::parseMappedAttribute):
1904         (HTMLIFrameElementImpl::attach):
1905         (HTMLIFrameElementImpl::isURLAttribute):
1906         (HTMLIFrameElementImpl::align):
1907         (HTMLIFrameElementImpl::setAlign):
1908         (HTMLIFrameElementImpl::height):
1909         (HTMLIFrameElementImpl::setHeight):
1910         (HTMLIFrameElementImpl::src):
1911         (HTMLIFrameElementImpl::width):
1912         (HTMLIFrameElementImpl::setWidth):
1913         * khtml/html/html_baseimpl.h:
1914         * khtml/html/html_blockimpl.cpp:
1915         (HTMLBlockquoteElementImpl::cite):
1916         (HTMLBlockquoteElementImpl::setCite):
1917         (HTMLDivElementImpl::mapToEntry):
1918         (HTMLDivElementImpl::parseMappedAttribute):
1919         (HTMLDivElementImpl::align):
1920         (HTMLDivElementImpl::setAlign):
1921         (HTMLHRElementImpl::mapToEntry):
1922         (HTMLHRElementImpl::parseMappedAttribute):
1923         (HTMLHRElementImpl::align):
1924         (HTMLHRElementImpl::setAlign):
1925         (HTMLHRElementImpl::noShade):
1926         (HTMLHRElementImpl::setNoShade):
1927         (HTMLHRElementImpl::size):
1928         (HTMLHRElementImpl::setSize):
1929         (HTMLHRElementImpl::width):
1930         (HTMLHRElementImpl::setWidth):
1931         (HTMLHeadingElementImpl::align):
1932         (HTMLHeadingElementImpl::setAlign):
1933         (HTMLParagraphElementImpl::mapToEntry):
1934         (HTMLParagraphElementImpl::parseMappedAttribute):
1935         (HTMLParagraphElementImpl::align):
1936         (HTMLParagraphElementImpl::setAlign):
1937         (HTMLPreElementImpl::width):
1938         (HTMLPreElementImpl::setWidth):
1939         (HTMLMarqueeElementImpl::mapToEntry):
1940         (HTMLMarqueeElementImpl::parseMappedAttribute):
1941         * khtml/html/html_blockimpl.h:
1942         * khtml/html/html_canvasimpl.cpp:
1943         (HTMLCanvasElementImpl::mapToEntry):
1944         (HTMLCanvasElementImpl::parseMappedAttribute):
1945         (HTMLCanvasElementImpl::isURLAttribute):
1946         * khtml/html/html_canvasimpl.h:
1947         * khtml/html/html_documentimpl.cpp:
1948         * khtml/html/html_elementimpl.cpp:
1949         (HTMLElementImpl::mapToEntry):
1950         (HTMLElementImpl::parseMappedAttribute):
1951         (HTMLElementImpl::setContentEditable):
1952         (HTMLElementImpl::id):
1953         (HTMLElementImpl::setId):
1954         (HTMLElementImpl::title):
1955         (HTMLElementImpl::setTitle):
1956         (HTMLElementImpl::lang):
1957         (HTMLElementImpl::setLang):
1958         (HTMLElementImpl::dir):
1959         (HTMLElementImpl::setDir):
1960         (HTMLElementImpl::className):
1961         (HTMLElementImpl::setClassName):
1962         * khtml/html/html_elementimpl.h:
1963         * khtml/html/html_formimpl.cpp:
1964         (DOM::HTMLFormElementImpl::parseMappedAttribute):
1965         (DOM::HTMLFormElementImpl::isURLAttribute):
1966         (DOM::HTMLFormElementImpl::name):
1967         (DOM::HTMLFormElementImpl::setName):
1968         (DOM::HTMLFormElementImpl::acceptCharset):
1969         (DOM::HTMLFormElementImpl::setAcceptCharset):
1970         (DOM::HTMLFormElementImpl::action):
1971         (DOM::HTMLFormElementImpl::setAction):
1972         (DOM::HTMLFormElementImpl::setEnctype):
1973         (DOM::HTMLFormElementImpl::method):
1974         (DOM::HTMLFormElementImpl::setMethod):
1975         (DOM::HTMLFormElementImpl::target):
1976         (DOM::HTMLFormElementImpl::setTarget):
1977         (DOM::HTMLGenericFormElementImpl::parseMappedAttribute):
1978         (DOM::HTMLGenericFormElementImpl::name):
1979         (DOM::HTMLGenericFormElementImpl::setName):
1980         (DOM::HTMLGenericFormElementImpl::setDisabled):
1981         (DOM::HTMLGenericFormElementImpl::setReadOnly):
1982         (DOM::HTMLGenericFormElementImpl::tabIndex):
1983         (DOM::HTMLGenericFormElementImpl::setTabIndex):
1984         (DOM::HTMLButtonElementImpl::type):
1985         (DOM::HTMLButtonElementImpl::parseMappedAttribute):
1986         (DOM::HTMLButtonElementImpl::accessKey):
1987         (DOM::HTMLButtonElementImpl::setAccessKey):
1988         (DOM::HTMLButtonElementImpl::value):
1989         (DOM::HTMLButtonElementImpl::setValue):
1990         (DOM::HTMLInputElementImpl::setType):
1991         (DOM::HTMLInputElementImpl::mapToEntry):
1992         (DOM::HTMLInputElementImpl::parseMappedAttribute):
1993         (DOM::HTMLInputElementImpl::attach):
1994         (DOM::HTMLInputElementImpl::altText):
1995         (DOM::HTMLInputElementImpl::value):
1996         (DOM::HTMLInputElementImpl::setValue):
1997         (DOM::HTMLInputElementImpl::isURLAttribute):
1998         (DOM::HTMLInputElementImpl::defaultValue):
1999         (DOM::HTMLInputElementImpl::setDefaultValue):
2000         (DOM::HTMLInputElementImpl::defaultChecked):
2001         (DOM::HTMLInputElementImpl::setDefaultChecked):
2002         (DOM::HTMLInputElementImpl::accept):
2003         (DOM::HTMLInputElementImpl::setAccept):
2004         (DOM::HTMLInputElementImpl::accessKey):
2005         (DOM::HTMLInputElementImpl::setAccessKey):
2006         (DOM::HTMLInputElementImpl::align):
2007         (DOM::HTMLInputElementImpl::setAlign):
2008         (DOM::HTMLInputElementImpl::alt):
2009         (DOM::HTMLInputElementImpl::setAlt):
2010         (DOM::HTMLInputElementImpl::setMaxLength):
2011         (DOM::HTMLInputElementImpl::setSize):
2012         (DOM::HTMLInputElementImpl::src):
2013         (DOM::HTMLInputElementImpl::setSrc):
2014         (DOM::HTMLInputElementImpl::useMap):
2015         (DOM::HTMLInputElementImpl::setUseMap):
2016         (DOM::HTMLLabelElementImpl::parseMappedAttribute):
2017         (DOM::HTMLLabelElementImpl::formElement):
2018         (DOM::HTMLLabelElementImpl::accessKey):
2019         (DOM::HTMLLabelElementImpl::setAccessKey):
2020         (DOM::HTMLLabelElementImpl::htmlFor):
2021         (DOM::HTMLLabelElementImpl::setHtmlFor):
2022         (DOM::HTMLLegendElementImpl::accessKey):
2023         (DOM::HTMLLegendElementImpl::setAccessKey):
2024         (DOM::HTMLLegendElementImpl::align):
2025         (DOM::HTMLLegendElementImpl::setAlign):
2026         (DOM::HTMLSelectElementImpl::parseMappedAttribute):
2027         (DOM::HTMLSelectElementImpl::reset):
2028         (DOM::HTMLSelectElementImpl::setMultiple):
2029         (DOM::HTMLSelectElementImpl::setSize):
2030         (DOM::HTMLKeygenElementImpl::parseMappedAttribute):
2031         (DOM::HTMLOptGroupElementImpl::label):
2032         (DOM::HTMLOptGroupElementImpl::setLabel):
2033         (DOM::HTMLOptionElementImpl::text):
2034         (DOM::HTMLOptionElementImpl::parseMappedAttribute):
2035         (DOM::HTMLOptionElementImpl::setValue):
2036         (DOM::HTMLOptionElementImpl::defaultSelected):
2037         (DOM::HTMLOptionElementImpl::setDefaultSelected):
2038         (DOM::HTMLOptionElementImpl::label):
2039         (DOM::HTMLOptionElementImpl::setLabel):
2040         (DOM::HTMLTextAreaElementImpl::parseMappedAttribute):
2041         (DOM::HTMLTextAreaElementImpl::accessKey):
2042         (DOM::HTMLTextAreaElementImpl::setAccessKey):
2043         (DOM::HTMLTextAreaElementImpl::setCols):
2044         (DOM::HTMLTextAreaElementImpl::setRows):
2045         (DOM::HTMLIsIndexElementImpl::parseMappedAttribute):
2046         (DOM::HTMLIsIndexElementImpl::prompt):
2047         (DOM::HTMLIsIndexElementImpl::setPrompt):
2048         * khtml/html/html_formimpl.h:
2049         * khtml/html/html_headimpl.cpp:
2050         (HTMLBaseElementImpl::parseMappedAttribute):
2051         (HTMLBaseElementImpl::setHref):
2052         (HTMLBaseElementImpl::setTarget):
2053         (HTMLLinkElementImpl::parseMappedAttribute):
2054         (HTMLLinkElementImpl::process):
2055         (HTMLLinkElementImpl::isURLAttribute):
2056         (HTMLLinkElementImpl::disabled):
2057         (HTMLLinkElementImpl::setDisabled):
2058         (HTMLLinkElementImpl::charset):
2059         (HTMLLinkElementImpl::setCharset):
2060         (HTMLLinkElementImpl::href):
2061         (HTMLLinkElementImpl::setHref):
2062         (HTMLLinkElementImpl::hreflang):
2063         (HTMLLinkElementImpl::setHreflang):
2064         (HTMLLinkElementImpl::media):
2065         (HTMLLinkElementImpl::setMedia):
2066         (HTMLLinkElementImpl::rel):
2067         (HTMLLinkElementImpl::setRel):
2068         (HTMLLinkElementImpl::rev):
2069         (HTMLLinkElementImpl::setRev):
2070         (HTMLLinkElementImpl::target):
2071         (HTMLLinkElementImpl::setTarget):
2072         (HTMLLinkElementImpl::type):
2073         (HTMLLinkElementImpl::setType):
2074         (HTMLMetaElementImpl::parseMappedAttribute):
2075         (HTMLMetaElementImpl::content):
2076         (HTMLMetaElementImpl::setContent):
2077         (HTMLMetaElementImpl::httpEquiv):
2078         (HTMLMetaElementImpl::setHttpEquiv):
2079         (HTMLMetaElementImpl::name):
2080         (HTMLMetaElementImpl::setName):
2081         (HTMLMetaElementImpl::scheme):
2082         (HTMLMetaElementImpl::setScheme):
2083         (HTMLScriptElementImpl::isURLAttribute):
2084         (HTMLScriptElementImpl::insertedIntoDocument):
2085         (HTMLScriptElementImpl::charset):
2086         (HTMLScriptElementImpl::setCharset):
2087         (HTMLScriptElementImpl::defer):
2088         (HTMLScriptElementImpl::setDefer):
2089         (HTMLScriptElementImpl::src):
2090         (HTMLScriptElementImpl::setSrc):
2091         (HTMLScriptElementImpl::type):
2092         (HTMLScriptElementImpl::setType):
2093         (HTMLStyleElementImpl::parseMappedAttribute):
2094         (HTMLStyleElementImpl::disabled):
2095         (HTMLStyleElementImpl::setDisabled):
2096         (HTMLStyleElementImpl::media):
2097         (HTMLStyleElementImpl::setMedia):
2098         (HTMLStyleElementImpl::type):
2099         (HTMLStyleElementImpl::setType):
2100         * khtml/html/html_imageimpl.cpp:
2101         (HTMLImageLoader::updateFromElement):
2102         (HTMLImageElementImpl::mapToEntry):
2103         (HTMLImageElementImpl::parseMappedAttribute):
2104         (HTMLImageElementImpl::altText):
2105         (HTMLImageElementImpl::width):
2106         (HTMLImageElementImpl::height):
2107         (HTMLImageElementImpl::isURLAttribute):
2108         (HTMLImageElementImpl::name):
2109         (HTMLImageElementImpl::setName):
2110         (HTMLImageElementImpl::align):
2111         (HTMLImageElementImpl::setAlign):
2112         (HTMLImageElementImpl::alt):
2113         (HTMLImageElementImpl::setAlt):
2114         (HTMLImageElementImpl::border):
2115         (HTMLImageElementImpl::setBorder):
2116         (HTMLImageElementImpl::setHeight):
2117         (HTMLImageElementImpl::hspace):
2118         (HTMLImageElementImpl::setHspace):
2119         (HTMLImageElementImpl::isMap):
2120         (HTMLImageElementImpl::setIsMap):
2121         (HTMLImageElementImpl::longDesc):
2122         (HTMLImageElementImpl::setLongDesc):
2123         (HTMLImageElementImpl::src):
2124         (HTMLImageElementImpl::setSrc):
2125         (HTMLImageElementImpl::useMap):
2126         (HTMLImageElementImpl::setUseMap):
2127         (HTMLImageElementImpl::vspace):
2128         (HTMLImageElementImpl::setVspace):
2129         (HTMLImageElementImpl::setWidth):
2130         (HTMLMapElementImpl::parseMappedAttribute):
2131         (HTMLMapElementImpl::name):
2132         (HTMLMapElementImpl::setName):
2133         (HTMLAreaElementImpl::parseMappedAttribute):
2134         (HTMLAreaElementImpl::accessKey):
2135         (HTMLAreaElementImpl::setAccessKey):
2136         (HTMLAreaElementImpl::alt):
2137         (HTMLAreaElementImpl::setAlt):
2138         (HTMLAreaElementImpl::coords):
2139         (HTMLAreaElementImpl::setCoords):
2140         (HTMLAreaElementImpl::href):
2141         (HTMLAreaElementImpl::setHref):
2142         (HTMLAreaElementImpl::noHref):
2143         (HTMLAreaElementImpl::setNoHref):
2144         (HTMLAreaElementImpl::shape):
2145         (HTMLAreaElementImpl::setShape):
2146         (HTMLAreaElementImpl::tabIndex):
2147         (HTMLAreaElementImpl::setTabIndex):
2148         (HTMLAreaElementImpl::target):
2149         (HTMLAreaElementImpl::setTarget):
2150         * khtml/html/html_imageimpl.h:
2151         * khtml/html/html_inlineimpl.cpp:
2152         (DOM::HTMLAnchorElementImpl::defaultEventHandler):
2153         (DOM::HTMLAnchorElementImpl::parseMappedAttribute):
2154         (DOM::HTMLAnchorElementImpl::isURLAttribute):
2155         (DOM::HTMLAnchorElementImpl::accessKey):
2156         (DOM::HTMLAnchorElementImpl::setAccessKey):
2157         (DOM::HTMLAnchorElementImpl::charset):
2158         (DOM::HTMLAnchorElementImpl::setCharset):
2159         (DOM::HTMLAnchorElementImpl::coords):
2160         (DOM::HTMLAnchorElementImpl::setCoords):
2161         (DOM::HTMLAnchorElementImpl::href):
2162         (DOM::HTMLAnchorElementImpl::setHref):
2163         (DOM::HTMLAnchorElementImpl::hreflang):
2164         (DOM::HTMLAnchorElementImpl::setHreflang):
2165         (DOM::HTMLAnchorElementImpl::name):
2166         (DOM::HTMLAnchorElementImpl::setName):
2167         (DOM::HTMLAnchorElementImpl::rel):
2168         (DOM::HTMLAnchorElementImpl::setRel):
2169         (DOM::HTMLAnchorElementImpl::rev):
2170         (DOM::HTMLAnchorElementImpl::setRev):
2171         (DOM::HTMLAnchorElementImpl::shape):
2172         (DOM::HTMLAnchorElementImpl::setShape):
2173         (DOM::HTMLAnchorElementImpl::tabIndex):
2174         (DOM::HTMLAnchorElementImpl::setTabIndex):
2175         (DOM::HTMLAnchorElementImpl::target):
2176         (DOM::HTMLAnchorElementImpl::setTarget):
2177         (DOM::HTMLAnchorElementImpl::type):
2178         (DOM::HTMLAnchorElementImpl::setType):
2179         (DOM::HTMLBRElementImpl::mapToEntry):
2180         (DOM::HTMLBRElementImpl::parseMappedAttribute):
2181         (DOM::HTMLBRElementImpl::clear):
2182         (DOM::HTMLBRElementImpl::setClear):
2183         (DOM::HTMLFontElementImpl::mapToEntry):
2184         (DOM::HTMLFontElementImpl::parseMappedAttribute):
2185         (DOM::HTMLFontElementImpl::color):
2186         (DOM::HTMLFontElementImpl::setColor):
2187         (DOM::HTMLFontElementImpl::face):
2188         (DOM::HTMLFontElementImpl::setFace):
2189         (DOM::HTMLFontElementImpl::size):
2190         (DOM::HTMLFontElementImpl::setSize):
2191         (DOM::HTMLModElementImpl::cite):
2192         (DOM::HTMLModElementImpl::setCite):
2193         (DOM::HTMLModElementImpl::dateTime):
2194         (DOM::HTMLModElementImpl::setDateTime):
2195         (DOM::HTMLQuoteElementImpl::cite):
2196         (DOM::HTMLQuoteElementImpl::setCite):
2197         * khtml/html/html_inlineimpl.h:
2198         * khtml/html/html_listimpl.cpp:
2199         (DOM::HTMLUListElementImpl::mapToEntry):
2200         (DOM::HTMLUListElementImpl::parseMappedAttribute):
2201         (DOM::HTMLUListElementImpl::compact):
2202         (DOM::HTMLUListElementImpl::setCompact):
2203         (DOM::HTMLUListElementImpl::type):
2204         (DOM::HTMLUListElementImpl::setType):
2205         (DOM::HTMLDirectoryElementImpl::compact):
2206         (DOM::HTMLDirectoryElementImpl::setCompact):
2207         (DOM::HTMLMenuElementImpl::compact):
2208         (DOM::HTMLMenuElementImpl::setCompact):
2209         (DOM::HTMLOListElementImpl::mapToEntry):
2210         (DOM::HTMLOListElementImpl::parseMappedAttribute):
2211         (DOM::HTMLOListElementImpl::compact):
2212         (DOM::HTMLOListElementImpl::setCompact):
2213         (DOM::HTMLOListElementImpl::setStart):
2214         (DOM::HTMLOListElementImpl::type):
2215         (DOM::HTMLOListElementImpl::setType):
2216         (DOM::HTMLLIElementImpl::mapToEntry):
2217         (DOM::HTMLLIElementImpl::parseMappedAttribute):
2218         (DOM::HTMLLIElementImpl::type):
2219         (DOM::HTMLLIElementImpl::setType):
2220         (DOM::HTMLLIElementImpl::value):
2221         (DOM::HTMLLIElementImpl::setValue):
2222         (DOM::HTMLDListElementImpl::compact):
2223         (DOM::HTMLDListElementImpl::setCompact):
2224         * khtml/html/html_listimpl.h:
2225         * khtml/html/html_miscimpl.cpp:
2226         (DOM::HTMLBaseFontElementImpl::color):
2227         (DOM::HTMLBaseFontElementImpl::setColor):
2228         (DOM::HTMLBaseFontElementImpl::face):
2229         (DOM::HTMLBaseFontElementImpl::setFace):
2230         (DOM::HTMLBaseFontElementImpl::size):
2231         (DOM::HTMLBaseFontElementImpl::setSize):
2232         (DOM::HTMLCollectionImpl::traverseNextItem):
2233         (DOM::HTMLCollectionImpl::checkForNameMatch):
2234         (DOM::HTMLCollectionImpl::updateNameCache):
2235         (DOM::HTMLFormCollectionImpl::getNamedItem):
2236         (DOM::HTMLFormCollectionImpl::getNamedFormItem):
2237         (DOM::HTMLFormCollectionImpl::nextNamedItemInternal):
2238         (DOM::HTMLFormCollectionImpl::namedItem):
2239         (DOM::HTMLFormCollectionImpl::nextNamedItem):
2240         (DOM::HTMLFormCollectionImpl::updateNameCache):
2241         * khtml/html/html_miscimpl.h:
2242         * khtml/html/html_objectimpl.cpp:
2243         (DOM::HTMLAppletElementImpl::mapToEntry):
2244         (DOM::HTMLAppletElementImpl::parseMappedAttribute):
2245         (DOM::HTMLAppletElementImpl::rendererIsNeeded):
2246         (DOM::HTMLAppletElementImpl::createRenderer):
2247         (DOM::HTMLAppletElementImpl::align):
2248         (DOM::HTMLAppletElementImpl::setAlign):
2249         (DOM::HTMLAppletElementImpl::alt):
2250         (DOM::HTMLAppletElementImpl::setAlt):
2251         (DOM::HTMLAppletElementImpl::archive):
2252         (DOM::HTMLAppletElementImpl::setArchive):
2253         (DOM::HTMLAppletElementImpl::code):
2254         (DOM::HTMLAppletElementImpl::setCode):
2255         (DOM::HTMLAppletElementImpl::codeBase):
2256         (DOM::HTMLAppletElementImpl::setCodeBase):
2257         (DOM::HTMLAppletElementImpl::height):
2258         (DOM::HTMLAppletElementImpl::setHeight):
2259         (DOM::HTMLAppletElementImpl::hspace):
2260         (DOM::HTMLAppletElementImpl::setHspace):
2261         (DOM::HTMLAppletElementImpl::name):
2262         (DOM::HTMLAppletElementImpl::setName):
2263         (DOM::HTMLAppletElementImpl::object):
2264         (DOM::HTMLAppletElementImpl::setObject):
2265         (DOM::HTMLAppletElementImpl::vspace):
2266         (DOM::HTMLAppletElementImpl::setVspace):
2267         (DOM::HTMLAppletElementImpl::width):
2268         (DOM::HTMLAppletElementImpl::setWidth):
2269         (DOM::HTMLEmbedElementImpl::mapToEntry):
2270         (DOM::HTMLEmbedElementImpl::parseMappedAttribute):
2271         (DOM::HTMLEmbedElementImpl::isURLAttribute):
2272         (DOM::HTMLObjectElementImpl::mapToEntry):
2273         (DOM::HTMLObjectElementImpl::parseMappedAttribute):
2274         (DOM::HTMLObjectElementImpl::isURLAttribute):
2275         (DOM::HTMLObjectElementImpl::code):
2276         (DOM::HTMLObjectElementImpl::setCode):
2277         (DOM::HTMLObjectElementImpl::align):
2278         (DOM::HTMLObjectElementImpl::setAlign):
2279         (DOM::HTMLObjectElementImpl::archive):
2280         (DOM::HTMLObjectElementImpl::setArchive):
2281         (DOM::HTMLObjectElementImpl::border):
2282         (DOM::HTMLObjectElementImpl::setBorder):
2283         (DOM::HTMLObjectElementImpl::codeBase):
2284         (DOM::HTMLObjectElementImpl::setCodeBase):
2285         (DOM::HTMLObjectElementImpl::codeType):
2286         (DOM::HTMLObjectElementImpl::setCodeType):
2287         (DOM::HTMLObjectElementImpl::data):
2288         (DOM::HTMLObjectElementImpl::setData):
2289         (DOM::HTMLObjectElementImpl::declare):
2290         (DOM::HTMLObjectElementImpl::setDeclare):
2291         (DOM::HTMLObjectElementImpl::height):
2292         (DOM::HTMLObjectElementImpl::setHeight):
2293         (DOM::HTMLObjectElementImpl::hspace):
2294         (DOM::HTMLObjectElementImpl::setHspace):
2295         (DOM::HTMLObjectElementImpl::name):
2296         (DOM::HTMLObjectElementImpl::setName):
2297         (DOM::HTMLObjectElementImpl::standby):
2298         (DOM::HTMLObjectElementImpl::setStandby):
2299         (DOM::HTMLObjectElementImpl::tabIndex):
2300         (DOM::HTMLObjectElementImpl::setTabIndex):
2301         (DOM::HTMLObjectElementImpl::type):
2302         (DOM::HTMLObjectElementImpl::setType):
2303         (DOM::HTMLObjectElementImpl::useMap):
2304         (DOM::HTMLObjectElementImpl::setUseMap):
2305         (DOM::HTMLObjectElementImpl::vspace):
2306         (DOM::HTMLObjectElementImpl::setVspace):
2307         (DOM::HTMLObjectElementImpl::width):
2308         (DOM::HTMLObjectElementImpl::setWidth):
2309         (DOM::HTMLParamElementImpl::parseMappedAttribute):
2310         (DOM::HTMLParamElementImpl::isURLAttribute):
2311         (DOM::HTMLParamElementImpl::setName):
2312         (DOM::HTMLParamElementImpl::type):
2313         (DOM::HTMLParamElementImpl::setType):
2314         (DOM::HTMLParamElementImpl::setValue):
2315         (DOM::HTMLParamElementImpl::valueType):
2316         (DOM::HTMLParamElementImpl::setValueType):
2317         * khtml/html/html_objectimpl.h:
2318         * khtml/html/html_tableimpl.cpp:
2319         (DOM::HTMLTableElementImpl::mapToEntry):
2320         (DOM::HTMLTableElementImpl::parseMappedAttribute):
2321         (DOM::HTMLTableElementImpl::additionalAttributeStyleDecl):
2322         (DOM::HTMLTableElementImpl::getSharedCellDecl):
2323         (DOM::HTMLTableElementImpl::isURLAttribute):
2324         (DOM::HTMLTableElementImpl::align):
2325         (DOM::HTMLTableElementImpl::setAlign):
2326         (DOM::HTMLTableElementImpl::bgColor):
2327         (DOM::HTMLTableElementImpl::setBgColor):
2328         (DOM::HTMLTableElementImpl::border):
2329         (DOM::HTMLTableElementImpl::setBorder):
2330         (DOM::HTMLTableElementImpl::cellPadding):
2331         (DOM::HTMLTableElementImpl::setCellPadding):
2332         (DOM::HTMLTableElementImpl::cellSpacing):
2333         (DOM::HTMLTableElementImpl::setCellSpacing):
2334         (DOM::HTMLTableElementImpl::frame):
2335         (DOM::HTMLTableElementImpl::setFrame):
2336         (DOM::HTMLTableElementImpl::rules):
2337         (DOM::HTMLTableElementImpl::setRules):
2338         (DOM::HTMLTableElementImpl::summary):
2339         (DOM::HTMLTableElementImpl::setSummary):
2340         (DOM::HTMLTableElementImpl::width):
2341         (DOM::HTMLTableElementImpl::setWidth):
2342         (DOM::HTMLTablePartElementImpl::mapToEntry):
2343         (DOM::HTMLTablePartElementImpl::parseMappedAttribute):
2344         (DOM::HTMLTableSectionElementImpl::align):
2345         (DOM::HTMLTableSectionElementImpl::setAlign):
2346         (DOM::HTMLTableSectionElementImpl::ch):
2347         (DOM::HTMLTableSectionElementImpl::setCh):
2348         (DOM::HTMLTableSectionElementImpl::chOff):
2349         (DOM::HTMLTableSectionElementImpl::setChOff):
2350         (DOM::HTMLTableSectionElementImpl::vAlign):
2351         (DOM::HTMLTableSectionElementImpl::setVAlign):
2352         (DOM::HTMLTableRowElementImpl::align):
2353         (DOM::HTMLTableRowElementImpl::setAlign):
2354         (DOM::HTMLTableRowElementImpl::bgColor):
2355         (DOM::HTMLTableRowElementImpl::setBgColor):
2356         (DOM::HTMLTableRowElementImpl::ch):
2357         (DOM::HTMLTableRowElementImpl::setCh):
2358         (DOM::HTMLTableRowElementImpl::chOff):
2359         (DOM::HTMLTableRowElementImpl::setChOff):
2360         (DOM::HTMLTableRowElementImpl::vAlign):
2361         (DOM::HTMLTableRowElementImpl::setVAlign):
2362         (DOM::HTMLTableCellElementImpl::mapToEntry):
2363         (DOM::HTMLTableCellElementImpl::parseMappedAttribute):
2364         (DOM::HTMLTableCellElementImpl::isURLAttribute):
2365         (DOM::HTMLTableCellElementImpl::abbr):
2366         (DOM::HTMLTableCellElementImpl::setAbbr):
2367         (DOM::HTMLTableCellElementImpl::align):
2368         (DOM::HTMLTableCellElementImpl::setAlign):
2369         (DOM::HTMLTableCellElementImpl::axis):
2370         (DOM::HTMLTableCellElementImpl::setAxis):
2371         (DOM::HTMLTableCellElementImpl::bgColor):
2372         (DOM::HTMLTableCellElementImpl::setBgColor):
2373         (DOM::HTMLTableCellElementImpl::ch):
2374         (DOM::HTMLTableCellElementImpl::setCh):
2375         (DOM::HTMLTableCellElementImpl::chOff):
2376         (DOM::HTMLTableCellElementImpl::setChOff):
2377         (DOM::HTMLTableCellElementImpl::setColSpan):
2378         (DOM::HTMLTableCellElementImpl::headers):
2379         (DOM::HTMLTableCellElementImpl::setHeaders):
2380         (DOM::HTMLTableCellElementImpl::height):
2381         (DOM::HTMLTableCellElementImpl::setHeight):
2382         (DOM::HTMLTableCellElementImpl::noWrap):
2383         (DOM::HTMLTableCellElementImpl::setNoWrap):
2384         (DOM::HTMLTableCellElementImpl::setRowSpan):
2385         (DOM::HTMLTableCellElementImpl::scope):
2386         (DOM::HTMLTableCellElementImpl::setScope):
2387         (DOM::HTMLTableCellElementImpl::vAlign):
2388         (DOM::HTMLTableCellElementImpl::setVAlign):
2389         (DOM::HTMLTableCellElementImpl::width):
2390         (DOM::HTMLTableCellElementImpl::setWidth):
2391         (DOM::HTMLTableColElementImpl::mapToEntry):
2392         (DOM::HTMLTableColElementImpl::parseMappedAttribute):
2393         (DOM::HTMLTableColElementImpl::align):
2394         (DOM::HTMLTableColElementImpl::setAlign):
2395         (DOM::HTMLTableColElementImpl::ch):
2396         (DOM::HTMLTableColElementImpl::setCh):
2397         (DOM::HTMLTableColElementImpl::chOff):
2398         (DOM::HTMLTableColElementImpl::setChOff):
2399         (DOM::HTMLTableColElementImpl::setSpan):
2400         (DOM::HTMLTableColElementImpl::vAlign):
2401         (DOM::HTMLTableColElementImpl::setVAlign):
2402         (DOM::HTMLTableColElementImpl::width):
2403         (DOM::HTMLTableColElementImpl::setWidth):
2404         (DOM::HTMLTableCaptionElementImpl::mapToEntry):
2405         (DOM::HTMLTableCaptionElementImpl::parseMappedAttribute):
2406         (DOM::HTMLTableCaptionElementImpl::align):
2407         (DOM::HTMLTableCaptionElementImpl::setAlign):
2408         * khtml/html/html_tableimpl.h:
2409         * khtml/html/htmlnames.cpp:
2410         (DOM::HTMLNames::init):
2411         (DOM::HTMLAttributes::init):
2412         * khtml/html/htmlnames.h:
2413         * khtml/html/htmlparser.cpp:
2414         (HTMLParser::handleError):
2415         (HTMLParser::framesetCreateErrorCheck):
2416         (HTMLParser::handleIsindex):
2417         * khtml/html/htmltokenizer.cpp:
2418         (khtml::Token::addAttribute):
2419         (khtml::HTMLTokenizer::HTMLTokenizer):
2420         (khtml::HTMLTokenizer::parseTag):
2421         (khtml::HTMLTokenizer::processToken):
2422         * khtml/html/htmltokenizer.h:
2423         * khtml/khtml_part.cpp:
2424         (KHTMLPart::init):
2425         (KHTMLPart::backgroundURL):
2426         (KHTMLPart::updateActions):
2427         (KHTMLPart::handleMouseMoveEventDrag):
2428         (KHTMLPart::selectionComputedStyle):
2429         (KHTMLPart::applyEditingStyleToElement):
2430         (KHTMLPart::removeEditingStyleFromElement):
2431         * khtml/khtmlview.cpp:
2432         * khtml/misc/decoder.cpp:
2433         * khtml/misc/htmlattrs.in: Removed.
2434         * khtml/misc/htmlhashes.cpp: Removed.
2435         * khtml/misc/htmlhashes.h: Removed.
2436         * khtml/misc/htmltags.in: Removed.
2437         * khtml/misc/makeattrs: Removed.
2438         * khtml/misc/maketags: Removed.
2439         * khtml/rendering/render_box.cpp:
2440         * khtml/rendering/render_form.cpp:
2441         (RenderLineEdit::updateFromElement):
2442         (RenderSelect::updateFromElement):
2443         (RenderSlider::updateFromElement):
2444         (RenderSlider::slotSliderValueChanged):
2445         * khtml/rendering/render_frames.cpp:
2446         (RenderPartObject::updateWidget):
2447         * khtml/rendering/render_object.cpp:
2448         * khtml/rendering/render_table.cpp:
2449         (RenderTableCell::calcMinMaxWidth):
2450         * khtml/xml/dom_docimpl.cpp:
2451         (DocumentImpl::createElement):
2452         (DocumentImpl::importNode):
2453         (DocumentImpl::createElementNS):
2454         (DocumentImpl::getElementById):
2455         (DocumentImpl::getElementByAccessKey):
2456         (DocumentImpl::prepareMouseEvent):
2457         (DocumentImpl::recalcStyleSelector):
2458         (DocumentImpl::createAttributeNS):
2459         * khtml/xml/dom_docimpl.h:
2460         * khtml/xml/dom_elementimpl.cpp:
2461         (AttributeImpl::clone):
2462         (AttributeImpl::allocateImpl):
2463         (AttrImpl::AttrImpl):
2464         (AttrImpl::~AttrImpl):
2465         (AttrImpl::nodeName):
2466         (AttrImpl::name):
2467         (ElementImpl::removeAttribute):
2468         (ElementImpl::setAttribute):
2469         (ElementImpl::getAttribute):
2470         (ElementImpl::getAttributeNS):
2471         (ElementImpl::createAttribute):
2472         (ElementImpl::setAttributeMap):
2473         (ElementImpl::nodeName):
2474         (ElementImpl::insertedIntoDocument):
2475         (ElementImpl::removedFromDocument):
2476         (ElementImpl::openTagStartToString):
2477         (ElementImpl::dump):
2478         (ElementImpl::formatForDebugger):
2479         (ElementImpl::removeAttributeNode):
2480         (ElementImpl::setAttributeNS):
2481         (ElementImpl::removeAttributeNS):
2482         (ElementImpl::getAttributeNodeNS):
2483         (ElementImpl::hasAttributeNS):
2484         (NamedAttrMapImpl::getNamedItem):
2485         (NamedAttrMapImpl::setNamedItem):
2486         (NamedAttrMapImpl::removeNamedItem):
2487         (NamedAttrMapImpl::getAttributeItem):
2488         (NamedAttrMapImpl::clearAttributes):
2489         (NamedAttrMapImpl::operator=):
2490         (NamedAttrMapImpl::addAttribute):
2491         (NamedAttrMapImpl::removeAttribute):
2492         (StyledElementImpl::getMappedAttributeDecl):
2493         (StyledElementImpl::setMappedAttributeDecl):
2494         (StyledElementImpl::removeMappedAttributeDecl):
2495         (StyledElementImpl::updateStyleAttributeIfNeeded):
2496         (MappedAttributeImpl::clone):
2497         (NamedMappedAttrMapImpl::mapsEquivalent):
2498         (StyledElementImpl::createAttribute):
2499         (StyledElementImpl::attributeChanged):
2500         (StyledElementImpl::mapToEntry):
2501         (StyledElementImpl::parseMappedAttribute):
2502         * khtml/xml/dom_elementimpl.h:
2503         (DOM::AttributeImpl::AttributeImpl):
2504         (DOM::AttributeImpl::value):
2505         (DOM::AttributeImpl::prefix):
2506         (DOM::AttributeImpl::localName):
2507         (DOM::AttributeImpl::namespaceURI):
2508         (DOM::AttributeImpl::name):
2509         (DOM::AttributeImpl::attrImpl):
2510         (DOM::AttributeImpl::isNull):
2511         (DOM::AttributeImpl::isEmpty):
2512         (DOM::AttributeImpl::setValue):
2513         (DOM::AttributeImpl::setPrefix):
2514         (DOM::NamedAttrMapImpl::insertAttribute):
2515         (DOM::CSSMappedAttributeDeclarationImpl::CSSMappedAttributeDeclarationImpl):
2516         (DOM::CSSMappedAttributeDeclarationImpl::setMappedState):
2517         (DOM::MappedAttributeImpl::MappedAttributeImpl):
2518         (DOM::StyledElementImpl::isMappedAttribute):
2519         * khtml/xml/dom_nodeimpl.cpp:
2520         (DOM::NodeImpl::namespaceURI):
2521         (DOM::appendAttributeDesc):
2522         (DOM::NodeImpl::showNode):
2523         (DOM::NameNodeListImpl::nodeMatches):
2524         (DOM::NamedNodeMapImpl::getNamedItemNS):
2525         (DOM::NamedNodeMapImpl::removeNamedItemNS):
2526         * khtml/xml/dom_nodeimpl.h:
2527         * khtml/xml/dom_qname.cpp:
2528         (DOM::QualifiedName::toString):
2529         (DOM::QualifiedName::init):
2530         * khtml/xml/dom_qname.h:
2531         (DOM::anyQName):
2532         * khtml/xml/dom_textimpl.cpp:
2533         * khtml/xml/xml_tokenizer.cpp:
2534         (khtml::XMLTokenizer::startElement):
2535         (khtml::XMLTokenizer::insertErrorMessageBlock):
2536         (khtml::XMLTokenizer::executeScripts):
2537         * kwq/DOMHTML.h:
2538         * kwq/DOMHTML.mm:
2539         (-[DOMHTMLElement idName]):
2540         (-[DOMHTMLElement setIdName:]):
2541         (-[DOMHTMLElement title]):
2542         (-[DOMHTMLElement setTitle:]):
2543         (-[DOMHTMLElement lang]):
2544         (-[DOMHTMLElement setLang:]):
2545         (-[DOMHTMLElement dir]):
2546         (-[DOMHTMLElement setDir:]):
2547         (-[DOMHTMLElement className]):
2548         (-[DOMHTMLElement setClassName:]):
2549         (-[DOMHTMLHtmlElement version]):
2550         (-[DOMHTMLHtmlElement setVersion:]):
2551         (-[DOMHTMLHeadElement profile]):
2552         (-[DOMHTMLHeadElement setProfile:]):
2553         (-[DOMHTMLLinkElement disabled]):
2554         (-[DOMHTMLLinkElement setDisabled:]):
2555         (-[DOMHTMLLinkElement charset]):
2556         (-[DOMHTMLLinkElement setCharset:]):
2557         (-[DOMHTMLLinkElement setHref:]):
2558         (-[DOMHTMLLinkElement hreflang]):
2559         (-[DOMHTMLLinkElement setHreflang:]):
2560         (-[DOMHTMLLinkElement media]):
2561         (-[DOMHTMLLinkElement setMedia:]):
2562         (-[DOMHTMLLinkElement rel]):
2563         (-[DOMHTMLLinkElement setRel:]):
2564         (-[DOMHTMLLinkElement rev]):
2565         (-[DOMHTMLLinkElement setRev:]):
2566         (-[DOMHTMLLinkElement target]):
2567         (-[DOMHTMLLinkElement setTarget:]):
2568         (-[DOMHTMLLinkElement type]):
2569         (-[DOMHTMLLinkElement setType:]):
2570         (-[DOMHTMLTitleElement text]):
2571         (-[DOMHTMLTitleElement setText:]):
2572         (-[DOMHTMLMetaElement content]):
2573         (-[DOMHTMLMetaElement setContent:]):
2574         (-[DOMHTMLMetaElement httpEquiv]):
2575         (-[DOMHTMLMetaElement setHttpEquiv:]):
2576         (-[DOMHTMLMetaElement name]):
2577         (-[DOMHTMLMetaElement setName:]):
2578         (-[DOMHTMLMetaElement scheme]):
2579         (-[DOMHTMLMetaElement setScheme:]):
2580         (-[DOMHTMLBaseElement setHref:]):
2581         (-[DOMHTMLBaseElement target]):
2582         (-[DOMHTMLBaseElement setTarget:]):
2583         (-[DOMHTMLStyleElement disabled]):
2584         (-[DOMHTMLStyleElement setDisabled:]):
2585         (-[DOMHTMLStyleElement media]):
2586         (-[DOMHTMLStyleElement setMedia:]):
2587         (-[DOMHTMLStyleElement type]):
2588         (-[DOMHTMLStyleElement setType:]):
2589         (-[DOMHTMLBodyElement aLink]):
2590         (-[DOMHTMLBodyElement setALink:]):
2591         (-[DOMHTMLBodyElement background]):
2592         (-[DOMHTMLBodyElement setBackground:]):
2593         (-[DOMHTMLBodyElement bgColor]):
2594         (-[DOMHTMLBodyElement setBgColor:]):
2595         (-[DOMHTMLBodyElement link]):
2596         (-[DOMHTMLBodyElement setLink:]):
2597         (-[DOMHTMLBodyElement text]):
2598         (-[DOMHTMLBodyElement setText:]):
2599         (-[DOMHTMLBodyElement vLink]):
2600         (-[DOMHTMLBodyElement setVLink:]):
2601         (-[DOMHTMLFormElement name]):
2602         (-[DOMHTMLFormElement setName:]):
2603         (-[DOMHTMLFormElement acceptCharset]):
2604         (-[DOMHTMLFormElement setAcceptCharset:]):
2605         (-[DOMHTMLFormElement action]):
2606         (-[DOMHTMLFormElement setAction:]):
2607         (-[DOMHTMLFormElement enctype]):
2608         (-[DOMHTMLFormElement setEnctype:]):
2609         (-[DOMHTMLFormElement method]):
2610         (-[DOMHTMLFormElement setMethod:]):
2611         (-[DOMHTMLFormElement target]):
2612         (-[DOMHTMLFormElement setTarget:]):
2613         (-[DOMHTMLIsIndexElement prompt]):
2614         (-[DOMHTMLIsIndexElement setPrompt:]):
2615         (-[DOMHTMLSelectElement disabled]):
2616         (-[DOMHTMLSelectElement setDisabled:]):
2617         (-[DOMHTMLSelectElement multiple]):
2618         (-[DOMHTMLSelectElement setMultiple:]):
2619         (-[DOMHTMLSelectElement size]):
2620         (-[DOMHTMLSelectElement setSize:]):
2621         (-[DOMHTMLOptGroupElement disabled]):
2622         (-[DOMHTMLOptGroupElement setDisabled:]):
2623         (-[DOMHTMLOptGroupElement label]):
2624         (-[DOMHTMLOptGroupElement setLabel:]):
2625         (-[DOMHTMLOptionElement defaultSelected]):
2626         (-[DOMHTMLOptionElement setDefaultSelected:]):
2627         (-[DOMHTMLOptionElement disabled]):
2628         (-[DOMHTMLOptionElement setDisabled:]):
2629         (-[DOMHTMLOptionElement label]):
2630         (-[DOMHTMLOptionElement setLabel:]):
2631         (-[DOMHTMLInputElement defaultValue]):
2632         (-[DOMHTMLInputElement setDefaultValue:]):
2633         (-[DOMHTMLInputElement defaultChecked]):
2634         (-[DOMHTMLInputElement setDefaultChecked:]):
2635         (-[DOMHTMLInputElement accept]):
2636         (-[DOMHTMLInputElement setAccept:]):
2637         (-[DOMHTMLInputElement accessKey]):
2638         (-[DOMHTMLInputElement setAccessKey:]):
2639         (-[DOMHTMLInputElement align]):
2640         (-[DOMHTMLInputElement setAlign:]):
2641         (-[DOMHTMLInputElement alt]):
2642         (-[DOMHTMLInputElement setAlt:]):
2643         (-[DOMHTMLInputElement disabled]):
2644         (-[DOMHTMLInputElement setDisabled:]):
2645         (-[DOMHTMLInputElement maxLength]):
2646         (-[DOMHTMLInputElement setMaxLength:]):
2647         (-[DOMHTMLInputElement readOnly]):
2648         (-[DOMHTMLInputElement setReadOnly:]):
2649         (-[DOMHTMLInputElement size]):
2650         (-[DOMHTMLInputElement setSize:]):
2651         (-[DOMHTMLInputElement setSrc:]):
2652         (-[DOMHTMLInputElement useMap]):
2653         (-[DOMHTMLInputElement setUseMap:]):
2654         (-[DOMHTMLTextAreaElement accessKey]):
2655         (-[DOMHTMLTextAreaElement setAccessKey:]):
2656         (-[DOMHTMLTextAreaElement cols]):
2657         (-[DOMHTMLTextAreaElement setCols:]):
2658         (-[DOMHTMLTextAreaElement disabled]):
2659         (-[DOMHTMLTextAreaElement setDisabled:]):
2660         (-[DOMHTMLTextAreaElement readOnly]):
2661         (-[DOMHTMLTextAreaElement setReadOnly:]):
2662         (-[DOMHTMLTextAreaElement rows]):
2663         (-[DOMHTMLTextAreaElement setRows:]):
2664         (-[DOMHTMLButtonElement accessKey]):
2665         (-[DOMHTMLButtonElement setAccessKey:]):
2666         (-[DOMHTMLButtonElement disabled]):
2667         (-[DOMHTMLButtonElement setDisabled:]):
2668         (-[DOMHTMLButtonElement value]):
2669         (-[DOMHTMLButtonElement setValue:]):
2670         (-[DOMHTMLLabelElement accessKey]):
2671         (-[DOMHTMLLabelElement setAccessKey:]):
2672         (-[DOMHTMLLabelElement htmlFor]):
2673         (-[DOMHTMLLabelElement setHtmlFor:]):
2674         (-[DOMHTMLLegendElement accessKey]):
2675         (-[DOMHTMLLegendElement setAccessKey:]):
2676         (-[DOMHTMLLegendElement align]):
2677         (-[DOMHTMLLegendElement setAlign:]):
2678         (-[DOMHTMLUListElement compact]):
2679         (-[DOMHTMLUListElement setCompact:]):
2680         (-[DOMHTMLUListElement type]):
2681         (-[DOMHTMLUListElement setType:]):
2682         (-[DOMHTMLOListElement compact]):
2683         (-[DOMHTMLOListElement setCompact:]):
2684         (-[DOMHTMLOListElement start]):
2685         (-[DOMHTMLOListElement setStart:]):
2686         (-[DOMHTMLOListElement type]):
2687         (-[DOMHTMLOListElement setType:]):
2688         (-[DOMHTMLDListElement compact]):
2689         (-[DOMHTMLDListElement setCompact:]):
2690         (-[DOMHTMLDirectoryElement compact]):
2691         (-[DOMHTMLDirectoryElement setCompact:]):
2692         (-[DOMHTMLMenuElement compact]):
2693         (-[DOMHTMLMenuElement setCompact:]):
2694         (-[DOMHTMLLIElement type]):
2695         (-[DOMHTMLLIElement setType:]):
2696         (-[DOMHTMLLIElement value]):
2697         (-[DOMHTMLLIElement setValue:]):
2698         (-[DOMHTMLQuoteElement cite]):
2699         (-[DOMHTMLQuoteElement setCite:]):
2700         (-[DOMHTMLDivElement align]):
2701         (-[DOMHTMLDivElement setAlign:]):
2702         (-[DOMHTMLParagraphElement align]):
2703         (-[DOMHTMLParagraphElement setAlign:]):
2704         (-[DOMHTMLHeadingElement align]):
2705         (-[DOMHTMLHeadingElement setAlign:]):
2706         (-[DOMHTMLPreElement width]):
2707         (-[DOMHTMLPreElement setWidth:]):
2708         (-[DOMHTMLBRElement clear]):
2709         (-[DOMHTMLBRElement setClear:]):
2710         (-[DOMHTMLBaseFontElement color]):
2711         (-[DOMHTMLBaseFontElement setColor:]):
2712         (-[DOMHTMLBaseFontElement face]):
2713         (-[DOMHTMLBaseFontElement setFace:]):
2714         (-[DOMHTMLBaseFontElement size]):
2715         (-[DOMHTMLBaseFontElement setSize:]):
2716         (-[DOMHTMLFontElement color]):
2717         (-[DOMHTMLFontElement setColor:]):
2718         (-[DOMHTMLFontElement face]):
2719         (-[DOMHTMLFontElement setFace:]):
2720         (-[DOMHTMLFontElement size]):
2721         (-[DOMHTMLFontElement setSize:]):
2722         (-[DOMHTMLHRElement align]):
2723         (-[DOMHTMLHRElement setAlign:]):
2724         (-[DOMHTMLHRElement noShade]):
2725         (-[DOMHTMLHRElement setNoShade:]):
2726         (-[DOMHTMLHRElement size]):
2727         (-[DOMHTMLHRElement setSize:]):
2728         (-[DOMHTMLHRElement width]):
2729         (-[DOMHTMLHRElement setWidth:]):
2730         (-[DOMHTMLModElement cite]):
2731         (-[DOMHTMLModElement setCite:]):
2732         (-[DOMHTMLModElement dateTime]):
2733         (-[DOMHTMLModElement setDateTime:]):
2734         (-[DOMHTMLAnchorElement accessKey]):
2735         (-[DOMHTMLAnchorElement setAccessKey:]):
2736         (-[DOMHTMLAnchorElement charset]):
2737         (-[DOMHTMLAnchorElement setCharset:]):
2738         (-[DOMHTMLAnchorElement coords]):
2739         (-[DOMHTMLAnchorElement setCoords:]):
2740         (-[DOMHTMLAnchorElement setHref:]):
2741         (-[DOMHTMLAnchorElement hreflang]):
2742         (-[DOMHTMLAnchorElement setHreflang:]):
2743         (-[DOMHTMLAnchorElement name]):
2744         (-[DOMHTMLAnchorElement setName:]):
2745         (-[DOMHTMLAnchorElement rel]):
2746         (-[DOMHTMLAnchorElement setRel:]):
2747         (-[DOMHTMLAnchorElement rev]):
2748         (-[DOMHTMLAnchorElement setRev:]):
2749         (-[DOMHTMLAnchorElement shape]):
2750         (-[DOMHTMLAnchorElement setShape:]):
2751         (-[DOMHTMLAnchorElement tabIndex]):
2752         (-[DOMHTMLAnchorElement setTabIndex:]):
2753         (-[DOMHTMLAnchorElement target]):
2754         (-[DOMHTMLAnchorElement setTarget:]):
2755         (-[DOMHTMLAnchorElement type]):
2756         (-[DOMHTMLAnchorElement setType:]):
2757         (-[DOMHTMLImageElement name]):
2758         (-[DOMHTMLImageElement setName:]):
2759         (-[DOMHTMLImageElement align]):
2760         (-[DOMHTMLImageElement setAlign:]):
2761         (-[DOMHTMLImageElement alt]):
2762         (-[DOMHTMLImageElement setAlt:]):
2763         (-[DOMHTMLImageElement border]):
2764         (-[DOMHTMLImageElement setBorder:]):
2765         (-[DOMHTMLImageElement height]):
2766         (-[DOMHTMLImageElement setHeight:]):
2767         (-[DOMHTMLImageElement hspace]):
2768         (-[DOMHTMLImageElement setHspace:]):
2769         (-[DOMHTMLImageElement isMap]):
2770         (-[DOMHTMLImageElement setIsMap:]):
2771         (-[DOMHTMLImageElement longDesc]):
2772         (-[DOMHTMLImageElement setLongDesc:]):
2773         (-[DOMHTMLImageElement setSrc:]):
2774         (-[DOMHTMLImageElement useMap]):
2775         (-[DOMHTMLImageElement setUseMap:]):
2776         (-[DOMHTMLImageElement vspace]):
2777         (-[DOMHTMLImageElement setVspace:]):
2778         (-[DOMHTMLImageElement width]):
2779         (-[DOMHTMLImageElement setWidth:]):
2780         (-[DOMHTMLObjectElement code]):
2781         (-[DOMHTMLObjectElement setCode:]):
2782         (-[DOMHTMLObjectElement align]):
2783         (-[DOMHTMLObjectElement setAlign:]):
2784         (-[DOMHTMLObjectElement archive]):
2785         (-[DOMHTMLObjectElement setArchive:]):
2786         (-[DOMHTMLObjectElement border]):
2787         (-[DOMHTMLObjectElement setBorder:]):
2788         (-[DOMHTMLObjectElement codeBase]):
2789         (-[DOMHTMLObjectElement setCodeBase:]):
2790         (-[DOMHTMLObjectElement codeType]):
2791         (-[DOMHTMLObjectElement setCodeType:]):
2792         (-[DOMHTMLObjectElement data]):
2793         (-[DOMHTMLObjectElement setData:]):
2794         (-[DOMHTMLObjectElement declare]):
2795         (-[DOMHTMLObjectElement setDeclare:]):
2796         (-[DOMHTMLObjectElement height]):
2797         (-[DOMHTMLObjectElement setHeight:]):
2798         (-[DOMHTMLObjectElement hspace]):
2799         (-[DOMHTMLObjectElement setHspace:]):
2800         (-[DOMHTMLObjectElement name]):
2801         (-[DOMHTMLObjectElement setName:]):
2802         (-[DOMHTMLObjectElement standby]):
2803         (-[DOMHTMLObjectElement setStandby:]):
2804         (-[DOMHTMLObjectElement tabIndex]):
2805         (-[DOMHTMLObjectElement setTabIndex:]):
2806         (-[DOMHTMLObjectElement type]):
2807         (-[DOMHTMLObjectElement setType:]):
2808         (-[DOMHTMLObjectElement useMap]):
2809         (-[DOMHTMLObjectElement setUseMap:]):
2810         (-[DOMHTMLObjectElement vspace]):
2811         (-[DOMHTMLObjectElement setVspace:]):
2812         (-[DOMHTMLObjectElement width]):
2813         (-[DOMHTMLObjectElement setWidth:]):
2814         (-[DOMHTMLParamElement name]):
2815         (-[DOMHTMLParamElement setName:]):
2816         (-[DOMHTMLParamElement type]):
2817         (-[DOMHTMLParamElement setType:]):
2818         (-[DOMHTMLParamElement value]):
2819         (-[DOMHTMLParamElement setValue:]):
2820         (-[DOMHTMLParamElement valueType]):
2821         (-[DOMHTMLParamElement setValueType:]):
2822         (-[DOMHTMLAppletElement align]):
2823         (-[DOMHTMLAppletElement setAlign:]):
2824         (-[DOMHTMLAppletElement alt]):
2825         (-[DOMHTMLAppletElement setAlt:]):
2826         (-[DOMHTMLAppletElement archive]):
2827         (-[DOMHTMLAppletElement setArchive:]):
2828         (-[DOMHTMLAppletElement code]):
2829         (-[DOMHTMLAppletElement setCode:]):
2830         (-[DOMHTMLAppletElement codeBase]):
2831         (-[DOMHTMLAppletElement setCodeBase:]):
2832         (-[DOMHTMLAppletElement height]):
2833         (-[DOMHTMLAppletElement setHeight:]):
2834         (-[DOMHTMLAppletElement hspace]):
2835         (-[DOMHTMLAppletElement setHspace:]):
2836         (-[DOMHTMLAppletElement name]):
2837         (-[DOMHTMLAppletElement setName:]):
2838         (-[DOMHTMLAppletElement object]):
2839         (-[DOMHTMLAppletElement setObject:]):
2840         (-[DOMHTMLAppletElement vspace]):
2841         (-[DOMHTMLAppletElement setVspace:]):
2842         (-[DOMHTMLAppletElement width]):
2843         (-[DOMHTMLAppletElement setWidth:]):
2844         (-[DOMHTMLMapElement name]):
2845         (-[DOMHTMLMapElement setName:]):
2846         (-[DOMHTMLAreaElement accessKey]):
2847         (-[DOMHTMLAreaElement setAccessKey:]):
2848         (-[DOMHTMLAreaElement alt]):
2849         (-[DOMHTMLAreaElement setAlt:]):
2850         (-[DOMHTMLAreaElement coords]):
2851         (-[DOMHTMLAreaElement setCoords:]):
2852         (-[DOMHTMLAreaElement setHref:]):
2853         (-[DOMHTMLAreaElement noHref]):
2854         (-[DOMHTMLAreaElement setNoHref:]):
2855         (-[DOMHTMLAreaElement shape]):
2856         (-[DOMHTMLAreaElement setShape:]):
2857         (-[DOMHTMLAreaElement tabIndex]):
2858         (-[DOMHTMLAreaElement setTabIndex:]):
2859         (-[DOMHTMLAreaElement target]):
2860         (-[DOMHTMLAreaElement setTarget:]):
2861         (-[DOMHTMLScriptElement text]):
2862         (-[DOMHTMLScriptElement setText:]):
2863         (-[DOMHTMLScriptElement charset]):
2864         (-[DOMHTMLScriptElement setCharset:]):
2865         (-[DOMHTMLScriptElement defer]):
2866         (-[DOMHTMLScriptElement setDefer:]):
2867         (-[DOMHTMLScriptElement src]):
2868         (-[DOMHTMLScriptElement setSrc:]):
2869         (-[DOMHTMLScriptElement type]):
2870         (-[DOMHTMLScriptElement setType:]):
2871         (-[DOMHTMLTableCaptionElement align]):
2872         (-[DOMHTMLTableCaptionElement setAlign:]):
2873         (-[DOMHTMLTableSectionElement align]):
2874         (-[DOMHTMLTableSectionElement setAlign:]):
2875         (-[DOMHTMLTableSectionElement ch]):
2876         (-[DOMHTMLTableSectionElement setCh:]):
2877         (-[DOMHTMLTableSectionElement chOff]):
2878         (-[DOMHTMLTableSectionElement setChOff:]):
2879         (-[DOMHTMLTableSectionElement vAlign]):
2880         (-[DOMHTMLTableSectionElement setVAlign:]):
2881         (-[DOMHTMLTableElement align]):
2882         (-[DOMHTMLTableElement setAlign:]):
2883         (-[DOMHTMLTableElement bgColor]):
2884         (-[DOMHTMLTableElement setBgColor:]):
2885         (-[DOMHTMLTableElement border]):
2886         (-[DOMHTMLTableElement setBorder:]):
2887         (-[DOMHTMLTableElement cellPadding]):
2888         (-[DOMHTMLTableElement setCellPadding:]):
2889         (-[DOMHTMLTableElement cellSpacing]):
2890         (-[DOMHTMLTableElement setCellSpacing:]):
2891         (-[DOMHTMLTableElement frameBorders]):
2892         (-[DOMHTMLTableElement setFrameBorders:]):
2893         (-[DOMHTMLTableElement rules]):
2894         (-[DOMHTMLTableElement setRules:]):
2895         (-[DOMHTMLTableElement summary]):
2896         (-[DOMHTMLTableElement setSummary:]):
2897         (-[DOMHTMLTableElement width]):
2898         (-[DOMHTMLTableElement setWidth:]):
2899         (-[DOMHTMLTableColElement align]):
2900         (-[DOMHTMLTableColElement setAlign:]):
2901         (-[DOMHTMLTableColElement ch]):
2902         (-[DOMHTMLTableColElement setCh:]):
2903         (-[DOMHTMLTableColElement chOff]):
2904         (-[DOMHTMLTableColElement setChOff:]):
2905         (-[DOMHTMLTableColElement span]):
2906         (-[DOMHTMLTableColElement setSpan:]):
2907         (-[DOMHTMLTableColElement vAlign]):
2908         (-[DOMHTMLTableColElement setVAlign:]):
2909         (-[DOMHTMLTableColElement width]):
2910         (-[DOMHTMLTableColElement setWidth:]):
2911         (-[DOMHTMLTableRowElement align]):
2912         (-[DOMHTMLTableRowElement setAlign:]):
2913         (-[DOMHTMLTableRowElement bgColor]):
2914         (-[DOMHTMLTableRowElement setBgColor:]):
2915         (-[DOMHTMLTableRowElement ch]):
2916         (-[DOMHTMLTableRowElement setCh:]):
2917         (-[DOMHTMLTableRowElement chOff]):
2918         (-[DOMHTMLTableRowElement setChOff:]):
2919         (-[DOMHTMLTableRowElement vAlign]):
2920         (-[DOMHTMLTableRowElement setVAlign:]):
2921         (-[DOMHTMLTableCellElement abbr]):
2922         (-[DOMHTMLTableCellElement setAbbr:]):
2923         (-[DOMHTMLTableCellElement align]):
2924         (-[DOMHTMLTableCellElement setAlign:]):
2925         (-[DOMHTMLTableCellElement axis]):
2926         (-[DOMHTMLTableCellElement setAxis:]):
2927         (-[DOMHTMLTableCellElement bgColor]):
2928         (-[DOMHTMLTableCellElement setBgColor:]):
2929         (-[DOMHTMLTableCellElement ch]):
2930         (-[DOMHTMLTableCellElement setCh:]):
2931         (-[DOMHTMLTableCellElement chOff]):
2932         (-[DOMHTMLTableCellElement setChOff:]):
2933         (-[DOMHTMLTableCellElement colSpan]):
2934         (-[DOMHTMLTableCellElement setColSpan:]):
2935         (-[DOMHTMLTableCellElement headers]):
2936         (-[DOMHTMLTableCellElement setHeaders:]):
2937         (-[DOMHTMLTableCellElement height]):
2938         (-[DOMHTMLTableCellElement setHeight:]):
2939         (-[DOMHTMLTableCellElement noWrap]):
2940         (-[DOMHTMLTableCellElement setNoWrap:]):
2941         (-[DOMHTMLTableCellElement rowSpan]):
2942         (-[DOMHTMLTableCellElement setRowSpan:]):
2943         (-[DOMHTMLTableCellElement scope]):
2944         (-[DOMHTMLTableCellElement setScope:]):
2945         (-[DOMHTMLTableCellElement vAlign]):
2946         (-[DOMHTMLTableCellElement setVAlign:]):
2947         (-[DOMHTMLTableCellElement width]):
2948         (-[DOMHTMLTableCellElement setWidth:]):
2949         (-[DOMHTMLFrameSetElement rows]):
2950         (-[DOMHTMLFrameSetElement setRows:]):
2951         (-[DOMHTMLFrameSetElement cols]):
2952         (-[DOMHTMLFrameSetElement setCols:]):
2953         (-[DOMHTMLFrameElement frameBorder]):
2954         (-[DOMHTMLFrameElement setFrameBorder:]):
2955         (-[DOMHTMLFrameElement longDesc]):
2956         (-[DOMHTMLFrameElement setLongDesc:]):
2957         (-[DOMHTMLFrameElement marginHeight]):
2958         (-[DOMHTMLFrameElement setMarginHeight:]):
2959         (-[DOMHTMLFrameElement marginWidth]):
2960         (-[DOMHTMLFrameElement setMarginWidth:]):
2961         (-[DOMHTMLFrameElement name]):
2962         (-[DOMHTMLFrameElement setName:]):
2963         (-[DOMHTMLFrameElement noResize]):
2964         (-[DOMHTMLFrameElement setNoResize:]):
2965         (-[DOMHTMLFrameElement scrolling]):
2966         (-[DOMHTMLFrameElement setScrolling:]):
2967         (-[DOMHTMLFrameElement src]):
2968         (-[DOMHTMLFrameElement setSrc:]):
2969         (-[DOMHTMLIFrameElement align]):
2970         (-[DOMHTMLIFrameElement setAlign:]):
2971         (-[DOMHTMLIFrameElement frameBorder]):
2972         (-[DOMHTMLIFrameElement setFrameBorder:]):
2973         (-[DOMHTMLIFrameElement height]):
2974         (-[DOMHTMLIFrameElement setHeight:]):
2975         (-[DOMHTMLIFrameElement longDesc]):
2976         (-[DOMHTMLIFrameElement setLongDesc:]):
2977         (-[DOMHTMLIFrameElement marginHeight]):
2978         (-[DOMHTMLIFrameElement setMarginHeight:]):
2979         (-[DOMHTMLIFrameElement marginWidth]):
2980         (-[DOMHTMLIFrameElement setMarginWidth:]):
2981         (-[DOMHTMLIFrameElement name]):
2982         (-[DOMHTMLIFrameElement setName:]):
2983         (-[DOMHTMLIFrameElement noResize]):
2984         (-[DOMHTMLIFrameElement setNoResize:]):
2985         (-[DOMHTMLIFrameElement scrolling]):
2986         (-[DOMHTMLIFrameElement setScrolling:]):
2987         (-[DOMHTMLIFrameElement src]):
2988         (-[DOMHTMLIFrameElement setSrc:]):
2989         (-[DOMHTMLIFrameElement width]):
2990         (-[DOMHTMLIFrameElement setWidth:]):
2991         (-[DOMHTMLEmbedElement align]):
2992         (-[DOMHTMLEmbedElement setAlign:]):
2993         (-[DOMHTMLEmbedElement height]):
2994         (-[DOMHTMLEmbedElement setHeight:]):
2995         (-[DOMHTMLEmbedElement name]):
2996         (-[DOMHTMLEmbedElement setName:]):
2997         (-[DOMHTMLEmbedElement src]):
2998         (-[DOMHTMLEmbedElement setSrc:]):
2999         (-[DOMHTMLEmbedElement type]):
3000         (-[DOMHTMLEmbedElement setType:]):
3001         (-[DOMHTMLEmbedElement width]):
3002         (-[DOMHTMLEmbedElement setWidth:]):
3003         * kwq/KWQAccObject.mm:
3004         (-[KWQAccObject helpText]):
3005         (-[KWQAccObject accessibilityDescription]):
3006         (-[KWQAccObject accessibilityAttributeValue:]):
3007         * kwq/KWQKHTMLPart.mm:
3008         (KWQKHTMLPart::matchLabelsAgainstElement):
3009         (KWQKHTMLPart::fileWrapperForElement):
3010         (KWQKHTMLPart::attributedString):
3011         (KWQKHTMLPart::styleForSelectionStart):
3012         * kwq/WebCoreBridge.mm:
3013         (-[WebCoreBridge elementAtPoint:]):
3014
3015 2005-07-18  David Harrison  <harrison@apple.com>
3016
3017         Reviewed by Justin.
3018
3019         <rdar://problem/4065343> Mail: Deleting a line sometimes makes the insertion point jump to the top of the message
3020         
3021         Test cases added: delete-br-011.html
3022
3023         * khtml/editing/delete_selection_command.cpp:
3024         (khtml::DeleteSelectionCommand::handleSpecialCaseBRDelete):
3025         Make sure m_endingSelection is usable.
3026         
3027         (khtml::DeleteSelectionCommand::doApply):
3028         Skip general delete related code when just doing handleSpecialCaseBRDelete().
3029         
3030         * layout-tests/editing/deleting/delete-br-011-expected.txt: Added.
3031         * layout-tests/editing/deleting/delete-br-011.html: Added.
3032         Mimics composing a Mail.app reply, clicking past the end of the content, and hitting delete key.
3033
3034 2005-07-15  Adele Peterson  <adele@apple.com>
3035
3036         Written by Anders Carlsson  <andersca@mac.com>
3037         Reviewed by Dave Hyatt.
3038
3039         - Fixes <http://bugzilla.opendarwin.org/show_bug.cgi?id=3653>
3040         
3041         Test cases added:
3042         layout-tests/fast/dom/createDocumentType.html: Added
3043         layout-tests/fast/dom/createDocumentType-expected.txt: Added
3044
3045         * khtml/xml/dom_nodeimpl.cpp: (DocumentPtr::nullDocumentPtr):
3046         * khtml/xml/dom_nodeimpl.h:
3047         Add nullDocumentPtr() function which returns a shared DocumentPtr
3048         object whose document always is 0.
3049         
3050         * khtml/xml/dom_docimpl.cpp: (DOMImplementationImpl::createDocumentType):
3051         Pass nullDocumentPtr as the document type's document.
3052
3053 2005-07-15  Adele Peterson  <adele@apple.com>
3054
3055         Written by Anders Carlsson  <andersca@mac.com>
3056         Reviewed by Maciej Stachowiak.
3057
3058         - Fixes <http://bugzilla.opendarwin.org/show_bug.cgi?id=3808>
3059
3060         Test cases added:
3061         * layout-tests/fast/js/location-assign.html: Added.
3062         * layout-tests/fast/js/location-assign-expected.txt: Added.
3063         * layout-tests/fast/js/resources/new-location.html: Added.
3064
3065         * khtml/ecma/kjs_window.cpp:
3066         (KJS::Location::get):
3067         (KJS::LocationFunc::tryCall):
3068         * khtml/ecma/kjs_window.h: (KJS::Location::): Implement location.assign.
3069
3070 2005-07-15  Adele Peterson  <adele@apple.com>
3071
3072         Updated layout tests for formatting changes from change for
3073         http://bugzilla.opendarwin.org/show_bug.cgi?id=3601
3074
3075         * layout-tests/fast/dom/outerText-no-element-expected.txt:
3076         * layout-tests/fast/dynamic/outerHTML-no-element-expected.txt:
3077         * layout-tests/fast/js/array-every-expected.txt:
3078         * layout-tests/fast/js/array-foreach-expected.txt:
3079         * layout-tests/fast/js/array-some-expected.txt:
3080         * layout-tests/fast/js/toString-stack-overflow-expected.txt:
3081
3082 2005-07-15  Kevin Decker  <kdecker@apple.com>
3083
3084         Reviewed by Adele
3085
3086         Fixed: http://bugzilla.opendarwin.org/show_bug.cgi?id=4009
3087         Test cases added: none, doesn't affect layout
3088
3089         * khtml/khtml_part.cpp:
3090         (KHTMLPart::scheduleLocationChange): Corrected an earlier mistake of testing an always non-zero constant. 
3091
3092 2005-07-14  John Sullivan  <sullivan@apple.com>
3093
3094         Reviewed by Ken Kocienda (setFocusNode) and Dave Hyatt (everything).
3095
3096         - WebCore part of fix for: 
3097         <rdar://problem/4181227> webpages incorrectly use standard instead of secondary highlighting in certain cases
3098
3099         Test cases added: none, doesn't affect layout
3100         
3101         There were two different problems leading to the same symptom, both of which needed to be fixed.
3102         The first problem was that ancient and unneeded code in setFocusNode(0) was setting the focus 
3103         to the enclosing WebHTMLView. The second problem was that the WebHTMLView didn't learn about
3104         form controls resigning first-responder-hood, and so didn't update the displayed focus state.
3105
3106         * khtml/xml/dom_docimpl.cpp:
3107         (DocumentImpl::setFocusNode):
3108         Removed a line of code that was setting the focus on the WebHTMLView whenever a form control
3109         lost focus. This doesn't make sense in a world where the focus might be moving to something
3110         outside of the web page entirely. This line of code was added ages ago to fix Radar 3037974,
3111         which is not reproducible anymore with this line of code removed.
3112         
3113         * kwq/WebCoreBridge.h:
3114         New bridge method -formControlIsResigningFirstResponder:, used to inform WebKit that a form
3115         control is losing first-responder-hood.
3116
3117         * kwq/KWQButton.mm:
3118         (-[KWQButton resignFirstResponder]):
3119         call formControlIsResigningFirstResponder:
3120
3121         * kwq/KWQComboBox.mm:
3122         (-[KWQPopUpButton resignFirstResponder]):
3123         ditto
3124         
3125         * kwq/KWQListBox.mm:
3126         (-[KWQTableView resignFirstResponder]):
3127         ditto
3128         
3129         * kwq/KWQSlider.mm:
3130         (-[KWQSlider resignFirstResponder]):
3131         ditto
3132         
3133         * kwq/KWQTextArea.mm:
3134         (-[KWQTextAreaTextView resignFirstResponder]):
3135         ditto
3136         
3137         * kwq/KWQTextField.mm:
3138         (-[KWQTextFieldController setHasFocus:]):
3139         ditto
3140
3141 2005-07-14  John Sullivan  <sullivan@apple.com>
3142
3143         Reviewed by Ken Kocienda.
3144         
3145         - fixed <rdar://problem/4181227> webpages incorrectly use standard instead of secondary highlighting in certain cases
3146
3147         Test cases added: none, doesn't affect layout
3148
3149         * khtml/xml/dom_docimpl.cpp:
3150         (DocumentImpl::setFocusNode):
3151         Removed a line of code that was setting the focus on the WebHTMLView whenever a form control
3152         lost focus. This doesn't make sense in a world where the focus might be moving to something
3153         outside of the web page entirely. This line of code was added ages ago to fix Radar 3037974,
3154         which is not reproducible anymore with this line of code removed.
3155
3156 2005-07-12  Justin Garcia  <justin.garcia@apple.com>
3157
3158         Reviewed by mjs
3159
3160         - Fixes <rdar://problem/4124326> [RTL] Lines in messages with Hebrew text and numbers are truncated by Tiger Mail 
3161         
3162         Mail sends plaintext when a message doesn't have any formatting, plaintext depends on 
3163         innertext, which depends on TextIterators.  A TextIterator iterates over text boxes 
3164         in render order, but assumes logical order, which was causing the problems.
3165
3166         Test cases added:
3167         * layout-tests/fast/text/international/bidi-innertext-expected.txt: Added.
3168         * layout-tests/fast/text/international/bidi-innertext.html: Added.
3169
3170         * khtml/editing/visible_text.cpp:
3171         (khtml::TextIterator::handleTextNode):
3172             If the text node contains reversed text, sort the text boxes (m_sortedTextBoxes).  
3173             Not all reversed text will be out of logical order, but this simple check is less expensive 
3174             than doing an exhaustive one.  Most text is LTR and an exhaustive check might hurt performance.
3175         (khtml::TextIterator::handleTextBox):
3176             Iterates over sorted text boxes when necessary
3177         * khtml/editing/visible_text.h:
3178         * khtml/rendering/render_text.cpp:
3179         (RenderText::RenderText):
3180         (RenderText::position):
3181             If asked to position a text box with reversed text, modify m_containsReversedText
3182         * khtml/rendering/render_text.h:
3183         (khtml::InlineTextBox::operator ==): Added to facilitate sorting
3184         (khtml::InlineTextBox::operator <): Ditto
3185         (khtml::RenderText::containsReversedText):
3186         
3187
3188 2005-07-14  Justin Garcia  <justin.garcia@apple.com>
3189
3190         Patch by Anders Carlsson and justin
3191
3192         Reviewed by mjs
3193         
3194         Fixes the following related bugs: 
3195         <http://bugzilla.opendarwin.org/show_bug.cgi?id=3298> insertRow generates DOM Exception if TABLE does not possess a TBODY
3196         <rdar://problem/4045213> insertRow fails on a <table> that has no <tbody> but does have other children in the DOM
3197         <rdar://problem/3609576> insertRow() on table object containing any characters but no TR & TD elements fails (3476)
3198         
3199         Does a better job of maintaining the firstBody variable so that it's not invalidated on .innerHTML = ""
3200         Better check for when to add an implicit tbody to hold the inserted row.
3201
3202         Test cases added: (NONE)
3203         * layout-tests/fast/dom/HTMLTableElement/insert-row-expected.txt: Added.
3204         * layout-tests/fast/dom/HTMLTableElement/insert-row.html: Added.
3205
3206         * khtml/html/html_tableimpl.cpp:
3207         (DOM::HTMLTableElementImpl::~HTMLTableElementImpl):
3208         (DOM::HTMLTableElementImpl::setTBody):
3209         (DOM::HTMLTableElementImpl::insertRow):
3210         (DOM::HTMLTableElementImpl::addChild):
3211         (DOM::HTMLTableElementImpl::childrenChanged):
3212         * khtml/html/html_tableimpl.h:
3213
3214
3215 2005-07-14  Vicki Murley  <vicki@apple.com>
3216
3217         Reviewed by hyatt, patch from Carsten Guenther.
3218
3219         - fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=3855
3220
3221         Test cases added:
3222         * manual-tests/bugzilla-3855.html: Added.
3223
3224         * kwq/KWQKHTMLPart.mm: 
3225         (KWQKHTMLPart::searchForLabelsAboveCell): check for the existence of the cell renderer
3226
3227 2005-07-14  Vicki Murley  <vicki@apple.com>
3228
3229         - added manual tests for <rdar://problem/4172380> [GENENTECH] window.opener not available 
3230         when child opened via target="_new"
3231         
3232         Test cases added: 
3233         * manual-tests/target_new-1.html: Added.
3234         * manual-tests/target_new.html: Added.
3235
3236 2005-07-14  Geoffrey Garen  <ggaren@apple.com>
3237
3238         - landed fix for <http://bugzilla.opendarwin.org/show_bug.cgi?id=3677>
3239         Safari fail to access a second time an element whose content was dynamically modified.
3240         
3241         - patch by Anders Carlsson <andersca@mac.com>.
3242
3243         Reviewed by mjs + darin.
3244
3245         Test cases added:
3246         * layout-tests/fast/dom/ids/duplicate-ids-expected.txt: Added.
3247         * layout-tests/fast/dom/ids/duplicate-ids.html: Added.
3248         
3249         * khtml/xml/dom_docimpl.cpp:
3250         (DocumentImpl::getElementById):
3251         If no element in the id dict can be found and we know that there's
3252         at least one other element with the same id around, then traverse the document
3253         and insert the new element in the id table.
3254         
3255         (DocumentImpl::addElementById):
3256         (DocumentImpl::removeElementById):
3257         Increment and decrement the id count accordingly.
3258         
3259         * khtml/xml/dom_docimpl.h:
3260         Add QDict for id counts. Make element QDict mutable.
3261
3262 2005-07-14  Geoffrey Garen  <ggaren@apple.com>
3263
3264         -landed layout test for http://bugzilla.opendarwin.org/show_bug.cgi?id=3412
3265         Object.prototype is missing toLocaleString
3266
3267         Reviewed by mjs.
3268
3269         Test cases added:
3270         * layout-tests/fast/js/object-prototype-toLocaleString-expected.txt: Added.
3271         * layout-tests/fast/js/object-prototype-toLocaleString.html: Added.
3272
3273 2005-07-14  Vicki Murley  <vicki@apple.com>
3274
3275         Reviewed by Kocienda.
3276
3277         - WebCore part of fix for  <rdar://problem/4172380> [GENENTECH] window.opener 
3278         not available when child opened via target="_new"
3279
3280         Add a setOpener function to the WebCore bridge, and call this function when opening
3281         new windows through Web Kit.
3282
3283         * kwq/WebCoreBridge.h:
3284         * kwq/WebCoreBridge.mm:
3285
3286 2005-07-12  Maciej Stachowiak  <mjs@apple.com>
3287
3288         Reviewed by Kevin.
3289
3290         - convert some more things to use the new hashtable
3291
3292         * khtml/ecma/kjs_binding.cpp:
3293         (KJS::domObjects):
3294         (KJS::domNodesPerDocument):
3295         (KJS::ScriptInterpreter::getDOMObject):
3296         (KJS::ScriptInterpreter::putDOMObject):
3297         (KJS::ScriptInterpreter::deleteDOMObject):
3298         (KJS::ScriptInterpreter::forgetDOMObject):
3299         (KJS::ScriptInterpreter::getDOMNodeForDocument):
3300         (KJS::ScriptInterpreter::forgetDOMNodeForDocument):
3301         (KJS::ScriptInterpreter::putDOMNodeForDocument):
3302         (KJS::ScriptInterpreter::forgetAllDOMNodesForDocument):
3303         (KJS::ScriptInterpreter::mark):
3304         (KJS::ScriptInterpreter::updateDOMNodeDocument):
3305         * khtml/ecma/kjs_binding.h:
3306         * khtml/ecma/kjs_window.h: Include QPtrDict header
3307         * khtml/ecma/xmlhttprequest.h: ditto
3308
3309         - fix a bug with remove of a nonexistent key - it used to trash
3310         the table
3311         
3312         * khtml/misc/hashtable.h:
3313         (khtml::::remove):
3314
3315 2005-07-13  Justin Garcia  <justin.garcia@apple.com>
3316
3317         Reviewed by mjs
3318
3319         Rolled in workarounds necessary to build with a gcc 4.0 regression introduced in build 5208:
3320         <rdar://problem/4175534> Regression in gcc-5208 "comparison of distinct Objective-C types lacks a cast" warning
3321         Problems overloading methods that take Objective-C typed arguments
3322             
3323         * kwq/KWQCursor.h:
3324         * kwq/KWQCursor.mm:
3325         (QCursor::makeWithNSCursor):
3326         * kwq/KWQKCursor.mm:
3327         (KCursor::crossCursor):
3328         (KCursor::handCursor):
3329         (KCursor::sizeAllCursor):
3330         (KCursor::ibeamCursor):
3331         (KCursor::waitCursor):
3332         (KCursor::whatsThisCursor):
3333         (KCursor::eastResizeCursor):
3334         (KCursor::northResizeCursor):
3335         (KCursor::northEastResizeCursor):
3336         (KCursor::northWestResizeCursor):
3337         (KCursor::southResizeCursor):
3338         (KCursor::southEastResizeCursor):
3339         (KCursor::southWestResizeCursor):
3340         (KCursor::westResizeCursor):
3341         * kwq/KWQKJobClasses.mm:
3342         (KIO::TransferJob::emitResult):
3343         (KIO::TransferJob::emitReceivedResponse):
3344         * kwq/KWQSignal.h:
3345         * kwq/KWQSignal.mm:
3346         (KWQSignal::callWithData):
3347         (KWQSignal::callWithResponse):
3348         * kwq/KWQSlot.h:
3349         * kwq/KWQSlot.mm:
3350         (KWQSlot::callWithData):
3351         (KWQSlot::callWithResponse):
3352         * kwq/KWQWidget.mm:
3353         (QWidget::cursor):
3354
3355 2005-07-13  Justin Garcia  <justin.garcia@apple.com>
3356
3357         Reviewed by mjs
3358
3359         Rolling in changes necessary to build with newer versions of gcc 4.0
3360
3361         * kwq/DOM-CSS.mm:
3362         (+[DOMCSSPrimitiveValue _valueWithImpl:]):
3363         * kwq/DOMEvents.h:
3364         * kwq/DOMInternal.h:
3365         (addDOMWrapper):
3366         * kwq/KWQButton.mm:
3367         (QButton::setWritingDirection):
3368         * kwq/KWQClipboard.mm:
3369         (KWQClipboard::dragNSImage):
3370         * kwq/KWQComboBox.mm:
3371         (QComboBox::setWritingDirection):
3372         (QComboBox::populateMenu):
3373         * kwq/KWQKHTMLPart.mm:
3374         (regExpForLabels):
3375         (KWQKHTMLPart::passWidgetMouseDownEventToWidget):
3376         (KWQKHTMLPart::fileWrapperForElement):
3377         * kwq/KWQLineEdit.mm:
3378         (QLineEdit::QLineEdit):
3379         * kwq/KWQListBox.mm:
3380         (QListBox::~QListBox):
3381         (QListBox::setSelectionMode):
3382         (QListBox::doneAppendingItems):
3383         (QListBox::setSelected):
3384         (QListBox::isSelected):
3385         (QListBox::setEnabled):
3386         (QListBox::sizeForNumberOfLines):
3387         (QListBox::setWritingDirection):
3388         * kwq/KWQScrollView.mm:
3389         (QScrollView::contentsX):
3390         (QScrollView::contentsY):
3391         * kwq/KWQTextArea.mm:
3392         (-[KWQTextArea _trackResizeFromMouseDown:]):
3393         (-[KWQTextAreaTextView _enclosingTextArea]):
3394         (-[KWQTextAreaTextView _resizeCornerRect]):
3395         * kwq/KWQTextEdit.mm:
3396         (QTextEdit::setAlignment):
3397         (QTextEdit::setWritingDirection):
3398         (QTextEdit::sizeWithColumnsAndRows):
3399         (QTextEdit::setPalette):
3400         * kwq/KWQWidget.mm:
3401         (QWidget::hasFocus):
3402         * kwq/WebCoreBridge.mm:
3403         (-[WebCoreBridge elementAtPoint:]):
3404
3405 2005-07-13  John Sullivan  <sullivan@apple.com>
3406
3407         Reviewed by Maciej Stachowiak.
3408         
3409         - cleaned up Find-related experimental code that I checked in a while back
3410
3411         * kwq/KWQKHTMLPart.h:
3412         remove findInSelection flag from findString()
3413         * kwq/KWQKHTMLPart.mm:
3414         (KWQKHTMLPart::findString):
3415         remove findInSelection flag. Always search the selection first, but if the found range is
3416         the same as the selection range, then search again from beyond the selection.
3417         
3418         * kwq/WebCoreBridge.h:
3419         * kwq/WebCoreBridge.mm:
3420         (-[WebCoreBridge searchFor:direction:caseSensitive:wrap:]):
3421         remove findInSelection flag
3422
3423 2005-07-13  Adele Peterson  <adele@apple.com>