8a359065ac246d792f2c361656b81ccc8a08534b
[WebKit-https.git] / WebCore / ChangeLog-2005-08-23
1 2005-07-21  Geoffrey Garen  <ggaren@apple.com>
2
3         Reviewed by NOBODY (OOPS!).
4
5         Test cases added: (NONE)
6
7         * WebCore.pbproj/project.pbxproj: Removed.
8
9 2005-07-21  Geoffrey Garen  <ggaren@apple.com>
10
11         Reviewed by NOBODY (OOPS!).
12
13         Test cases added: (NONE)
14
15         * WebCore.xcodeproj/.cvsignore: Added.
16
17 2005-07-21  Geoffrey Garen  <ggaren@apple.com>
18
19         Reviewed by NOBODY (OOPS!).
20
21         Test cases added: (NONE)
22
23         * WebCore.xcodeproj/project.pbxproj: Added.
24
25 2005-07-21  Geoffrey Garen  <ggaren@apple.com>
26
27         Reviewed by NOBODY (OOPS!).
28
29         Test cases added: (NONE)
30
31         * Makefile.am:
32
33 2005-07-21  Beth Dakin  <bdakin@apple.com>
34
35         Reviewed by Hyatt.
36         
37         -fix for <rdar://problem/4169069> Also fixes the behavior of generated content
38         when it is specified within a list element.
39
40         Test cases added: (NONE)
41
42         * khtml/rendering/render_block.cpp:
43         (khtml::RenderBlock::setStyle): Added loop to skip over list elements hen updating 
44                                         generatedcontent.
45         (khtml::RenderBlock::updateFirstLetter): Added clause so that the function updates the 
46                                                 first letter instead of just creating it.
47         * khtml/rendering/render_inline.cpp:
48         (RenderInline::setStyle): Added loop to skip over list elements when updating generated
49                                 content.
50
51 2005-07-20  Maciej Stachowiak  <mjs@apple.com>
52
53         Reviewed by Geoff.
54
55         - fix handling of special properties of the HTML document object. Now we
56         completely match IE.
57
58         Test cases added:
59         * layout-tests/fast/dom/HTMLDocument/document-special-properties.html:
60         Added; new exhaustive test case.
61         * layout-tests/fast/dom/HTMLDocument/document-special-properties-expected.txt: Added.
62
63         * khtml/ecma/kjs_html.cpp:
64         (KJS::HTMLDocument::hasOwnProperty): Check for named and doc extra named
65         items.
66         (KJS::HTMLDocument::get): Return the appropriate element, window or collection
67         by name; give such named items precedence over built-in and custom properties.
68         * khtml/ecma/kjs_window.cpp:
69         (KJS::Window::get): Replace quirky &* idiom with call to get().
70         * khtml/html/html_baseimpl.cpp:
71         (HTMLIFrameElementImpl::parseMappedAttribute): Track by name as a doc
72         extra named item.
73         (HTMLIFrameElementImpl::insertedIntoDocument): ditto
74         (HTMLIFrameElementImpl::removedFromDocument): ditto
75         * khtml/html/html_baseimpl.h:
76         * khtml/html/html_documentimpl.cpp:
77         (DOM::addItemToMap): Factored out from addNamedItem
78         (DOM::removeItemFromMap): Factored out from removeNamedItem
79         (DOM::HTMLDocumentImpl::addNamedItem): refactored
80         (DOM::HTMLDocumentImpl::removeNamedItem): refactored
81         (DOM::HTMLDocumentImpl::addDocExtraNamedItem): new method - maintains
82         a hashtable of the "extra" named items for a document, which are
83         iframes by name and applets and embeds by id.
84         (DOM::HTMLDocumentImpl::removeDocExtraNamedItem): ditto
85         (DOM::HTMLDocumentImpl::hasDocExtraNamedItem): ditto
86         * khtml/html/html_documentimpl.h:
87         * khtml/html/html_miscimpl.cpp:
88         (DOM::HTMLCollectionImpl::traverseNextItem): Remove support for
89         DOC_NAMEABLE_ITEMS collection - no longer needed.
90         (DOM::HTMLNameCollectionImpl::traverseNextItem): Add support for
91         DOCUMENT_NAMED_ITEMS, implementing the correct document rule.
92         * khtml/html/html_miscimpl.h:
93         (DOM::HTMLCollectionImpl::):
94         * khtml/html/html_objectimpl.cpp:
95         (DOM::HTMLAppletElementImpl::parseMappedAttribute): Track by id
96         as doc extra named item
97         (DOM::HTMLAppletElementImpl::insertedIntoDocument): ditto
98         (DOM::HTMLAppletElementImpl::removedFromDocument): ditto
99         (DOM::HTMLObjectElementImpl::parseMappedAttribute): ditto
100         (DOM::HTMLObjectElementImpl::insertedIntoDocument): ditto
101         (DOM::HTMLObjectElementImpl::removedFromDocument): ditto
102         * khtml/html/html_objectimpl.h:
103         * khtml/xml/dom_docimpl.cpp:
104         (DocumentImpl::nameableItems): removed - no longer used
105         (DocumentImpl::documentNamedItems): added
106         * khtml/xml/dom_docimpl.h:
107
108 2005-07-20  John Sullivan  <sullivan@apple.com>
109
110         Reviewed by Vicki Murley.
111         
112         - removed some form-related methods that weren't being used anywhere, in preparation
113         for weaning WebKit's WebFormDelegate protocol from NSView.
114
115         Test cases added: none, no behavior change
116
117         * kwq/KWQTextField.mm:
118         * kwq/WebCoreBridge.h:
119         removed these methods:
120         -control:didFailToFormatString:errorDescription:
121         -control:didFailToValidatePartialString:errorDescription:
122         -control:isValidObject:
123
124 2005-07-20  Adele Peterson  <adele@apple.com>
125
126         Rolling fix for <rdar://problem/4046602> back in.
127
128     2005-03-11  David Harrison  <harrison@apple.com>
129         
130         Reviewed by Darin.
131         
132         <rdar://problem/4046602> WebCore invokes undefined behavior when the spell checker isn't running
133
134         * kwq/KWQKHTMLPart.mm:
135         (KWQKHTMLPart::advanceToNextMisspelling):
136         (KWQKHTMLPart::markMisspellings):
137         Nil check checker.
138
139 2005-07-20  Adele Peterson  <adele@apple.com>
140
141         Reviewed by Darin.
142
143         - fixed <rdar://problem/4181058> 8C45: Safari repro crash with document.write (DOM::NodeImpl::dispatchEvent)
144
145         Test cases added:
146         * manual-tests/textfield-onblur.html: Added.
147         
148         * kwq/KWQTextField.mm: (-[KWQTextFieldController setHasFocus:]): added nil check for widget, since it can get deleted during an event.
149
150 2005-07-20  Maciej Stachowiak  <mjs@apple.com>
151
152         Patch from Trey Matteson <trey@usa.net>, reviewed by me.
153
154         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=3956
155         some of WebKit builds with symbols, some doesn't
156         
157         * WebCore.pbproj/project.pbxproj: Generate symbols even for
158         Deployment.
159
160 2005-07-19  Maciej Stachowiak  <mjs@apple.com>
161
162         Reviewed by Kevin.
163
164         - fixed some mistakes in my previous checkin
165
166         * khtml/html/html_objectimpl.cpp:
167         (DOM::HTMLAppletElementImpl::parseMappedAttribute): Take name attribute out
168         of the "do nothing" case (duh).
169         * layout-tests/fast/dom/Window/window-special-properties-expected.txt: Update
170         for change to the text at the top.
171
172 2005-07-18  Maciej Stachowiak  <mjs@apple.com>
173
174         Reviewed by Darin.
175
176         - fix handling of special properties of the Window object. now we
177         almost completely match Win IE.
178         
179         Test cases added: 
180         * layout-tests/fast/dom/Window/window-special-properties-expected.txt: Added.
181         * layout-tests/fast/dom/Window/window-special-properties.html: Added.
182
183         * khtml/ecma/kjs_html.cpp:
184         (KJS::HTMLDocument::hasOwnProperty):
185         (KJS::HTMLDocument::tryGet):
186         * khtml/ecma/kjs_window.cpp:
187         (KJS::Window::get):
188         (KJS::Window::hasOwnProperty):
189         * khtml/html/html_documentimpl.cpp:
190         (DOM::HTMLDocumentImpl::addNamedItem):
191         (DOM::HTMLDocumentImpl::removeNamedItem):
192         (DOM::HTMLDocumentImpl::hasNamedItem):
193         * khtml/html/html_documentimpl.h:
194         * khtml/html/html_formimpl.cpp:
195         (DOM::HTMLFormElementImpl::attach):
196         (DOM::HTMLFormElementImpl::insertedIntoDocument):
197         (DOM::HTMLFormElementImpl::removedFromDocument):
198         (DOM::HTMLFormElementImpl::parseMappedAttribute):
199         * khtml/html/html_formimpl.h:
200         * khtml/html/html_imageimpl.cpp:
201         (HTMLImageElementImpl::parseMappedAttribute):
202         (HTMLImageElementImpl::attach):
203         (HTMLImageElementImpl::insertedIntoDocument):
204         (HTMLImageElementImpl::removedFromDocument):
205         * khtml/html/html_imageimpl.h:
206         * khtml/html/html_miscimpl.cpp:
207         (DOM::HTMLCollectionImpl::HTMLCollectionImpl):
208         (DOM::HTMLCollectionImpl::traverseNextItem):
209         (DOM::HTMLCollectionImpl::namedItem):
210         (DOM::HTMLNameCollectionImpl::HTMLNameCollectionImpl):
211         (DOM::HTMLNameCollectionImpl::traverseNextItem):
212         (DOM::HTMLFormCollectionImpl::getNamedFormItem):
213         (DOM::HTMLFormCollectionImpl::nextNamedItem):
214         * khtml/html/html_miscimpl.h:
215         (DOM::HTMLCollectionImpl::):
216         * khtml/html/html_objectimpl.cpp:
217         (DOM::HTMLAppletElementImpl::parseMappedAttribute):
218         (DOM::HTMLAppletElementImpl::insertedIntoDocument):
219         (DOM::HTMLAppletElementImpl::removedFromDocument):
220         (DOM::HTMLEmbedElementImpl::parseMappedAttribute):
221         (DOM::HTMLEmbedElementImpl::attach):
222         (DOM::HTMLEmbedElementImpl::insertedIntoDocument):
223         (DOM::HTMLEmbedElementImpl::removedFromDocument):
224         (DOM::HTMLObjectElementImpl::parseMappedAttribute):
225         (DOM::HTMLObjectElementImpl::detach):
226         (DOM::HTMLObjectElementImpl::insertedIntoDocument):
227         (DOM::HTMLObjectElementImpl::removedFromDocument):
228         * khtml/html/html_objectimpl.h:
229         * khtml/xml/dom_docimpl.cpp:
230         (DocumentImpl::windowNamedItems):
231         * khtml/xml/dom_docimpl.h:
232
233 2005-07-19  Geoffrey Garen  <ggaren@apple.com>
234
235         -rolled in patch by Anders Carlsson <andersca@mac.com> for
236         http://bugzilla.opendarwin.org/show_bug.cgi?id=3751
237         REGRESSION: affects Blogger, GMail & Wikipedia: empty textarea's which should have content
238         
239         Reviewed by mjs.
240
241         * khtml/html/html_formimpl.cpp:
242         (DOM::HTMLTextAreaElementImpl::defaultValue):
243         (DOM::HTMLTextAreaElementImpl::attach):
244         * khtml/html/html_formimpl.h:
245
246         Test cases added:
247         * manual-tests/textarea-after-stylesheet-link.html: Added.
248         Test is manual because the result doesn't show up in DumpRenderTree
249
250 2005-07-19  Justin Garcia  <justin.garcia@apple.com>
251         
252         Added a virtual deconstructor to fix gcc4 build warning
253
254         * khtml/rendering/render_theme.h:
255         (khtml::RenderTheme::~RenderTheme):
256
257 2005-07-19  David Hyatt  <hyatt@apple.com>
258
259         Adding support for the "checkbox" appearance value.  This is not yet implemented, but the
260         methods are now stubbed out and will get called.
261
262         Reviewed by mjs
263
264         * WebCore.pbproj/project.pbxproj:
265         * khtml/css/cssstyleselector.cpp:
266         (khtml::CSSStyleSelector::adjustRenderStyle):
267         (khtml::CSSStyleSelector::applyProperty):
268         * khtml/css/html4.css:
269         * khtml/html/html_formimpl.cpp:
270         (DOM::HTMLInputElementImpl::createRenderer):
271         * khtml/rendering/render_box.cpp:
272         (RenderBox::paintBoxDecorations):
273         * khtml/rendering/render_theme.cpp: Added.
274         (khtml::RenderTheme::adjustStyle):
275         (khtml::RenderTheme::paint):
276         * khtml/rendering/render_theme.h: Added.
277         * khtml/rendering/render_theme_mac.h: Added.
278         * khtml/rendering/render_theme_mac.mm: Added.
279         (khtml::theme):
280         (khtml::RenderThemeMac::adjustCheckboxStyle):
281         (khtml::RenderThemeMac::paintCheckbox):
282
283 2005-07-19  David Hyatt  <hyatt@apple.com>
284
285         Fix performance regressions from attribute QName landing.
286         
287         Reviewed by mjs
288
289         * khtml/html/htmltokenizer.cpp:
290         (khtml::Token::addAttribute):
291         (khtml::HTMLTokenizer::write):
292
293         Make sure attributes have a faster constructor that can avoid the copy of QualifiedNames.
294
295         Make sure to grab the part from the document outside the loop, so that it is not fetched
296         over and over again for every character in the source.
297         
298         * khtml/rendering/render_block.cpp:
299         (khtml::RenderBlock::paintObject):
300
301         Only call paintCaret if the block is actually editable.
302         
303         * khtml/xml/dom_atomicstring.h:
304         (DOM::operator!=):
305         * khtml/xml/dom_elementimpl.h:
306         (DOM::AttributeImpl::AttributeImpl):
307         (DOM::AttributeImpl::~AttributeImpl):
308         (DOM::MappedAttributeImpl::MappedAttributeImpl):
309
310         Add != comparison operator with a char* to speed up the / check for attribute invalidity.
311         
312 2005-07-19  Vicki Murley  <vicki@apple.com>
313
314         Reviewed by Maciej.
315  
316         Test cases added: 
317         * manual-tests/scrollIntoView-horizontal.html: Added.
318         * manual-tests/scrollIntoView-vertical.html: Added.
319
320         * khtml/xml/dom_elementimpl.h:        
321         * khtml/xml/dom_elementimpl.cpp:
322         (ElementImpl::scrollIntoView): Added.
323         * khtml/ecma/kjs_dom.h:
324         (KJS::DOMNode::):
325         (KJS::DOMElement::):
326         * khtml/ecma/kjs_dom.cpp:
327         (KJS::DOMElementProtoFunc::tryCall): glue for new scrollIntoView function
328
329 2005-07-19  Geoffrey Garen  <ggaren@apple.com>
330
331         - rolled in patch by opendarwin.org@mitzpettel.com for
332         http://bugzilla.opendarwin.org/show_bug.cgi?id=3838
333         Text runs unnecessarily split at EN L boundaries
334         
335         Reviewed by hyatt.
336
337         * khtml/rendering/bidi.cpp:
338         (khtml::RenderBlock::bidiReorderLine):
339
340         Lots of new test case results because previous results had inappropriately
341         split text runs.
342
343         * layout-tests/css1/basic/containment-expected.txt:
344         * layout-tests/css1/box_properties/border-expected.txt:
345         * layout-tests/css1/box_properties/border_bottom-expected.txt:
346         * layout-tests/css1/box_properties/border_bottom_inline-expected.txt:
347         * layout-tests/css1/box_properties/border_bottom_width-expected.txt:
348         * layout-tests/css1/box_properties/border_bottom_width_inline-expected.txt:
349         * layout-tests/css1/box_properties/border_inline-expected.txt:
350         * layout-tests/css1/box_properties/border_left-expected.txt:
351         * layout-tests/css1/box_properties/border_left_inline-expected.txt:
352         * layout-tests/css1/box_properties/border_left_width-expected.txt:
353         * layout-tests/css1/box_properties/border_left_width_inline-expected.txt:
354         * layout-tests/css1/box_properties/border_right-expected.txt:
355         * layout-tests/css1/box_properties/border_right_inline-expected.txt:
356         * layout-tests/css1/box_properties/border_right_width-expected.txt:
357         * layout-tests/css1/box_properties/border_right_width_inline-expected.txt:
358         * layout-tests/css1/box_properties/border_top-expected.txt:
359         * layout-tests/css1/box_properties/border_top_inline-expected.txt:
360         * layout-tests/css1/box_properties/border_top_width-expected.txt:
361         * layout-tests/css1/box_properties/border_top_width_inline-expected.txt:
362         * layout-tests/css1/box_properties/border_width-expected.txt:
363         * layout-tests/css1/box_properties/border_width_inline-expected.txt:
364         * layout-tests/css1/box_properties/clear_float-expected.txt:
365         * layout-tests/css1/box_properties/float_elements_in_series-expected.txt:
366         * layout-tests/css1/box_properties/float_margin-expected.txt:
367         * layout-tests/css1/box_properties/float_on_text_elements-expected.txt:
368         * layout-tests/css1/box_properties/height-expected.txt:
369         * layout-tests/css1/box_properties/margin-expected.txt:
370         * layout-tests/css1/box_properties/margin_bottom-expected.txt:
371         * layout-tests/css1/box_properties/margin_bottom_inline-expected.txt:
372         * layout-tests/css1/box_properties/margin_inline-expected.txt:
373         * layout-tests/css1/box_properties/margin_left-expected.txt:
374         * layout-tests/css1/box_properties/margin_left_inline-expected.txt:
375         * layout-tests/css1/box_properties/margin_right-expected.txt:
376         * layout-tests/css1/box_properties/margin_right_inline-expected.txt:
377         * layout-tests/css1/box_properties/margin_top-expected.txt:
378         * layout-tests/css1/box_properties/margin_top_inline-expected.txt:
379         * layout-tests/css1/box_properties/padding-expected.txt:
380         * layout-tests/css1/box_properties/padding_bottom-expected.txt:
381         * layout-tests/css1/box_properties/padding_bottom_inline-expected.txt:
382         * layout-tests/css1/box_properties/padding_inline-expected.txt:
383         * layout-tests/css1/box_properties/padding_left-expected.txt:
384         * layout-tests/css1/box_properties/padding_left_inline-expected.txt:
385         * layout-tests/css1/box_properties/padding_right-expected.txt:
386         * layout-tests/css1/box_properties/padding_right_inline-expected.txt:
387         * layout-tests/css1/box_properties/padding_top-expected.txt:
388         * layout-tests/css1/box_properties/padding_top_inline-expected.txt:
389         * layout-tests/css1/box_properties/width-expected.txt:
390         * layout-tests/css1/classification/display-expected.txt:
391         * layout-tests/css1/color_and_background/background_position-expected.txt:
392         * layout-tests/css1/conformance/forward_compatible_parsing-expected.txt:
393         * layout-tests/css1/font_properties/font-expected.txt:
394         * layout-tests/css1/font_properties/font_size-expected.txt:
395         * layout-tests/css1/formatting_model/canvas-expected.txt:
396         * layout-tests/css1/formatting_model/floating_elements-expected.txt:
397         * layout-tests/css1/formatting_model/height_of_lines-expected.txt:
398         * layout-tests/css1/formatting_model/inline_elements-expected.txt:
399         * layout-tests/css1/formatting_model/replaced_elements-expected.txt:
400         * layout-tests/css1/formatting_model/vertical_formatting-expected.txt:
401         * layout-tests/css1/pseudo/anchor-expected.txt:
402         * layout-tests/css1/text_properties/letter_spacing-expected.txt:
403         * layout-tests/css1/text_properties/line_height-expected.txt:
404         * layout-tests/css1/text_properties/text_indent-expected.txt:
405         * layout-tests/css1/text_properties/vertical_align-expected.txt:
406         * layout-tests/css1/text_properties/word_spacing-expected.txt:
407         * layout-tests/css1/units/length_units-expected.txt:
408         * layout-tests/editing/style/relative-font-size-change-001-expected.txt:
409         * layout-tests/editing/style/relative-font-size-change-002-expected.txt:
410         * layout-tests/editing/style/relative-font-size-change-003-expected.txt:
411         * layout-tests/editing/style/relative-font-size-change-004-expected.txt:
412         * layout-tests/editing/style/smoosh-styles-003-expected.txt:
413         * layout-tests/fast/block/basic/018-expected.txt:
414         * layout-tests/fast/block/float/002-expected.txt:
415         * layout-tests/fast/block/float/021-expected.txt:
416         * layout-tests/fast/block/float/023-expected.txt:
417         * layout-tests/fast/block/float/024-expected.txt:
418         * layout-tests/fast/block/float/029-expected.txt:
419         * layout-tests/fast/block/float/030-expected.txt:
420         * layout-tests/fast/block/margin-collapse/043-expected.txt:
421         * layout-tests/fast/block/margin-collapse/101-expected.txt:
422         * layout-tests/fast/block/positioning/060-expected.txt:
423         * layout-tests/fast/block/positioning/auto/001-expected.txt:
424         * layout-tests/fast/block/positioning/auto/002-expected.txt:
425         * layout-tests/fast/block/positioning/auto/003-expected.txt:
426         * layout-tests/fast/block/positioning/auto/004-expected.txt:
427         * layout-tests/fast/block/positioning/auto/005-expected.txt:
428         * layout-tests/fast/block/positioning/auto/006-expected.txt:
429         * layout-tests/fast/clip/001-expected.txt:
430         * layout-tests/fast/clip/002-expected.txt:
431         * layout-tests/fast/clip/003-expected.txt:
432         * layout-tests/fast/clip/004-expected.txt:
433         * layout-tests/fast/clip/005-expected.txt:
434         * layout-tests/fast/clip/006-expected.txt:
435         * layout-tests/fast/clip/007-expected.txt:
436         * layout-tests/fast/clip/008-expected.txt:
437         * layout-tests/fast/clip/009-expected.txt:
438         * layout-tests/fast/clip/010-expected.txt:
439         * layout-tests/fast/clip/011-expected.txt:
440         * layout-tests/fast/clip/012-expected.txt:
441         * layout-tests/fast/clip/013-expected.txt:
442         * layout-tests/fast/clip/014-expected.txt:
443         * layout-tests/fast/clip/015-expected.txt:
444         * layout-tests/fast/clip/016-expected.txt:
445         * layout-tests/fast/css-generated-content/012-expected.txt:
446         * layout-tests/fast/css/008-expected.txt:
447         * layout-tests/fast/css/MarqueeLayoutTest-expected.txt:
448         * layout-tests/fast/css/apple-prefix-expected.txt:
449         * layout-tests/fast/dom/quadraticCurveTo-expected.txt:
450         * layout-tests/fast/dynamic/noninlinebadness-expected.txt:
451         * layout-tests/fast/encoding/utf-16-big-endian-expected.txt:
452         * layout-tests/fast/encoding/utf-16-little-endian-expected.txt:
453         * layout-tests/fast/flexbox/001-expected.txt:
454         * layout-tests/fast/flexbox/004-expected.txt:
455         * layout-tests/fast/flexbox/007-expected.txt:
456         * layout-tests/fast/flexbox/008-expected.txt:
457         * layout-tests/fast/flexbox/009-expected.txt:
458         * layout-tests/fast/flexbox/010-expected.txt:
459         * layout-tests/fast/flexbox/012-expected.txt:
460         * layout-tests/fast/flexbox/013-expected.txt:
461         * layout-tests/fast/flexbox/014-expected.txt:
462         * layout-tests/fast/flexbox/015-expected.txt:
463         * layout-tests/fast/flexbox/018-expected.txt:
464         * layout-tests/fast/flexbox/019-expected.txt:
465         * layout-tests/fast/flexbox/020-expected.txt:
466         * layout-tests/fast/flexbox/021-expected.txt:
467         * layout-tests/fast/flexbox/022-expected.txt:
468         * layout-tests/fast/flexbox/023-expected.txt:
469         * layout-tests/fast/flexbox/024-expected.txt:
470         * layout-tests/fast/invalid/012-expected.txt:
471         * layout-tests/fast/invalid/016-expected.txt:
472         * layout-tests/fast/invalid/nestedh3s-expected.txt:
473         * layout-tests/fast/lists/003-expected.txt:
474         * layout-tests/fast/replaced/004-expected.txt:
475         * layout-tests/fast/selectors/166-expected.txt:
476         * layout-tests/fast/table/032-expected.txt:
477         * layout-tests/fast/table/border-collapsing/004-expected.txt:
478         * layout-tests/fast/text/basic/003-expected.txt:
479         * layout-tests/fast/text/basic/004-expected.txt:
480         * layout-tests/fast/text/basic/005-expected.txt:
481         * layout-tests/fast/text/basic/009-expected.txt:
482
483 2005-07-19  Darin Adler  <darin@apple.com>
484
485         Reviewed by Geoff Garen.
486
487         Test cases added: None. Structural change only.
488
489         - eliminated try wrappers for get/put/call since we don't use C++ exceptions any more
490
491         * khtml/ecma/kjs_binding.cpp: Removed DOMObject::get, DOMObject::set, DOMFunction::get,
492         and DOMFunction::call.
493         * khtml/ecma/kjs_binding.h: Removed get, set, tryGet, trySet, call, tryCall from DOMObject
494         and DOMFunction. Removed DOMObjectLookupGet, DOMObjectLookupGetValue, and DOMObjectLookupPut.
495         We can just do things the normal way now.
496
497         The rest of the changes are just renames and removal of a couple stray tryCall wrappers.
498
499             tryGet -> get
500             tryPut -> put
501             tryCall -> call
502             putValue -> putValueProperty
503             DOMObjectLookupGet -> lookupGet
504             DOMObjectLookupGetValue -> lookupGetValue
505             DOMObjectLookupPut -> lookupPut
506
507         * khtml/ecma/domparser.cpp:
508         (KJS::DOMParserProtoFunc::call):
509         * khtml/ecma/kjs_css.cpp:
510         (KJS::DOMCSSStyleDeclaration::get):
511         (KJS::DOMCSSStyleDeclaration::put):
512         (KJS::DOMCSSStyleDeclarationProtoFunc::call):
513         (KJS::DOMStyleSheet::get):
514         (KJS::DOMStyleSheet::put):
515         (KJS::DOMStyleSheetList::get):
516         (KJS::DOMStyleSheetListFunc::call):
517         (KJS::DOMMediaList::get):
518         (KJS::DOMMediaList::put):
519         (KJS::KJS::DOMMediaListProtoFunc::call):
520         (KJS::DOMCSSStyleSheet::get):
521         (KJS::DOMCSSStyleSheetProtoFunc::call):
522         (KJS::DOMCSSRuleList::get):
523         (KJS::DOMCSSRuleListFunc::call):
524         (KJS::DOMCSSRule::get):
525         (KJS::DOMCSSRule::put):
526         (KJS::DOMCSSRule::putValueProperty):
527         (KJS::DOMCSSRuleFunc::call):
528         (KJS::CSSRuleConstructor::get):
529         (KJS::DOMCSSValue::get):
530         (KJS::DOMCSSValue::put):
531         (KJS::CSSValueConstructor::get):
532         (KJS::DOMCSSPrimitiveValue::get):
533         (KJS::DOMCSSPrimitiveValueProtoFunc::call):
534         (KJS::CSSPrimitiveValueConstructor::get):
535         (KJS::DOMCSSValueList::get):
536         (KJS::DOMCSSValueListFunc::call):
537         (KJS::DOMRGBColor::get):
538         (KJS::DOMRect::get):
539         (KJS::DOMCounter::get):
540         * khtml/ecma/kjs_css.h:
541         * khtml/ecma/kjs_dom.cpp:
542         (KJS::DOMNode::get):
543         (KJS::DOMNode::put):
544         (KJS::DOMNode::putValueProperty):
545         (KJS::DOMNodeProtoFunc::call):
546         (KJS::DOMNodeList::get):
547         (KJS::DOMNodeList::call):
548         (KJS::DOMNodeListFunc::call):
549         (KJS::DOMAttr::get):
550         (KJS::DOMAttr::put):
551         (KJS::DOMAttr::putValueProperty):
552         (KJS::DOMDocument::get):
553         (KJS::DOMDocument::put):
554         (KJS::DOMDocument::putValueProperty):
555         (KJS::DOMDocumentProtoFunc::call):
556         (KJS::DOMElement::get):
557         (KJS::DOMElementProtoFunc::call):
558         (KJS::DOMDOMImplementationProtoFunc::call):
559         (KJS::DOMDocumentType::get):
560         (KJS::DOMNamedNodeMap::get):
561         (KJS::DOMNamedNodeMapProtoFunc::call):
562         (KJS::DOMProcessingInstruction::get):
563         (KJS::DOMProcessingInstruction::put):
564         (KJS::DOMNotation::get):
565         (KJS::DOMEntity::get):
566         (KJS::NodeConstructor::get):
567         (KJS::DOMExceptionConstructor::get):
568         (KJS::DOMNamedNodesCollection::get):
569         (KJS::DOMCharacterData::get):
570         (KJS::DOMCharacterData::put):
571         (KJS::DOMCharacterDataProtoFunc::call):
572         (KJS::DOMText::get):
573         (KJS::DOMTextProtoFunc::call):
574         * khtml/ecma/kjs_dom.h:
575         * khtml/ecma/kjs_events.cpp:
576         (KJS::EventConstructor::get):
577         (KJS::DOMEvent::get):
578         (KJS::DOMEvent::put):
579         (KJS::DOMEvent::putValueProperty):
580         (KJS::DOMEventProtoFunc::call):
581         (KJS::EventExceptionConstructor::get):
582         (KJS::DOMUIEvent::get):
583         (KJS::DOMUIEventProtoFunc::call):
584         (KJS::DOMMouseEvent::get):
585         (KJS::DOMMouseEventProtoFunc::call):
586         (KJS::DOMKeyboardEvent::get):
587         (KJS::DOMKeyboardEventProtoFunc::call):
588         (KJS::MutationEventConstructor::get):
589         (KJS::DOMMutationEvent::get):
590         (KJS::DOMMutationEventProtoFunc::call):
591         (KJS::DOMWheelEvent::get):
592         (KJS::DOMWheelEventProtoFunc::call):
593         (KJS::Clipboard::get):
594         (KJS::Clipboard::put):
595         (KJS::Clipboard::putValueProperty):
596         (KJS::ClipboardProtoFunc::call):
597         * khtml/ecma/kjs_events.h:
598         * khtml/ecma/kjs_html.cpp:
599         (KJS::KJS::HTMLDocFunction::call):
600         (KJS::HTMLDocument::get):
601         (KJS::KJS::HTMLDocument::put):
602         (KJS::KJS::HTMLDocument::putValueProperty):
603         (KJS::KJS::HTMLElement::get):
604         (KJS::KJS::HTMLElementFunction::call):
605         (KJS::KJS::HTMLElement::put):
606         (KJS::HTMLElement::putValueProperty):
607         (KJS::KJS::HTMLCollection::get):
608         (KJS::KJS::HTMLCollection::call):
609         (KJS::KJS::HTMLCollectionProtoFunc::call):
610         (KJS::KJS::HTMLSelectCollection::get):
611         (KJS::KJS::HTMLSelectCollection::put):
612         (KJS::Image::get):
613         (KJS::Image::put):
614         (KJS::Image::putValueProperty):
615         (KJS::KJS::Context2DFunction::call):
616         (KJS::Context2D::get):
617         (KJS::Context2D::put):
618         (KJS::Context2D::putValueProperty):
619         (KJS::GradientFunction::call):
620         (KJS::Gradient::get):
621         (KJS::Gradient::put):
622         (KJS::Gradient::putValueProperty):
623         (KJS::ImagePattern::get):
624         (KJS::ImagePattern::put):
625         (KJS::ImagePattern::putValueProperty):
626         * khtml/ecma/kjs_html.h:
627         * khtml/ecma/kjs_navigator.cpp:
628         (KJS::PluginsFunc::call):
629         (KJS::NavigatorFunc::call):
630         * khtml/ecma/kjs_range.cpp:
631         (KJS::DOMRange::get):
632         (KJS::DOMRangeProtoFunc::call):
633         (KJS::RangeConstructor::get):
634         * khtml/ecma/kjs_range.h:
635         * khtml/ecma/kjs_traversal.cpp:
636         (KJS::DOMNodeIterator::get):
637         (KJS::DOMNodeIteratorProtoFunc::call):
638         (KJS::NodeFilterConstructor::get):
639         (KJS::DOMNodeFilterProtoFunc::call):
640         (KJS::DOMTreeWalker::get):
641         (KJS::DOMTreeWalker::put):
642         (KJS::DOMTreeWalkerProtoFunc::call):
643         * khtml/ecma/kjs_traversal.h:
644         * khtml/ecma/kjs_views.cpp:
645         (KJS::DOMAbstractView::get):
646         (KJS::DOMAbstractViewFunc::call):
647         * khtml/ecma/kjs_views.h:
648         * khtml/ecma/kjs_window.cpp:
649         (KJS::WindowFunc::call):
650         (KJS::LocationFunc::call):
651         (KJS::SelectionFunc::call):
652         (KJS::HistoryFunc::call):
653         (KJS::KonquerorFunc::call):
654         * khtml/ecma/xmlhttprequest.cpp:
655         (KJS::XMLHttpRequest::get):
656         (KJS::XMLHttpRequest::put):
657         (KJS::XMLHttpRequest::putValueProperty):
658         (KJS::XMLHttpRequestProtoFunc::call):
659         * khtml/ecma/xmlhttprequest.h:
660         * khtml/ecma/xmlserializer.cpp:
661         (KJS::XMLSerializerProtoFunc::call):
662
663 2005-07-19  Darin Adler  <darin@apple.com>
664
665         Reviewed by Dave Hyatt.
666
667         - fixed broken bi-di layout tests: the "dir" attribute was broken
668
669         * khtml/html/html_elementimpl.cpp: (HTMLElementImpl::parseMappedAttribute):
670         Fix one case that said "direction" where it should say "dir".
671
672 2005-07-19  Darin Adler  <darin@apple.com>
673
674         - updated results of two tests that reflect properly-preserved namespace prefixes for attributes
675
676         * layout-tests/fast/dom/dom-parse-serialize-display-expected.txt:
677         * layout-tests/fast/dom/dom-parse-serialize-expected.txt:
678
679 2005-07-18  David Hyatt  <hyatt@apple.com>
680
681         Add support for -khtml-appearance in preparation for
682         the addition of RenderTheme to the tree for form controls.
683
684         Make clean is required after this check-in, since there is
685         some sort of bizarre bug with XCode dependencies on the
686         property generation script.
687         
688         Reviewed by darin
689
690         * khtml/css/cssparser.cpp:
691         (CSSParser::parseValue):
692         * khtml/css/cssproperties.in:
693         * khtml/css/cssstyleselector.cpp:
694         (khtml::CSSStyleSelector::applyProperty):
695         * khtml/css/cssvalues.in:
696         * khtml/rendering/render_style.cpp:
697         (m_appearance):
698         (StyleCSS3NonInheritedData::operator==):
699         (RenderStyle::diff):
700         * khtml/rendering/render_style.h:
701         (khtml::):
702         (khtml::RenderStyle::appearance):
703         (khtml::RenderStyle::setAppearance):
704         (khtml::RenderStyle::initialAppearance):
705
706 2005-07-18  David Harrison  <harrison@apple.com>
707
708         Reviewed by Justin.
709
710         Test cases added: None.  Existing tests were failing.
711
712         Fix crash caused by my changes in revision 1.6 of khtml/editing/delete_selection_command.cpp.
713         
714         * khtml/editing/delete_selection_command.cpp:
715         (khtml::DeleteSelectionCommand::calculateTypingStyleAfterDelete):
716         Remove workaround that was added for missing typing style.
717         
718         (khtml::DeleteSelectionCommand::doApply):
719         Make sure to call saveTypingStyleState() before handleSpecialCaseBRDelete().
720
721 2005-07-18  David Hyatt  <hyatt@apple.com>
722
723         Rename HTMLNames -> HTMLTags.  Purely mechanical (done in XCode)
724         so no review needed.
725
726         * khtml/css/cssstyleselector.cpp:
727         (khtml::CSSStyleSelector::adjustRenderStyle):
728         (khtml::CSSStyleSelector::checkOneSelector):
729         * khtml/dom/css_stylesheet.cpp:
730         (LinkStyle::operator = ):
731         (LinkStyle::sheet):
732         * khtml/dom/html_base.cpp:
733         (HTMLBodyElement::operator = ):
734         (HTMLFrameElement::operator = ):
735         (HTMLIFrameElement::operator = ):
736         (HTMLFrameSetElement::operator = ):
737         (HTMLHeadElement::operator = ):
738         (HTMLHtmlElement::operator = ):
739         * khtml/dom/html_block.cpp:
740         (HTMLBlockquoteElement::operator = ):
741         (HTMLDivElement::operator = ):
742         (HTMLHRElement::operator = ):
743         (HTMLHeadingElement::operator = ):
744         (HTMLParagraphElement::operator = ):
745         (HTMLPreElement::operator = ):
746         * khtml/dom/html_form.cpp:
747         (HTMLButtonElement::operator = ):
748         (HTMLFieldSetElement::operator = ):
749         (HTMLFormElement::operator = ):
750         (HTMLInputElement::operator = ):
751         (HTMLLabelElement::operator = ):
752         (HTMLLegendElement::operator = ):
753         (HTMLOptGroupElement::operator = ):
754         (HTMLSelectElement::operator = ):
755         (HTMLTextAreaElement::operator = ):
756         (HTMLOptionElement::operator = ):
757         (HTMLIsIndexElement::operator = ):
758         * khtml/dom/html_head.cpp:
759         (HTMLBaseElement::operator = ):
760         (HTMLLinkElement::operator = ):
761         (HTMLMetaElement::operator = ):
762         (HTMLScriptElement::operator = ):
763         (HTMLStyleElement::operator = ):
764         (HTMLTitleElement::operator = ):
765         * khtml/dom/html_image.cpp:
766         (HTMLAreaElement::operator = ):
767         (HTMLImageElement::operator = ):
768         (HTMLMapElement::operator = ):
769         * khtml/dom/html_inline.cpp:
770         (HTMLAnchorElement::operator = ):
771         (HTMLBRElement::operator = ):
772         (HTMLFontElement::operator = ):
773         (HTMLModElement::HTMLModElement):
774         (HTMLModElement::operator = ):
775         (HTMLQuoteElement::operator = ):
776         * khtml/dom/html_list.cpp:
777         (HTMLDListElement::operator = ):
778         (HTMLDirectoryElement::operator = ):
779         (HTMLLIElement::operator = ):
780         (HTMLMenuElement::operator = ):
781         (HTMLOListElement::operator = ):
782         (HTMLUListElement::operator = ):
783         * khtml/dom/html_misc.cpp:
784         (HTMLBaseFontElement::operator = ):
785         * khtml/dom/html_object.cpp:
786         (DOM::HTMLAppletElement::operator = ):
787         (DOM::HTMLObjectElement::operator = ):
788         (DOM::HTMLParamElement::operator = ):
789         * khtml/dom/html_table.cpp:
790         (HTMLTableCaptionElement::operator = ):
791         (HTMLTableCellElement::operator = ):
792         (HTMLTableColElement::operator = ):
793         (HTMLTableElement::operator = ):
794         (HTMLTableRowElement::operator = ):
795         (HTMLTableSectionElement::operator = ):
796         * khtml/ecma/kjs_css.cpp:
797         (KJS::DOMStyleSheetList::tryGet):
798         * khtml/ecma/kjs_dom.cpp:
799         (KJS::getRuntimeObject):
800         * khtml/ecma/kjs_html.cpp:
801         (KJS::HTMLDocument::tryGet):
802         (KJS::KJS::HTMLDocument::putValue):
803         (KJS::KJS::HTMLElement::classInfo):
804         (KJS::HTMLElement::getSetInfo):
805         (KJS::KJS::HTMLElement::tryGet):
806         (KJS::KJS::HTMLElement::implementsCall):
807         (KJS::KJS::HTMLElement::call):
808         (KJS::KJS::HTMLElement::hasOwnProperty):
809         (KJS::KJS::HTMLElement::toString):
810         (KJS::getForm):
811         (KJS::KJS::HTMLElement::pushEventHandlerScope):
812         (KJS::KJS::HTMLElementFunction::tryCall):
813         (KJS::KJS::HTMLElement::tryPut):
814         (KJS::toHTMLTableCaptionElement):
815         (KJS::toHTMLTableSectionElement):
816         (KJS::KJS::HTMLCollection::tryGet):
817         (KJS::KJS::HTMLSelectCollection::tryPut):
818         * khtml/editing/apply_style_command.cpp:
819         (khtml::isEmptyStyleSpan):
820         (khtml::isEmptyFontTag):
821         (khtml::createFontElement):
822         (khtml::createStyleSpanElement):
823         (khtml::ApplyStyleCommand::applyInlineStyle):
824         (khtml::ApplyStyleCommand::isHTMLStyleNode):
825         (khtml::ApplyStyleCommand::removeHTMLFontStyle):
826         (khtml::ApplyStyleCommand::mergeEndWithNextIfIdentical):
827         (khtml::ApplyStyleCommand::addInlineStyleIfNeeded):
828         * khtml/editing/break_blockquote_command.cpp:
829         (khtml::BreakBlockquoteCommand::doApply):
830         * khtml/editing/composite_edit_command.cpp:
831         (khtml::CompositeEditCommand::insertNodeBefore):
832         (khtml::CompositeEditCommand::insertNodeAfter):
833         (khtml::CompositeEditCommand::moveParagraphContentsToNewBlockIfNecessary):
834         (khtml::createBlockPlaceholderElement):
835         * khtml/editing/delete_selection_command.cpp:
836         (khtml::isListStructureNode):
837         (khtml::DeleteSelectionCommand::handleSpecialCaseBRDelete):
838         (khtml::DeleteSelectionCommand::handleGeneralDelete):
839         (khtml::DeleteSelectionCommand::moveNodesAfterNode):
840         * khtml/editing/htmlediting.cpp:
841         (khtml::isSpecialElement):
842         (khtml::createDefaultParagraphElement):
843         (khtml::createBreakElement):
844         (khtml::isMailBlockquote):
845         * khtml/editing/insert_line_break_command.cpp:
846         (khtml::InsertLineBreakCommand::doApply):
847         * khtml/editing/insert_paragraph_separator_command.cpp:
848         (khtml::InsertParagraphSeparatorCommand::doApply):
849         * khtml/editing/markup.cpp:
850         (khtml::startMarkup):
851         (khtml::createMarkup):
852         (khtml::createFragmentFromText):
853         * khtml/editing/replace_selection_command.cpp:
854         (khtml::isProbablyBlock):
855         (khtml::isProbablyTableStructureNode):
856         (khtml::ReplacementFragment::isInterchangeNewlineNode):
857         (khtml::ReplacementFragment::removeStyleNodes):
858         (khtml::ReplaceSelectionCommand::doApply):
859         * khtml/editing/visible_position.cpp:
860         (khtml::VisiblePosition::init):
861         (khtml::VisiblePosition::isCandidate):
862         (khtml::VisiblePosition::isAtomicNode):
863         * khtml/editing/visible_text.cpp:
864         (khtml::TextIterator::handleNonTextNode):
865         (khtml::TextIterator::exitNode):
866         (khtml::SimplifiedBackwardsTextIterator::handleNonTextNode):
867         * khtml/editing/visible_units.cpp:
868         (khtml::endOfLine):
869         * khtml/html/html_baseimpl.cpp:
870         (HTMLBodyElementImpl::HTMLBodyElementImpl):
871         (HTMLFrameElementImpl::HTMLFrameElementImpl):
872         (HTMLFrameElementImpl::attach):
873         (HTMLFrameSetElementImpl::HTMLFrameSetElementImpl):
874         (HTMLFrameSetElementImpl::checkDTD):
875         (HTMLFrameSetElementImpl::attach):
876         (HTMLHeadElementImpl::HTMLHeadElementImpl):
877         (HTMLHeadElementImpl::checkDTD):
878         (HTMLHtmlElementImpl::HTMLHtmlElementImpl):
879         (HTMLHtmlElementImpl::checkDTD):
880         (HTMLIFrameElementImpl::HTMLIFrameElementImpl):
881         * khtml/html/html_blockimpl.cpp:
882         (HTMLBlockquoteElementImpl::HTMLBlockquoteElementImpl):
883         (HTMLDivElementImpl::HTMLDivElementImpl):
884         (HTMLHRElementImpl::HTMLHRElementImpl):
885         (HTMLHeadingElementImpl::checkDTD):
886         (HTMLParagraphElementImpl::HTMLParagraphElementImpl):
887         (HTMLParagraphElementImpl::checkDTD):
888         (HTMLMarqueeElementImpl::HTMLMarqueeElementImpl):
889         * khtml/html/html_canvasimpl.cpp:
890         (HTMLCanvasElementImpl::HTMLCanvasElementImpl):
891         * khtml/html/html_documentimpl.cpp:
892         (DOM::HTMLDocumentImpl::childAllowed):
893         * khtml/html/html_elementimpl.cpp:
894         (HTMLElementImpl::endTagRequirement):
895         (HTMLElementImpl::tagPriority):
896         (HTMLElementImpl::createContextualFragment):
897         (HTMLElementImpl::setInnerText):
898         (HTMLElementImpl::setOuterText):
899         (HTMLElementImpl::isRecognizedTagName):
900         (inlineTagList):
901         (blockTagList):
902         (HTMLElementImpl::checkDTD):
903         * khtml/html/html_formimpl.cpp:
904         (DOM::HTMLFormElementImpl::HTMLFormElementImpl):
905         (DOM::HTMLFormElementImpl::submitClick):
906         (DOM::HTMLFormElementImpl::formData):
907         (DOM::HTMLFormElementImpl::submit):
908         (DOM::HTMLFormElementImpl::radioClicked):
909         (DOM::HTMLGenericFormElementImpl::getForm):
910         (DOM::HTMLButtonElementImpl::HTMLButtonElementImpl):
911         (DOM::HTMLFieldSetElementImpl::HTMLFieldSetElementImpl):
912         (DOM::HTMLFieldSetElementImpl::checkDTD):
913         (DOM::HTMLInputElementImpl::HTMLInputElementImpl):
914         (DOM::HTMLLabelElementImpl::HTMLLabelElementImpl):
915         (DOM::HTMLLabelElementImpl::form):
916         (DOM::HTMLLegendElementImpl::HTMLLegendElementImpl):
917         (DOM::HTMLLegendElementImpl::formElement):
918         (DOM::HTMLSelectElementImpl::HTMLSelectElementImpl):
919         (DOM::HTMLSelectElementImpl::checkDTD):
920         (DOM::HTMLSelectElementImpl::selectedIndex):
921         (DOM::HTMLSelectElementImpl::setSelectedIndex):
922         (DOM::HTMLSelectElementImpl::length):
923         (DOM::HTMLSelectElementImpl::add):
924         (DOM::HTMLSelectElementImpl::value):
925         (DOM::HTMLSelectElementImpl::setValue):
926         (DOM::HTMLSelectElementImpl::state):
927         (DOM::HTMLSelectElementImpl::restoreState):
928         (DOM::HTMLSelectElementImpl::appendFormData):
929         (DOM::HTMLSelectElementImpl::optionToListIndex):
930         (DOM::HTMLSelectElementImpl::listToOptionIndex):
931         (DOM::HTMLSelectElementImpl::recalcListItems):
932         (DOM::HTMLSelectElementImpl::reset):
933         (DOM::HTMLSelectElementImpl::notifyOptionSelected):
934         (DOM::HTMLKeygenElementImpl::HTMLKeygenElementImpl):
935         (DOM::HTMLOptGroupElementImpl::HTMLOptGroupElementImpl):
936         (DOM::HTMLOptGroupElementImpl::recalcSelectOptions):
937         (DOM::HTMLOptionElementImpl::HTMLOptionElementImpl):
938         (DOM::HTMLOptionElementImpl::index):
939         (DOM::HTMLOptionElementImpl::getSelect):
940         (DOM::HTMLTextAreaElementImpl::HTMLTextAreaElementImpl):
941         (DOM::HTMLIsIndexElementImpl::HTMLIsIndexElementImpl):
942         * khtml/html/html_formimpl.h:
943         (DOM::HTMLOptGroupElementImpl::checkDTD):
944         * khtml/html/html_headimpl.cpp:
945         (HTMLBaseElementImpl::HTMLBaseElementImpl):
946         (HTMLLinkElementImpl::HTMLLinkElementImpl):
947         (HTMLMetaElementImpl::HTMLMetaElementImpl):
948         (HTMLScriptElementImpl::HTMLScriptElementImpl):
949         (HTMLStyleElementImpl::HTMLStyleElementImpl):
950         (HTMLTitleElementImpl::HTMLTitleElementImpl):
951         * khtml/html/html_imageimpl.cpp:
952         (HTMLImageLoader::updateFromElement):
953         (HTMLImageElementImpl::HTMLImageElementImpl):
954         (HTMLMapElementImpl::HTMLMapElementImpl):
955         (HTMLMapElementImpl::checkDTD):
956         (HTMLMapElementImpl::mapMouseEvent):
957         (HTMLAreaElementImpl::HTMLAreaElementImpl):
958         * khtml/html/html_inlineimpl.cpp:
959         (DOM::HTMLAnchorElementImpl::HTMLAnchorElementImpl):
960         (DOM::HTMLAnchorElementImpl::defaultEventHandler):
961         (DOM::HTMLBRElementImpl::HTMLBRElementImpl):
962         (DOM::HTMLFontElementImpl::HTMLFontElementImpl):
963         (DOM::HTMLQuoteElementImpl::HTMLQuoteElementImpl):
964         * khtml/html/html_listimpl.cpp:
965         (DOM::HTMLLIElementImpl::attach):
966         * khtml/html/html_listimpl.h:
967         (DOM::HTMLUListElementImpl::HTMLUListElementImpl):
968         (DOM::HTMLDirectoryElementImpl::HTMLDirectoryElementImpl):
969         (DOM::HTMLMenuElementImpl::HTMLMenuElementImpl):
970         (DOM::HTMLOListElementImpl::HTMLOListElementImpl):
971         (DOM::HTMLLIElementImpl::HTMLLIElementImpl):
972         (DOM::HTMLDListElementImpl::HTMLDListElementImpl):
973         * khtml/html/html_miscimpl.cpp:
974         (DOM::HTMLBaseFontElementImpl::HTMLBaseFontElementImpl):
975         (DOM::HTMLCollectionImpl::traverseNextItem):
976         (DOM::HTMLCollectionImpl::checkForNameMatch):
977         (DOM::HTMLCollectionImpl::updateNameCache):
978         (DOM::HTMLFormCollectionImpl::getNamedFormItem):
979         (DOM::HTMLFormCollectionImpl::updateNameCache):
980         * khtml/html/html_objectimpl.cpp:
981         (DOM::HTMLAppletElementImpl::HTMLAppletElementImpl):
982         (DOM::HTMLAppletElementImpl::checkDTD):
983         (DOM::HTMLEmbedElementImpl::HTMLEmbedElementImpl):
984         (DOM::HTMLEmbedElementImpl::checkDTD):
985         (DOM::HTMLEmbedElementImpl::rendererIsNeeded):
986         (DOM::HTMLObjectElementImpl::HTMLObjectElementImpl):
987         (DOM::HTMLObjectElementImpl::checkDTD):
988         (DOM::HTMLObjectElementImpl::form):
989         (DOM::HTMLParamElementImpl::HTMLParamElementImpl):
990         * khtml/html/html_tableimpl.cpp:
991         (DOM::HTMLTableElementImpl::HTMLTableElementImpl):
992         (DOM::HTMLTableElementImpl::checkDTD):
993         (DOM::HTMLTableElementImpl::createTHead):
994         (DOM::HTMLTableElementImpl::createTFoot):
995         (DOM::HTMLTableElementImpl::insertRow):
996         (DOM::HTMLTableElementImpl::deleteRow):
997         (DOM::HTMLTableElementImpl::addChild):
998         (DOM::HTMLTableSectionElementImpl::checkDTD):
999         (DOM::HTMLTableSectionElementImpl::addChild):
1000         (DOM::HTMLTableSectionElementImpl::numRows):
1001         (DOM::HTMLTableRowElementImpl::checkDTD):
1002         (DOM::HTMLTableRowElementImpl::addChild):
1003         (DOM::HTMLTableRowElementImpl::rowIndex):
1004         (DOM::HTMLTableRowElementImpl::sectionRowIndex):
1005         (DOM::HTMLTableRowElementImpl::insertCell):
1006         (DOM::HTMLTableCellElementImpl::cellIndex):
1007         (DOM::HTMLTableCellElementImpl::additionalAttributeStyleDecl):
1008         (DOM::HTMLTableColElementImpl::HTMLTableColElementImpl):
1009         * khtml/html/html_tableimpl.h:
1010         (DOM::HTMLTableRowElementImpl::HTMLTableRowElementImpl):
1011         (DOM::HTMLTableColElementImpl::endTagRequirement):
1012         (DOM::HTMLTableColElementImpl::tagPriority):
1013         (DOM::HTMLTableColElementImpl::checkDTD):
1014         (DOM::HTMLTableCaptionElementImpl::HTMLTableCaptionElementImpl):
1015         * khtml/html/htmlfactory.cpp:
1016         (DOM::headingConstructor):
1017         (DOM::preConstructor):
1018         (DOM::modConstructor):
1019         (DOM::tableColConstructor):
1020         (DOM::tableCellConstructor):
1021         (DOM::tableSectionConstructor):
1022         (DOM::HTMLElementFactory::createHTMLElement):
1023         * khtml/html/htmlnames.cpp:
1024         (DOM::HTMLTags::init):
1025         * khtml/html/htmlnames.h:
1026         * khtml/html/htmlparser.cpp:
1027         (HTMLParser::parseToken):
1028         (isTableSection):
1029         (isTablePart):
1030         (isTableRelated):
1031         (HTMLParser::handleError):
1032         (HTMLParser::headCreateErrorCheck):
1033         (HTMLParser::bodyCreateErrorCheck):
1034         (HTMLParser::framesetCreateErrorCheck):
1035         (HTMLParser::iframeCreateErrorCheck):
1036         (HTMLParser::ddCreateErrorCheck):
1037         (HTMLParser::dtCreateErrorCheck):
1038         (HTMLParser::tableCellCreateErrorCheck):
1039         (HTMLParser::tableSectionCreateErrorCheck):
1040         (HTMLParser::noembedCreateErrorCheck):
1041         (HTMLParser::noframesCreateErrorCheck):
1042         (HTMLParser::noscriptCreateErrorCheck):
1043         (HTMLParser::getNode):
1044         (HTMLParser::processCloseTag):
1045         (HTMLParser::isHeaderTag):
1046         (HTMLParser::isInline):
1047         (HTMLParser::isResidualStyleTag):
1048         (HTMLParser::isAffectedByResidualStyle):
1049         (HTMLParser::popBlock):
1050         * khtml/html/htmltokenizer.cpp:
1051         (khtml::HTMLTokenizer::parseSpecial):
1052         (khtml::HTMLTokenizer::scriptHandler):
1053         (khtml::HTMLTokenizer::parseTag):
1054         * khtml/khtml_part.cpp:
1055         (KHTMLPart::init):
1056         (KHTMLPart::selectionComputedStyle):
1057         * khtml/khtmlview.cpp:
1058         (KHTMLView::layout):
1059         (isSubmitImage):
1060         * khtml/misc/decoder.cpp:
1061         (Decoder::decode):
1062         * khtml/rendering/render_applet.cpp:
1063         (RenderApplet::createWidgetIfNecessary):
1064         * khtml/rendering/render_block.cpp:
1065         (khtml::RenderBlock::layoutBlock):
1066         * khtml/rendering/render_box.cpp:
1067         (RenderBox::paintRootBoxDecorations):
1068         (RenderBox::paintBackgroundExtended):
1069         * khtml/rendering/render_canvasimage.cpp:
1070         (RenderCanvasImage::paint):
1071         * khtml/rendering/render_flow.cpp:
1072         (RenderFlow::addFocusRingRects):
1073         * khtml/rendering/render_form.cpp:
1074         (RenderFieldset::findLegend):
1075         (RenderSelect::updateFromElement):
1076         (RenderSelect::layout):
1077         (RenderSelect::slotSelected):
1078         (RenderSelect::slotSelectionChanged):
1079         (RenderSelect::updateSelection):
1080         * khtml/rendering/render_frames.cpp:
1081         (RenderPartObject::updateWidget):
1082         (RenderPartObject::slotViewCleared):
1083         * khtml/rendering/render_image.cpp:
1084         (RenderImage::paint):
1085         (RenderImage::imageMap):
1086         (RenderImage::updateAltText):
1087         * khtml/rendering/render_layer.cpp:
1088         (Marquee::marqueeSpeed):
1089         * khtml/rendering/render_list.cpp:
1090         (getParentOfFirstLineBox):
1091         * khtml/rendering/render_object.cpp:
1092         (RenderObject::isBody):
1093         (RenderObject::isHR):
1094         (RenderObject::isHTMLMarquee):
1095         (RenderObject::sizesToMaxWidth):
1096         (RenderObject::setStyle):
1097         (RenderObject::getTextDecorationColors):
1098         (RenderObject::setPixmap):
1099         * khtml/rendering/render_table.cpp:
1100         (RenderTable::addChild):
1101         (RenderTable::layout):
1102         (RenderTableSection::addChild):
1103         (RenderTableRow::addChild):
1104         (RenderTableCell::updateFromElement):
1105         (RenderTableCol::updateFromElement):
1106         * khtml/xml/dom_docimpl.cpp:
1107         (DocumentImpl::createElementNS):
1108         (DocumentImpl::body):
1109         (DocumentImpl::shouldScheduleLayout):
1110         (DocumentImpl::recalcStyleSelector):
1111         * khtml/xml/dom_nodeimpl.cpp:
1112         (DOM::NodeImpl::maxDeepOffset):
1113         (DOM::NodeImpl::enclosingBlockFlowOrTableElement):
1114         (DOM::NodeImpl::enclosingBlockFlowElement):
1115         (DOM::NodeImpl::enclosingInlineElement):
1116         (DOM::NodeImpl::rootEditableElement):
1117         (DOM::NodeImpl::showTreeAndMark):
1118         * khtml/xml/dom_position.cpp:
1119         (DOM::Position::downstream):
1120         (DOM::Position::rendersInDifferentPosition):
1121         (DOM::Position::leadingWhitespacePosition):
1122         (DOM::Position::trailingWhitespacePosition):
1123         * khtml/xml/xml_tokenizer.cpp:
1124         (khtml::XMLTokenizer::startElement):
1125         (khtml::XMLTokenizer::insertErrorMessageBlock):
1126         (khtml::XMLTokenizer::addScripts):
1127         * kwq/DOM.mm:
1128         (+[DOMNode _nodeWithImpl:]):
1129         * kwq/DOMHTML.mm:
1130         * kwq/KWQAccObject.mm:
1131         (-[KWQAccObject role]):
1132         (-[KWQAccObject title]):
1133         (-[KWQAccObject accessibilityIsIgnored]):
1134         * kwq/KWQKHTMLPart.cpp:
1135         (KWQKHTMLPart::isFrameSet):
1136         * kwq/KWQKHTMLPart.mm:
1137         (scanForForm):
1138         (KWQKHTMLPart::currentForm):
1139         (KWQKHTMLPart::searchForLabelsBeforeElement):
1140         (listParent):
1141         (isTextFirstInListItem):
1142         (KWQKHTMLPart::attributedString):
1143         (KWQKHTMLPart::styleForSelectionStart):
1144         (KWQKHTMLPart::setSelectionFromNone):
1145         * kwq/WebCoreBridge.mm:
1146         (inputElementFromDOMElement):
1147         (formElementFromDOMElement):
1148         (-[WebCoreBridge elementAtPoint:]):
1149
1150 2005-07-18  David Hyatt  <hyatt@apple.com>
1151
1152         Fix for bugzilla bug 3927.  Convert attributes to use QualifiedName.
1153         
1154         Reviewed by mjs
1155
1156         * WebCore.pbproj/project.pbxproj:
1157         * khtml/css/css_base.cpp:
1158         (CSSSelector::print):
1159         (CSSSelector::selectorText):
1160         * khtml/css/css_base.h:
1161         (DOM::CSSSelector::CSSSelector):
1162         (DOM::CSSSelector::hasTag):
1163         (DOM::CSSSelector::hasAttribute):
1164         * khtml/css/css_stylesheetimpl.cpp:
1165         (CSSStyleSheetImpl::determineNamespace):
1166         * khtml/css/cssparser.cpp:
1167         (CSSParser::parseContent):
1168         * khtml/css/cssstyleselector.cpp:
1169         (khtml::checkPseudoState):
1170         (khtml::CSSStyleSelector::canShareStyleWithElement):
1171         (khtml::CSSStyleSelector::checkOneSelector):
1172         (khtml::CSSStyleSelector::applyProperty):
1173         * khtml/css/parser.y:
1174         * khtml/dom/css_stylesheet.cpp:
1175         * khtml/dom/html_base.cpp:
1176         * khtml/dom/html_block.cpp:
1177         * khtml/dom/html_document.cpp:
1178         * khtml/dom/html_element.cpp:
1179         * khtml/dom/html_form.cpp:
1180         * khtml/dom/html_head.cpp:
1181         * khtml/dom/html_image.cpp:
1182         * khtml/dom/html_inline.cpp:
1183         * khtml/dom/html_list.cpp:
1184         * khtml/dom/html_misc.cpp:
1185         * khtml/dom/html_object.cpp:
1186         * khtml/dom/html_table.cpp:
1187         * khtml/ecma/kjs_html.cpp:
1188         (KJS::HTMLElement::inputGetter):
1189         (KJS::HTMLElement::inputSetter):
1190         * khtml/editing/apply_style_command.cpp:
1191         (khtml::isStyleSpan):
1192         (khtml::isEmptyStyleSpan):
1193         (khtml::isEmptyFontTag):
1194         (khtml::createFontElement):
1195         (khtml::createStyleSpanElement):
1196         (khtml::ApplyStyleCommand::applyRelativeFontStyleChange):
1197         (khtml::ApplyStyleCommand::removeHTMLFontStyle):
1198         (khtml::ApplyStyleCommand::applyTextDecorationStyle):
1199         (khtml::areIdenticalElements):
1200         (khtml::ApplyStyleCommand::addBlockStyleIfNeeded):
1201         (khtml::ApplyStyleCommand::addInlineStyleIfNeeded):
1202         * khtml/editing/composite_edit_command.cpp:
1203         (khtml::CompositeEditCommand::removeNodeAttribute):
1204         (khtml::CompositeEditCommand::setNodeAttribute):
1205         (khtml::CompositeEditCommand::findBlockPlaceholder):
1206         (khtml::createBlockPlaceholderElement):
1207         * khtml/editing/composite_edit_command.h:
1208         * khtml/editing/markup.cpp:
1209         (khtml::startMarkup):
1210         (khtml::completeURLs):
1211         (khtml::createFragmentFromText):
1212         * khtml/editing/remove_node_attribute_command.cpp:
1213         (khtml::RemoveNodeAttributeCommand::RemoveNodeAttributeCommand):
1214         * khtml/editing/remove_node_attribute_command.h:
1215         (khtml::RemoveNodeAttributeCommand::attribute):
1216         * khtml/editing/replace_selection_command.cpp:
1217         (khtml::ReplacementFragment::isInterchangeNewlineNode):
1218         (khtml::ReplacementFragment::isInterchangeConvertedSpaceSpan):
1219         * khtml/editing/set_node_attribute_command.cpp:
1220         (khtml::SetNodeAttributeCommand::SetNodeAttributeCommand):
1221         * khtml/editing/set_node_attribute_command.h:
1222         (khtml::SetNodeAttributeCommand::attribute):
1223         * khtml/html/html_baseimpl.cpp:
1224         (HTMLBodyElementImpl::mapToEntry):
1225         (HTMLBodyElementImpl::parseMappedAttribute):
1226         (HTMLBodyElementImpl::insertedIntoDocument):
1227         (HTMLBodyElementImpl::isURLAttribute):
1228         (HTMLBodyElementImpl::aLink):
1229         (HTMLBodyElementImpl::setALink):
1230         (HTMLBodyElementImpl::background):
1231         (HTMLBodyElementImpl::setBackground):
1232         (HTMLBodyElementImpl::bgColor):
1233         (HTMLBodyElementImpl::setBgColor):
1234         (HTMLBodyElementImpl::link):
1235         (HTMLBodyElementImpl::setLink):
1236         (HTMLBodyElementImpl::text):
1237         (HTMLBodyElementImpl::setText):
1238         (HTMLBodyElementImpl::vLink):
1239         (HTMLBodyElementImpl::setVLink):
1240         (HTMLFrameElementImpl::parseMappedAttribute):
1241         (HTMLFrameElementImpl::attach):
1242         (HTMLFrameElementImpl::isURLAttribute):
1243         (HTMLFrameElementImpl::frameBorder):
1244         (HTMLFrameElementImpl::setFrameBorder):
1245         (HTMLFrameElementImpl::longDesc):
1246         (HTMLFrameElementImpl::setLongDesc):
1247         (HTMLFrameElementImpl::marginHeight):
1248         (HTMLFrameElementImpl::setMarginHeight):
1249         (HTMLFrameElementImpl::marginWidth):
1250         (HTMLFrameElementImpl::setMarginWidth):
1251         (HTMLFrameElementImpl::name):
1252         (HTMLFrameElementImpl::setName):
1253         (HTMLFrameElementImpl::setNoResize):
1254         (HTMLFrameElementImpl::scrolling):
1255         (HTMLFrameElementImpl::setScrolling):
1256         (HTMLFrameElementImpl::src):
1257         (HTMLFrameElementImpl::setSrc):
1258         (HTMLFrameSetElementImpl::parseMappedAttribute):
1259         (HTMLFrameSetElementImpl::cols):
1260         (HTMLFrameSetElementImpl::setCols):
1261         (HTMLFrameSetElementImpl::rows):
1262         (HTMLFrameSetElementImpl::setRows):
1263         (HTMLHeadElementImpl::profile):
1264         (HTMLHeadElementImpl::setProfile):
1265         (HTMLHtmlElementImpl::version):
1266         (HTMLHtmlElementImpl::setVersion):
1267         (HTMLIFrameElementImpl::mapToEntry):
1268         (HTMLIFrameElementImpl::parseMappedAttribute):
1269         (HTMLIFrameElementImpl::attach):
1270         (HTMLIFrameElementImpl::isURLAttribute):
1271         (HTMLIFrameElementImpl::align):
1272         (HTMLIFrameElementImpl::setAlign):
1273         (HTMLIFrameElementImpl::height):
1274         (HTMLIFrameElementImpl::setHeight):
1275         (HTMLIFrameElementImpl::src):
1276         (HTMLIFrameElementImpl::width):
1277         (HTMLIFrameElementImpl::setWidth):
1278         * khtml/html/html_baseimpl.h:
1279         * khtml/html/html_blockimpl.cpp:
1280         (HTMLBlockquoteElementImpl::cite):
1281         (HTMLBlockquoteElementImpl::setCite):
1282         (HTMLDivElementImpl::mapToEntry):
1283         (HTMLDivElementImpl::parseMappedAttribute):
1284         (HTMLDivElementImpl::align):
1285         (HTMLDivElementImpl::setAlign):
1286         (HTMLHRElementImpl::mapToEntry):
1287         (HTMLHRElementImpl::parseMappedAttribute):
1288         (HTMLHRElementImpl::align):
1289         (HTMLHRElementImpl::setAlign):
1290         (HTMLHRElementImpl::noShade):
1291         (HTMLHRElementImpl::setNoShade):
1292         (HTMLHRElementImpl::size):
1293         (HTMLHRElementImpl::setSize):
1294         (HTMLHRElementImpl::width):
1295         (HTMLHRElementImpl::setWidth):
1296         (HTMLHeadingElementImpl::align):
1297         (HTMLHeadingElementImpl::setAlign):
1298         (HTMLParagraphElementImpl::mapToEntry):
1299         (HTMLParagraphElementImpl::parseMappedAttribute):
1300         (HTMLParagraphElementImpl::align):
1301         (HTMLParagraphElementImpl::setAlign):
1302         (HTMLPreElementImpl::width):
1303         (HTMLPreElementImpl::setWidth):
1304         (HTMLMarqueeElementImpl::mapToEntry):
1305         (HTMLMarqueeElementImpl::parseMappedAttribute):
1306         * khtml/html/html_blockimpl.h:
1307         * khtml/html/html_canvasimpl.cpp:
1308         (HTMLCanvasElementImpl::mapToEntry):
1309         (HTMLCanvasElementImpl::parseMappedAttribute):
1310         (HTMLCanvasElementImpl::isURLAttribute):
1311         * khtml/html/html_canvasimpl.h:
1312         * khtml/html/html_documentimpl.cpp:
1313         * khtml/html/html_elementimpl.cpp:
1314         (HTMLElementImpl::mapToEntry):
1315         (HTMLElementImpl::parseMappedAttribute):
1316         (HTMLElementImpl::setContentEditable):
1317         (HTMLElementImpl::id):
1318         (HTMLElementImpl::setId):
1319         (HTMLElementImpl::title):
1320         (HTMLElementImpl::setTitle):
1321         (HTMLElementImpl::lang):
1322         (HTMLElementImpl::setLang):
1323         (HTMLElementImpl::dir):
1324         (HTMLElementImpl::setDir):
1325         (HTMLElementImpl::className):
1326         (HTMLElementImpl::setClassName):
1327         * khtml/html/html_elementimpl.h:
1328         * khtml/html/html_formimpl.cpp:
1329         (DOM::HTMLFormElementImpl::parseMappedAttribute):
1330         (DOM::HTMLFormElementImpl::isURLAttribute):
1331         (DOM::HTMLFormElementImpl::name):
1332         (DOM::HTMLFormElementImpl::setName):
1333         (DOM::HTMLFormElementImpl::acceptCharset):
1334         (DOM::HTMLFormElementImpl::setAcceptCharset):
1335         (DOM::HTMLFormElementImpl::action):
1336         (DOM::HTMLFormElementImpl::setAction):
1337         (DOM::HTMLFormElementImpl::setEnctype):
1338         (DOM::HTMLFormElementImpl::method):
1339         (DOM::HTMLFormElementImpl::setMethod):
1340         (DOM::HTMLFormElementImpl::target):
1341         (DOM::HTMLFormElementImpl::setTarget):
1342         (DOM::HTMLGenericFormElementImpl::parseMappedAttribute):
1343         (DOM::HTMLGenericFormElementImpl::name):
1344         (DOM::HTMLGenericFormElementImpl::setName):
1345         (DOM::HTMLGenericFormElementImpl::setDisabled):
1346         (DOM::HTMLGenericFormElementImpl::setReadOnly):
1347         (DOM::HTMLGenericFormElementImpl::tabIndex):
1348         (DOM::HTMLGenericFormElementImpl::setTabIndex):
1349         (DOM::HTMLButtonElementImpl::type):
1350         (DOM::HTMLButtonElementImpl::parseMappedAttribute):
1351         (DOM::HTMLButtonElementImpl::accessKey):
1352         (DOM::HTMLButtonElementImpl::setAccessKey):
1353         (DOM::HTMLButtonElementImpl::value):
1354         (DOM::HTMLButtonElementImpl::setValue):
1355         (DOM::HTMLInputElementImpl::setType):
1356         (DOM::HTMLInputElementImpl::mapToEntry):
1357         (DOM::HTMLInputElementImpl::parseMappedAttribute):
1358         (DOM::HTMLInputElementImpl::attach):
1359         (DOM::HTMLInputElementImpl::altText):
1360         (DOM::HTMLInputElementImpl::value):
1361         (DOM::HTMLInputElementImpl::setValue):
1362         (DOM::HTMLInputElementImpl::isURLAttribute):
1363         (DOM::HTMLInputElementImpl::defaultValue):
1364         (DOM::HTMLInputElementImpl::setDefaultValue):
1365         (DOM::HTMLInputElementImpl::defaultChecked):
1366         (DOM::HTMLInputElementImpl::setDefaultChecked):
1367         (DOM::HTMLInputElementImpl::accept):
1368         (DOM::HTMLInputElementImpl::setAccept):
1369         (DOM::HTMLInputElementImpl::accessKey):
1370         (DOM::HTMLInputElementImpl::setAccessKey):
1371         (DOM::HTMLInputElementImpl::align):
1372         (DOM::HTMLInputElementImpl::setAlign):
1373         (DOM::HTMLInputElementImpl::alt):
1374         (DOM::HTMLInputElementImpl::setAlt):
1375         (DOM::HTMLInputElementImpl::setMaxLength):
1376         (DOM::HTMLInputElementImpl::setSize):
1377         (DOM::HTMLInputElementImpl::src):
1378         (DOM::HTMLInputElementImpl::setSrc):
1379         (DOM::HTMLInputElementImpl::useMap):
1380         (DOM::HTMLInputElementImpl::setUseMap):
1381         (DOM::HTMLLabelElementImpl::parseMappedAttribute):
1382         (DOM::HTMLLabelElementImpl::formElement):
1383         (DOM::HTMLLabelElementImpl::accessKey):
1384         (DOM::HTMLLabelElementImpl::setAccessKey):
1385         (DOM::HTMLLabelElementImpl::htmlFor):
1386         (DOM::HTMLLabelElementImpl::setHtmlFor):
1387         (DOM::HTMLLegendElementImpl::accessKey):
1388         (DOM::HTMLLegendElementImpl::setAccessKey):
1389         (DOM::HTMLLegendElementImpl::align):
1390         (DOM::HTMLLegendElementImpl::setAlign):
1391         (DOM::HTMLSelectElementImpl::parseMappedAttribute):
1392         (DOM::HTMLSelectElementImpl::reset):
1393         (DOM::HTMLSelectElementImpl::setMultiple):
1394         (DOM::HTMLSelectElementImpl::setSize):
1395         (DOM::HTMLKeygenElementImpl::parseMappedAttribute):
1396         (DOM::HTMLOptGroupElementImpl::label):
1397         (DOM::HTMLOptGroupElementImpl::setLabel):
1398         (DOM::HTMLOptionElementImpl::text):
1399         (DOM::HTMLOptionElementImpl::parseMappedAttribute):
1400         (DOM::HTMLOptionElementImpl::setValue):
1401         (DOM::HTMLOptionElementImpl::defaultSelected):
1402         (DOM::HTMLOptionElementImpl::setDefaultSelected):
1403         (DOM::HTMLOptionElementImpl::label):
1404         (DOM::HTMLOptionElementImpl::setLabel):
1405         (DOM::HTMLTextAreaElementImpl::parseMappedAttribute):
1406         (DOM::HTMLTextAreaElementImpl::accessKey):
1407         (DOM::HTMLTextAreaElementImpl::setAccessKey):
1408         (DOM::HTMLTextAreaElementImpl::setCols):
1409         (DOM::HTMLTextAreaElementImpl::setRows):
1410         (DOM::HTMLIsIndexElementImpl::parseMappedAttribute):
1411         (DOM::HTMLIsIndexElementImpl::prompt):
1412         (DOM::HTMLIsIndexElementImpl::setPrompt):
1413         * khtml/html/html_formimpl.h:
1414         * khtml/html/html_headimpl.cpp:
1415         (HTMLBaseElementImpl::parseMappedAttribute):
1416         (HTMLBaseElementImpl::setHref):
1417         (HTMLBaseElementImpl::setTarget):
1418         (HTMLLinkElementImpl::parseMappedAttribute):
1419         (HTMLLinkElementImpl::process):
1420         (HTMLLinkElementImpl::isURLAttribute):
1421         (HTMLLinkElementImpl::disabled):
1422         (HTMLLinkElementImpl::setDisabled):
1423         (HTMLLinkElementImpl::charset):
1424         (HTMLLinkElementImpl::setCharset):
1425         (HTMLLinkElementImpl::href):
1426         (HTMLLinkElementImpl::setHref):
1427         (HTMLLinkElementImpl::hreflang):
1428         (HTMLLinkElementImpl::setHreflang):
1429         (HTMLLinkElementImpl::media):
1430         (HTMLLinkElementImpl::setMedia):
1431         (HTMLLinkElementImpl::rel):
1432         (HTMLLinkElementImpl::setRel):
1433         (HTMLLinkElementImpl::rev):
1434         (HTMLLinkElementImpl::setRev):
1435         (HTMLLinkElementImpl::target):
1436         (HTMLLinkElementImpl::setTarget):
1437         (HTMLLinkElementImpl::type):
1438         (HTMLLinkElementImpl::setType):
1439         (HTMLMetaElementImpl::parseMappedAttribute):
1440         (HTMLMetaElementImpl::content):
1441         (HTMLMetaElementImpl::setContent):
1442         (HTMLMetaElementImpl::httpEquiv):
1443         (HTMLMetaElementImpl::setHttpEquiv):
1444         (HTMLMetaElementImpl::name):
1445         (HTMLMetaElementImpl::setName):
1446         (HTMLMetaElementImpl::scheme):
1447         (HTMLMetaElementImpl::setScheme):
1448         (HTMLScriptElementImpl::isURLAttribute):
1449         (HTMLScriptElementImpl::insertedIntoDocument):
1450         (HTMLScriptElementImpl::charset):
1451         (HTMLScriptElementImpl::setCharset):
1452         (HTMLScriptElementImpl::defer):
1453         (HTMLScriptElementImpl::setDefer):
1454         (HTMLScriptElementImpl::src):
1455         (HTMLScriptElementImpl::setSrc):
1456         (HTMLScriptElementImpl::type):
1457         (HTMLScriptElementImpl::setType):
1458         (HTMLStyleElementImpl::parseMappedAttribute):
1459         (HTMLStyleElementImpl::disabled):
1460         (HTMLStyleElementImpl::setDisabled):
1461         (HTMLStyleElementImpl::media):
1462         (HTMLStyleElementImpl::setMedia):
1463         (HTMLStyleElementImpl::type):
1464         (HTMLStyleElementImpl::setType):
1465         * khtml/html/html_imageimpl.cpp:
1466         (HTMLImageLoader::updateFromElement):
1467         (HTMLImageElementImpl::mapToEntry):
1468         (HTMLImageElementImpl::parseMappedAttribute):
1469         (HTMLImageElementImpl::altText):
1470         (HTMLImageElementImpl::width):
1471         (HTMLImageElementImpl::height):
1472         (HTMLImageElementImpl::isURLAttribute):
1473         (HTMLImageElementImpl::name):
1474         (HTMLImageElementImpl::setName):
1475         (HTMLImageElementImpl::align):
1476         (HTMLImageElementImpl::setAlign):
1477         (HTMLImageElementImpl::alt):
1478         (HTMLImageElementImpl::setAlt):
1479         (HTMLImageElementImpl::border):
1480         (HTMLImageElementImpl::setBorder):
1481         (HTMLImageElementImpl::setHeight):
1482         (HTMLImageElementImpl::hspace):
1483         (HTMLImageElementImpl::setHspace):
1484         (HTMLImageElementImpl::isMap):
1485         (HTMLImageElementImpl::setIsMap):
1486         (HTMLImageElementImpl::longDesc):
1487         (HTMLImageElementImpl::setLongDesc):
1488         (HTMLImageElementImpl::src):
1489         (HTMLImageElementImpl::setSrc):
1490         (HTMLImageElementImpl::useMap):
1491         (HTMLImageElementImpl::setUseMap):
1492         (HTMLImageElementImpl::vspace):
1493         (HTMLImageElementImpl::setVspace):
1494         (HTMLImageElementImpl::setWidth):
1495         (HTMLMapElementImpl::parseMappedAttribute):
1496         (HTMLMapElementImpl::name):
1497         (HTMLMapElementImpl::setName):
1498         (HTMLAreaElementImpl::parseMappedAttribute):
1499         (HTMLAreaElementImpl::accessKey):
1500         (HTMLAreaElementImpl::setAccessKey):
1501         (HTMLAreaElementImpl::alt):
1502         (HTMLAreaElementImpl::setAlt):
1503         (HTMLAreaElementImpl::coords):
1504         (HTMLAreaElementImpl::setCoords):
1505         (HTMLAreaElementImpl::href):
1506         (HTMLAreaElementImpl::setHref):
1507         (HTMLAreaElementImpl::noHref):
1508         (HTMLAreaElementImpl::setNoHref):
1509         (HTMLAreaElementImpl::shape):
1510         (HTMLAreaElementImpl::setShape):
1511         (HTMLAreaElementImpl::tabIndex):
1512         (HTMLAreaElementImpl::setTabIndex):
1513         (HTMLAreaElementImpl::target):
1514         (HTMLAreaElementImpl::setTarget):
1515         * khtml/html/html_imageimpl.h:
1516         * khtml/html/html_inlineimpl.cpp:
1517         (DOM::HTMLAnchorElementImpl::defaultEventHandler):
1518         (DOM::HTMLAnchorElementImpl::parseMappedAttribute):
1519         (DOM::HTMLAnchorElementImpl::isURLAttribute):
1520         (DOM::HTMLAnchorElementImpl::accessKey):
1521         (DOM::HTMLAnchorElementImpl::setAccessKey):
1522         (DOM::HTMLAnchorElementImpl::charset):
1523         (DOM::HTMLAnchorElementImpl::setCharset):
1524         (DOM::HTMLAnchorElementImpl::coords):
1525         (DOM::HTMLAnchorElementImpl::setCoords):
1526         (DOM::HTMLAnchorElementImpl::href):
1527         (DOM::HTMLAnchorElementImpl::setHref):
1528         (DOM::HTMLAnchorElementImpl::hreflang):
1529         (DOM::HTMLAnchorElementImpl::setHreflang):
1530         (DOM::HTMLAnchorElementImpl::name):
1531         (DOM::HTMLAnchorElementImpl::setName):
1532         (DOM::HTMLAnchorElementImpl::rel):
1533         (DOM::HTMLAnchorElementImpl::setRel):
1534         (DOM::HTMLAnchorElementImpl::rev):
1535         (DOM::HTMLAnchorElementImpl::setRev):
1536         (DOM::HTMLAnchorElementImpl::shape):
1537         (DOM::HTMLAnchorElementImpl::setShape):
1538         (DOM::HTMLAnchorElementImpl::tabIndex):
1539         (DOM::HTMLAnchorElementImpl::setTabIndex):
1540         (DOM::HTMLAnchorElementImpl::target):
1541         (DOM::HTMLAnchorElementImpl::setTarget):
1542         (DOM::HTMLAnchorElementImpl::type):
1543         (DOM::HTMLAnchorElementImpl::setType):
1544         (DOM::HTMLBRElementImpl::mapToEntry):
1545         (DOM::HTMLBRElementImpl::parseMappedAttribute):
1546         (DOM::HTMLBRElementImpl::clear):
1547         (DOM::HTMLBRElementImpl::setClear):
1548         (DOM::HTMLFontElementImpl::mapToEntry):
1549         (DOM::HTMLFontElementImpl::parseMappedAttribute):
1550         (DOM::HTMLFontElementImpl::color):
1551         (DOM::HTMLFontElementImpl::setColor):
1552         (DOM::HTMLFontElementImpl::face):
1553         (DOM::HTMLFontElementImpl::setFace):
1554         (DOM::HTMLFontElementImpl::size):
1555         (DOM::HTMLFontElementImpl::setSize):
1556         (DOM::HTMLModElementImpl::cite):
1557         (DOM::HTMLModElementImpl::setCite):
1558         (DOM::HTMLModElementImpl::dateTime):
1559         (DOM::HTMLModElementImpl::setDateTime):
1560         (DOM::HTMLQuoteElementImpl::cite):
1561         (DOM::HTMLQuoteElementImpl::setCite):
1562         * khtml/html/html_inlineimpl.h:
1563         * khtml/html/html_listimpl.cpp:
1564         (DOM::HTMLUListElementImpl::mapToEntry):
1565         (DOM::HTMLUListElementImpl::parseMappedAttribute):
1566         (DOM::HTMLUListElementImpl::compact):
1567         (DOM::HTMLUListElementImpl::setCompact):
1568         (DOM::HTMLUListElementImpl::type):
1569         (DOM::HTMLUListElementImpl::setType):
1570         (DOM::HTMLDirectoryElementImpl::compact):
1571         (DOM::HTMLDirectoryElementImpl::setCompact):
1572         (DOM::HTMLMenuElementImpl::compact):
1573         (DOM::HTMLMenuElementImpl::setCompact):
1574         (DOM::HTMLOListElementImpl::mapToEntry):
1575         (DOM::HTMLOListElementImpl::parseMappedAttribute):
1576         (DOM::HTMLOListElementImpl::compact):
1577         (DOM::HTMLOListElementImpl::setCompact):
1578         (DOM::HTMLOListElementImpl::setStart):
1579         (DOM::HTMLOListElementImpl::type):
1580         (DOM::HTMLOListElementImpl::setType):
1581         (DOM::HTMLLIElementImpl::mapToEntry):
1582         (DOM::HTMLLIElementImpl::parseMappedAttribute):
1583         (DOM::HTMLLIElementImpl::type):
1584         (DOM::HTMLLIElementImpl::setType):
1585         (DOM::HTMLLIElementImpl::value):
1586         (DOM::HTMLLIElementImpl::setValue):
1587         (DOM::HTMLDListElementImpl::compact):
1588         (DOM::HTMLDListElementImpl::setCompact):
1589         * khtml/html/html_listimpl.h:
1590         * khtml/html/html_miscimpl.cpp:
1591         (DOM::HTMLBaseFontElementImpl::color):
1592         (DOM::HTMLBaseFontElementImpl::setColor):
1593         (DOM::HTMLBaseFontElementImpl::face):
1594         (DOM::HTMLBaseFontElementImpl::setFace):
1595         (DOM::HTMLBaseFontElementImpl::size):
1596         (DOM::HTMLBaseFontElementImpl::setSize):
1597         (DOM::HTMLCollectionImpl::traverseNextItem):
1598         (DOM::HTMLCollectionImpl::checkForNameMatch):
1599         (DOM::HTMLCollectionImpl::updateNameCache):
1600         (DOM::HTMLFormCollectionImpl::getNamedItem):
1601         (DOM::HTMLFormCollectionImpl::getNamedFormItem):
1602         (DOM::HTMLFormCollectionImpl::nextNamedItemInternal):
1603         (DOM::HTMLFormCollectionImpl::namedItem):
1604         (DOM::HTMLFormCollectionImpl::nextNamedItem):
1605         (DOM::HTMLFormCollectionImpl::updateNameCache):
1606         * khtml/html/html_miscimpl.h:
1607         * khtml/html/html_objectimpl.cpp:
1608         (DOM::HTMLAppletElementImpl::mapToEntry):
1609         (DOM::HTMLAppletElementImpl::parseMappedAttribute):
1610         (DOM::HTMLAppletElementImpl::rendererIsNeeded):
1611         (DOM::HTMLAppletElementImpl::createRenderer):
1612         (DOM::HTMLAppletElementImpl::align):
1613         (DOM::HTMLAppletElementImpl::setAlign):
1614         (DOM::HTMLAppletElementImpl::alt):
1615         (DOM::HTMLAppletElementImpl::setAlt):
1616         (DOM::HTMLAppletElementImpl::archive):
1617         (DOM::HTMLAppletElementImpl::setArchive):
1618         (DOM::HTMLAppletElementImpl::code):
1619         (DOM::HTMLAppletElementImpl::setCode):
1620         (DOM::HTMLAppletElementImpl::codeBase):
1621         (DOM::HTMLAppletElementImpl::setCodeBase):
1622         (DOM::HTMLAppletElementImpl::height):
1623         (DOM::HTMLAppletElementImpl::setHeight):
1624         (DOM::HTMLAppletElementImpl::hspace):
1625         (DOM::HTMLAppletElementImpl::setHspace):
1626         (DOM::HTMLAppletElementImpl::name):
1627         (DOM::HTMLAppletElementImpl::setName):
1628         (DOM::HTMLAppletElementImpl::object):
1629         (DOM::HTMLAppletElementImpl::setObject):
1630         (DOM::HTMLAppletElementImpl::vspace):
1631         (DOM::HTMLAppletElementImpl::setVspace):
1632         (DOM::HTMLAppletElementImpl::width):
1633         (DOM::HTMLAppletElementImpl::setWidth):
1634         (DOM::HTMLEmbedElementImpl::mapToEntry):
1635         (DOM::HTMLEmbedElementImpl::parseMappedAttribute):
1636         (DOM::HTMLEmbedElementImpl::isURLAttribute):
1637         (DOM::HTMLObjectElementImpl::mapToEntry):
1638         (DOM::HTMLObjectElementImpl::parseMappedAttribute):
1639         (DOM::HTMLObjectElementImpl::isURLAttribute):
1640         (DOM::HTMLObjectElementImpl::code):
1641         (DOM::HTMLObjectElementImpl::setCode):
1642         (DOM::HTMLObjectElementImpl::align):
1643         (DOM::HTMLObjectElementImpl::setAlign):
1644         (DOM::HTMLObjectElementImpl::archive):
1645         (DOM::HTMLObjectElementImpl::setArchive):
1646         (DOM::HTMLObjectElementImpl::border):
1647         (DOM::HTMLObjectElementImpl::setBorder):
1648         (DOM::HTMLObjectElementImpl::codeBase):
1649         (DOM::HTMLObjectElementImpl::setCodeBase):
1650         (DOM::HTMLObjectElementImpl::codeType):
1651         (DOM::HTMLObjectElementImpl::setCodeType):
1652         (DOM::HTMLObjectElementImpl::data):
1653         (DOM::HTMLObjectElementImpl::setData):
1654         (DOM::HTMLObjectElementImpl::declare):
1655         (DOM::HTMLObjectElementImpl::setDeclare):
1656         (DOM::HTMLObjectElementImpl::height):
1657         (DOM::HTMLObjectElementImpl::setHeight):
1658         (DOM::HTMLObjectElementImpl::hspace):
1659         (DOM::HTMLObjectElementImpl::setHspace):
1660         (DOM::HTMLObjectElementImpl::name):
1661         (DOM::HTMLObjectElementImpl::setName):
1662         (DOM::HTMLObjectElementImpl::standby):
1663         (DOM::HTMLObjectElementImpl::setStandby):
1664         (DOM::HTMLObjectElementImpl::tabIndex):
1665         (DOM::HTMLObjectElementImpl::setTabIndex):
1666         (DOM::HTMLObjectElementImpl::type):
1667         (DOM::HTMLObjectElementImpl::setType):
1668         (DOM::HTMLObjectElementImpl::useMap):
1669         (DOM::HTMLObjectElementImpl::setUseMap):
1670         (DOM::HTMLObjectElementImpl::vspace):
1671         (DOM::HTMLObjectElementImpl::setVspace):
1672         (DOM::HTMLObjectElementImpl::width):
1673         (DOM::HTMLObjectElementImpl::setWidth):
1674         (DOM::HTMLParamElementImpl::parseMappedAttribute):
1675         (DOM::HTMLParamElementImpl::isURLAttribute):
1676         (DOM::HTMLParamElementImpl::setName):
1677         (DOM::HTMLParamElementImpl::type):
1678         (DOM::HTMLParamElementImpl::setType):
1679         (DOM::HTMLParamElementImpl::setValue):
1680         (DOM::HTMLParamElementImpl::valueType):
1681         (DOM::HTMLParamElementImpl::setValueType):
1682         * khtml/html/html_objectimpl.h:
1683         * khtml/html/html_tableimpl.cpp:
1684         (DOM::HTMLTableElementImpl::mapToEntry):
1685         (DOM::HTMLTableElementImpl::parseMappedAttribute):
1686         (DOM::HTMLTableElementImpl::additionalAttributeStyleDecl):
1687         (DOM::HTMLTableElementImpl::getSharedCellDecl):
1688         (DOM::HTMLTableElementImpl::isURLAttribute):
1689         (DOM::HTMLTableElementImpl::align):
1690         (DOM::HTMLTableElementImpl::setAlign):
1691         (DOM::HTMLTableElementImpl::bgColor):
1692         (DOM::HTMLTableElementImpl::setBgColor):
1693         (DOM::HTMLTableElementImpl::border):
1694         (DOM::HTMLTableElementImpl::setBorder):
1695         (DOM::HTMLTableElementImpl::cellPadding):
1696         (DOM::HTMLTableElementImpl::setCellPadding):
1697         (DOM::HTMLTableElementImpl::cellSpacing):
1698         (DOM::HTMLTableElementImpl::setCellSpacing):
1699         (DOM::HTMLTableElementImpl::frame):
1700         (DOM::HTMLTableElementImpl::setFrame):
1701         (DOM::HTMLTableElementImpl::rules):
1702         (DOM::HTMLTableElementImpl::setRules):
1703         (DOM::HTMLTableElementImpl::summary):
1704         (DOM::HTMLTableElementImpl::setSummary):
1705         (DOM::HTMLTableElementImpl::width):
1706         (DOM::HTMLTableElementImpl::setWidth):
1707         (DOM::HTMLTablePartElementImpl::mapToEntry):
1708         (DOM::HTMLTablePartElementImpl::parseMappedAttribute):
1709         (DOM::HTMLTableSectionElementImpl::align):
1710         (DOM::HTMLTableSectionElementImpl::setAlign):
1711         (DOM::HTMLTableSectionElementImpl::ch):
1712         (DOM::HTMLTableSectionElementImpl::setCh):
1713         (DOM::HTMLTableSectionElementImpl::chOff):
1714         (DOM::HTMLTableSectionElementImpl::setChOff):
1715         (DOM::HTMLTableSectionElementImpl::vAlign):
1716         (DOM::HTMLTableSectionElementImpl::setVAlign):
1717         (DOM::HTMLTableRowElementImpl::align):
1718         (DOM::HTMLTableRowElementImpl::setAlign):
1719         (DOM::HTMLTableRowElementImpl::bgColor):
1720         (DOM::HTMLTableRowElementImpl::setBgColor):
1721         (DOM::HTMLTableRowElementImpl::ch):
1722         (DOM::HTMLTableRowElementImpl::setCh):
1723         (DOM::HTMLTableRowElementImpl::chOff):
1724         (DOM::HTMLTableRowElementImpl::setChOff):
1725         (DOM::HTMLTableRowElementImpl::vAlign):
1726         (DOM::HTMLTableRowElementImpl::setVAlign):
1727         (DOM::HTMLTableCellElementImpl::mapToEntry):
1728         (DOM::HTMLTableCellElementImpl::parseMappedAttribute):
1729         (DOM::HTMLTableCellElementImpl::isURLAttribute):
1730         (DOM::HTMLTableCellElementImpl::abbr):
1731         (DOM::HTMLTableCellElementImpl::setAbbr):
1732         (DOM::HTMLTableCellElementImpl::align):
1733         (DOM::HTMLTableCellElementImpl::setAlign):
1734         (DOM::HTMLTableCellElementImpl::axis):
1735         (DOM::HTMLTableCellElementImpl::setAxis):
1736         (DOM::HTMLTableCellElementImpl::bgColor):
1737         (DOM::HTMLTableCellElementImpl::setBgColor):
1738         (DOM::HTMLTableCellElementImpl::ch):
1739         (DOM::HTMLTableCellElementImpl::setCh):
1740         (DOM::HTMLTableCellElementImpl::chOff):
1741         (DOM::HTMLTableCellElementImpl::setChOff):
1742         (DOM::HTMLTableCellElementImpl::setColSpan):
1743         (DOM::HTMLTableCellElementImpl::headers):
1744         (DOM::HTMLTableCellElementImpl::setHeaders):
1745         (DOM::HTMLTableCellElementImpl::height):
1746         (DOM::HTMLTableCellElementImpl::setHeight):
1747         (DOM::HTMLTableCellElementImpl::noWrap):
1748         (DOM::HTMLTableCellElementImpl::setNoWrap):
1749         (DOM::HTMLTableCellElementImpl::setRowSpan):
1750         (DOM::HTMLTableCellElementImpl::scope):
1751         (DOM::HTMLTableCellElementImpl::setScope):
1752         (DOM::HTMLTableCellElementImpl::vAlign):
1753         (DOM::HTMLTableCellElementImpl::setVAlign):
1754         (DOM::HTMLTableCellElementImpl::width):
1755         (DOM::HTMLTableCellElementImpl::setWidth):
1756         (DOM::HTMLTableColElementImpl::mapToEntry):
1757         (DOM::HTMLTableColElementImpl::parseMappedAttribute):
1758         (DOM::HTMLTableColElementImpl::align):
1759         (DOM::HTMLTableColElementImpl::setAlign):
1760         (DOM::HTMLTableColElementImpl::ch):
1761         (DOM::HTMLTableColElementImpl::setCh):
1762         (DOM::HTMLTableColElementImpl::chOff):
1763         (DOM::HTMLTableColElementImpl::setChOff):
1764         (DOM::HTMLTableColElementImpl::setSpan):
1765         (DOM::HTMLTableColElementImpl::vAlign):
1766         (DOM::HTMLTableColElementImpl::setVAlign):
1767         (DOM::HTMLTableColElementImpl::width):
1768         (DOM::HTMLTableColElementImpl::setWidth):
1769         (DOM::HTMLTableCaptionElementImpl::mapToEntry):
1770         (DOM::HTMLTableCaptionElementImpl::parseMappedAttribute):
1771         (DOM::HTMLTableCaptionElementImpl::align):
1772         (DOM::HTMLTableCaptionElementImpl::setAlign):
1773         * khtml/html/html_tableimpl.h:
1774         * khtml/html/htmlnames.cpp:
1775         (DOM::HTMLNames::init):
1776         (DOM::HTMLAttributes::init):
1777         * khtml/html/htmlnames.h:
1778         * khtml/html/htmlparser.cpp:
1779         (HTMLParser::handleError):
1780         (HTMLParser::framesetCreateErrorCheck):
1781         (HTMLParser::handleIsindex):
1782         * khtml/html/htmltokenizer.cpp:
1783         (khtml::Token::addAttribute):
1784         (khtml::HTMLTokenizer::HTMLTokenizer):
1785         (khtml::HTMLTokenizer::parseTag):
1786         (khtml::HTMLTokenizer::processToken):
1787         * khtml/html/htmltokenizer.h:
1788         * khtml/khtml_part.cpp:
1789         (KHTMLPart::init):
1790         (KHTMLPart::backgroundURL):
1791         (KHTMLPart::updateActions):
1792         (KHTMLPart::handleMouseMoveEventDrag):
1793         (KHTMLPart::selectionComputedStyle):
1794         (KHTMLPart::applyEditingStyleToElement):
1795         (KHTMLPart::removeEditingStyleFromElement):
1796         * khtml/khtmlview.cpp:
1797         * khtml/misc/decoder.cpp:
1798         * khtml/misc/htmlattrs.in: Removed.
1799         * khtml/misc/htmlhashes.cpp: Removed.
1800         * khtml/misc/htmlhashes.h: Removed.
1801         * khtml/misc/htmltags.in: Removed.
1802         * khtml/misc/makeattrs: Removed.
1803         * khtml/misc/maketags: Removed.
1804         * khtml/rendering/render_box.cpp:
1805         * khtml/rendering/render_form.cpp:
1806         (RenderLineEdit::updateFromElement):
1807         (RenderSelect::updateFromElement):
1808         (RenderSlider::updateFromElement):
1809         (RenderSlider::slotSliderValueChanged):
1810         * khtml/rendering/render_frames.cpp:
1811         (RenderPartObject::updateWidget):
1812         * khtml/rendering/render_object.cpp:
1813         * khtml/rendering/render_table.cpp:
1814         (RenderTableCell::calcMinMaxWidth):
1815         * khtml/xml/dom_docimpl.cpp:
1816         (DocumentImpl::createElement):
1817         (DocumentImpl::importNode):
1818         (DocumentImpl::createElementNS):
1819         (DocumentImpl::getElementById):
1820         (DocumentImpl::getElementByAccessKey):
1821         (DocumentImpl::prepareMouseEvent):
1822         (DocumentImpl::recalcStyleSelector):
1823         (DocumentImpl::createAttributeNS):
1824         * khtml/xml/dom_docimpl.h:
1825         * khtml/xml/dom_elementimpl.cpp:
1826         (AttributeImpl::clone):
1827         (AttributeImpl::allocateImpl):
1828         (AttrImpl::AttrImpl):
1829         (AttrImpl::~AttrImpl):
1830         (AttrImpl::nodeName):
1831         (AttrImpl::name):
1832         (ElementImpl::removeAttribute):
1833         (ElementImpl::setAttribute):
1834         (ElementImpl::getAttribute):
1835         (ElementImpl::getAttributeNS):
1836         (ElementImpl::createAttribute):
1837         (ElementImpl::setAttributeMap):
1838         (ElementImpl::nodeName):
1839         (ElementImpl::insertedIntoDocument):
1840         (ElementImpl::removedFromDocument):
1841         (ElementImpl::openTagStartToString):
1842         (ElementImpl::dump):
1843         (ElementImpl::formatForDebugger):
1844         (ElementImpl::removeAttributeNode):
1845         (ElementImpl::setAttributeNS):
1846         (ElementImpl::removeAttributeNS):
1847         (ElementImpl::getAttributeNodeNS):
1848         (ElementImpl::hasAttributeNS):
1849         (NamedAttrMapImpl::getNamedItem):
1850         (NamedAttrMapImpl::setNamedItem):
1851         (NamedAttrMapImpl::removeNamedItem):
1852         (NamedAttrMapImpl::getAttributeItem):
1853         (NamedAttrMapImpl::clearAttributes):
1854         (NamedAttrMapImpl::operator=):
1855         (NamedAttrMapImpl::addAttribute):
1856         (NamedAttrMapImpl::removeAttribute):
1857         (StyledElementImpl::getMappedAttributeDecl):
1858         (StyledElementImpl::setMappedAttributeDecl):
1859         (StyledElementImpl::removeMappedAttributeDecl):
1860         (StyledElementImpl::updateStyleAttributeIfNeeded):
1861         (MappedAttributeImpl::clone):
1862         (NamedMappedAttrMapImpl::mapsEquivalent):
1863         (StyledElementImpl::createAttribute):
1864         (StyledElementImpl::attributeChanged):
1865         (StyledElementImpl::mapToEntry):
1866         (StyledElementImpl::parseMappedAttribute):
1867         * khtml/xml/dom_elementimpl.h:
1868         (DOM::AttributeImpl::AttributeImpl):
1869         (DOM::AttributeImpl::value):
1870         (DOM::AttributeImpl::prefix):
1871         (DOM::AttributeImpl::localName):
1872         (DOM::AttributeImpl::namespaceURI):
1873         (DOM::AttributeImpl::name):
1874         (DOM::AttributeImpl::attrImpl):
1875         (DOM::AttributeImpl::isNull):
1876         (DOM::AttributeImpl::isEmpty):
1877         (DOM::AttributeImpl::setValue):
1878         (DOM::AttributeImpl::setPrefix):
1879         (DOM::NamedAttrMapImpl::insertAttribute):
1880         (DOM::CSSMappedAttributeDeclarationImpl::CSSMappedAttributeDeclarationImpl):
1881         (DOM::CSSMappedAttributeDeclarationImpl::setMappedState):
1882         (DOM::MappedAttributeImpl::MappedAttributeImpl):
1883         (DOM::StyledElementImpl::isMappedAttribute):
1884         * khtml/xml/dom_nodeimpl.cpp:
1885         (DOM::NodeImpl::namespaceURI):
1886         (DOM::appendAttributeDesc):
1887         (DOM::NodeImpl::showNode):
1888         (DOM::NameNodeListImpl::nodeMatches):
1889         (DOM::NamedNodeMapImpl::getNamedItemNS):
1890         (DOM::NamedNodeMapImpl::removeNamedItemNS):
1891         * khtml/xml/dom_nodeimpl.h:
1892         * khtml/xml/dom_qname.cpp:
1893         (DOM::QualifiedName::toString):
1894         (DOM::QualifiedName::init):
1895         * khtml/xml/dom_qname.h:
1896         (DOM::anyQName):
1897         * khtml/xml/dom_textimpl.cpp:
1898         * khtml/xml/xml_tokenizer.cpp:
1899         (khtml::XMLTokenizer::startElement):
1900         (khtml::XMLTokenizer::insertErrorMessageBlock):
1901         (khtml::XMLTokenizer::executeScripts):
1902         * kwq/DOMHTML.h:
1903         * kwq/DOMHTML.mm:
1904         (-[DOMHTMLElement idName]):
1905         (-[DOMHTMLElement setIdName:]):
1906         (-[DOMHTMLElement title]):
1907         (-[DOMHTMLElement setTitle:]):
1908         (-[DOMHTMLElement lang]):
1909         (-[DOMHTMLElement setLang:]):
1910         (-[DOMHTMLElement dir]):
1911         (-[DOMHTMLElement setDir:]):
1912         (-[DOMHTMLElement className]):
1913         (-[DOMHTMLElement setClassName:]):
1914         (-[DOMHTMLHtmlElement version]):
1915         (-[DOMHTMLHtmlElement setVersion:]):
1916         (-[DOMHTMLHeadElement profile]):
1917         (-[DOMHTMLHeadElement setProfile:]):
1918         (-[DOMHTMLLinkElement disabled]):
1919         (-[DOMHTMLLinkElement setDisabled:]):
1920         (-[DOMHTMLLinkElement charset]):
1921         (-[DOMHTMLLinkElement setCharset:]):
1922         (-[DOMHTMLLinkElement setHref:]):
1923         (-[DOMHTMLLinkElement hreflang]):
1924         (-[DOMHTMLLinkElement setHreflang:]):
1925         (-[DOMHTMLLinkElement media]):
1926         (-[DOMHTMLLinkElement setMedia:]):
1927         (-[DOMHTMLLinkElement rel]):
1928         (-[DOMHTMLLinkElement setRel:]):
1929         (-[DOMHTMLLinkElement rev]):
1930         (-[DOMHTMLLinkElement setRev:]):
1931         (-[DOMHTMLLinkElement target]):
1932         (-[DOMHTMLLinkElement setTarget:]):
1933         (-[DOMHTMLLinkElement type]):
1934         (-[DOMHTMLLinkElement setType:]):
1935         (-[DOMHTMLTitleElement text]):
1936         (-[DOMHTMLTitleElement setText:]):
1937         (-[DOMHTMLMetaElement content]):
1938         (-[DOMHTMLMetaElement setContent:]):
1939         (-[DOMHTMLMetaElement httpEquiv]):
1940         (-[DOMHTMLMetaElement setHttpEquiv:]):
1941         (-[DOMHTMLMetaElement name]):
1942         (-[DOMHTMLMetaElement setName:]):
1943         (-[DOMHTMLMetaElement scheme]):
1944         (-[DOMHTMLMetaElement setScheme:]):
1945         (-[DOMHTMLBaseElement setHref:]):
1946         (-[DOMHTMLBaseElement target]):
1947         (-[DOMHTMLBaseElement setTarget:]):
1948         (-[DOMHTMLStyleElement disabled]):
1949         (-[DOMHTMLStyleElement setDisabled:]):
1950         (-[DOMHTMLStyleElement media]):
1951         (-[DOMHTMLStyleElement setMedia:]):
1952         (-[DOMHTMLStyleElement type]):
1953         (-[DOMHTMLStyleElement setType:]):
1954         (-[DOMHTMLBodyElement aLink]):
1955         (-[DOMHTMLBodyElement setALink:]):
1956         (-[DOMHTMLBodyElement background]):
1957         (-[DOMHTMLBodyElement setBackground:]):
1958         (-[DOMHTMLBodyElement bgColor]):
1959         (-[DOMHTMLBodyElement setBgColor:]):
1960         (-[DOMHTMLBodyElement link]):
1961         (-[DOMHTMLBodyElement setLink:]):
1962         (-[DOMHTMLBodyElement text]):
1963         (-[DOMHTMLBodyElement setText:]):
1964         (-[DOMHTMLBodyElement vLink]):
1965         (-[DOMHTMLBodyElement setVLink:]):
1966         (-[DOMHTMLFormElement name]):
1967         (-[DOMHTMLFormElement setName:]):
1968         (-[DOMHTMLFormElement acceptCharset]):
1969         (-[DOMHTMLFormElement setAcceptCharset:]):
1970         (-[DOMHTMLFormElement action]):
1971         (-[DOMHTMLFormElement setAction:]):
1972         (-[DOMHTMLFormElement enctype]):
1973         (-[DOMHTMLFormElement setEnctype:]):
1974         (-[DOMHTMLFormElement method]):
1975         (-[DOMHTMLFormElement setMethod:]):
1976         (-[DOMHTMLFormElement target]):
1977         (-[DOMHTMLFormElement setTarget:]):
1978         (-[DOMHTMLIsIndexElement prompt]):
1979         (-[DOMHTMLIsIndexElement setPrompt:]):
1980         (-[DOMHTMLSelectElement disabled]):
1981         (-[DOMHTMLSelectElement setDisabled:]):
1982         (-[DOMHTMLSelectElement multiple]):
1983         (-[DOMHTMLSelectElement setMultiple:]):
1984         (-[DOMHTMLSelectElement size]):
1985         (-[DOMHTMLSelectElement setSize:]):
1986         (-[DOMHTMLOptGroupElement disabled]):
1987         (-[DOMHTMLOptGroupElement setDisabled:]):
1988         (-[DOMHTMLOptGroupElement label]):
1989         (-[DOMHTMLOptGroupElement setLabel:]):
1990         (-[DOMHTMLOptionElement defaultSelected]):
1991         (-[DOMHTMLOptionElement setDefaultSelected:]):
1992         (-[DOMHTMLOptionElement disabled]):
1993         (-[DOMHTMLOptionElement setDisabled:]):
1994         (-[DOMHTMLOptionElement label]):
1995         (-[DOMHTMLOptionElement setLabel:]):
1996         (-[DOMHTMLInputElement defaultValue]):
1997         (-[DOMHTMLInputElement setDefaultValue:]):
1998         (-[DOMHTMLInputElement defaultChecked]):
1999         (-[DOMHTMLInputElement setDefaultChecked:]):
2000         (-[DOMHTMLInputElement accept]):
2001         (-[DOMHTMLInputElement setAccept:]):
2002         (-[DOMHTMLInputElement accessKey]):
2003         (-[DOMHTMLInputElement setAccessKey:]):
2004         (-[DOMHTMLInputElement align]):
2005         (-[DOMHTMLInputElement setAlign:]):
2006         (-[DOMHTMLInputElement alt]):
2007         (-[DOMHTMLInputElement setAlt:]):
2008         (-[DOMHTMLInputElement disabled]):
2009         (-[DOMHTMLInputElement setDisabled:]):
2010         (-[DOMHTMLInputElement maxLength]):
2011         (-[DOMHTMLInputElement setMaxLength:]):
2012         (-[DOMHTMLInputElement readOnly]):
2013         (-[DOMHTMLInputElement setReadOnly:]):
2014         (-[DOMHTMLInputElement size]):
2015         (-[DOMHTMLInputElement setSize:]):
2016         (-[DOMHTMLInputElement setSrc:]):
2017         (-[DOMHTMLInputElement useMap]):
2018         (-[DOMHTMLInputElement setUseMap:]):
2019         (-[DOMHTMLTextAreaElement accessKey]):
2020         (-[DOMHTMLTextAreaElement setAccessKey:]):
2021         (-[DOMHTMLTextAreaElement cols]):
2022         (-[DOMHTMLTextAreaElement setCols:]):
2023         (-[DOMHTMLTextAreaElement disabled]):
2024         (-[DOMHTMLTextAreaElement setDisabled:]):
2025         (-[DOMHTMLTextAreaElement readOnly]):
2026         (-[DOMHTMLTextAreaElement setReadOnly:]):
2027         (-[DOMHTMLTextAreaElement rows]):
2028         (-[DOMHTMLTextAreaElement setRows:]):
2029         (-[DOMHTMLButtonElement accessKey]):
2030         (-[DOMHTMLButtonElement setAccessKey:]):
2031         (-[DOMHTMLButtonElement disabled]):
2032         (-[DOMHTMLButtonElement setDisabled:]):
2033         (-[DOMHTMLButtonElement value]):
2034         (-[DOMHTMLButtonElement setValue:]):
2035         (-[DOMHTMLLabelElement accessKey]):
2036         (-[DOMHTMLLabelElement setAccessKey:]):
2037         (-[DOMHTMLLabelElement htmlFor]):
2038         (-[DOMHTMLLabelElement setHtmlFor:]):
2039         (-[DOMHTMLLegendElement accessKey]):
2040         (-[DOMHTMLLegendElement setAccessKey:]):
2041         (-[DOMHTMLLegendElement align]):
2042         (-[DOMHTMLLegendElement setAlign:]):
2043         (-[DOMHTMLUListElement compact]):
2044         (-[DOMHTMLUListElement setCompact:]):
2045         (-[DOMHTMLUListElement type]):
2046         (-[DOMHTMLUListElement setType:]):
2047         (-[DOMHTMLOListElement compact]):
2048         (-[DOMHTMLOListElement setCompact:]):
2049         (-[DOMHTMLOListElement start]):
2050         (-[DOMHTMLOListElement setStart:]):
2051         (-[DOMHTMLOListElement type]):
2052         (-[DOMHTMLOListElement setType:]):
2053         (-[DOMHTMLDListElement compact]):
2054         (-[DOMHTMLDListElement setCompact:]):
2055         (-[DOMHTMLDirectoryElement compact]):
2056         (-[DOMHTMLDirectoryElement setCompact:]):
2057         (-[DOMHTMLMenuElement compact]):
2058         (-[DOMHTMLMenuElement setCompact:]):
2059         (-[DOMHTMLLIElement type]):
2060         (-[DOMHTMLLIElement setType:]):
2061         (-[DOMHTMLLIElement value]):
2062         (-[DOMHTMLLIElement setValue:]):
2063         (-[DOMHTMLQuoteElement cite]):
2064         (-[DOMHTMLQuoteElement setCite:]):
2065         (-[DOMHTMLDivElement align]):
2066         (-[DOMHTMLDivElement setAlign:]):
2067         (-[DOMHTMLParagraphElement align]):
2068         (-[DOMHTMLParagraphElement setAlign:]):
2069         (-[DOMHTMLHeadingElement align]):
2070         (-[DOMHTMLHeadingElement setAlign:]):
2071         (-[DOMHTMLPreElement width]):
2072         (-[DOMHTMLPreElement setWidth:]):
2073         (-[DOMHTMLBRElement clear]):
2074         (-[DOMHTMLBRElement setClear:]):
2075         (-[DOMHTMLBaseFontElement color]):
2076         (-[DOMHTMLBaseFontElement setColor:]):
2077         (-[DOMHTMLBaseFontElement face]):
2078         (-[DOMHTMLBaseFontElement setFace:]):
2079         (-[DOMHTMLBaseFontElement size]):
2080         (-[DOMHTMLBaseFontElement setSize:]):
2081         (-[DOMHTMLFontElement color]):
2082         (-[DOMHTMLFontElement setColor:]):
2083         (-[DOMHTMLFontElement face]):
2084         (-[DOMHTMLFontElement setFace:]):
2085         (-[DOMHTMLFontElement size]):
2086         (-[DOMHTMLFontElement setSize:]):
2087         (-[DOMHTMLHRElement align]):
2088         (-[DOMHTMLHRElement setAlign:]):
2089         (-[DOMHTMLHRElement noShade]):
2090         (-[DOMHTMLHRElement setNoShade:]):
2091         (-[DOMHTMLHRElement size]):
2092         (-[DOMHTMLHRElement setSize:]):
2093         (-[DOMHTMLHRElement width]):
2094         (-[DOMHTMLHRElement setWidth:]):
2095         (-[DOMHTMLModElement cite]):
2096         (-[DOMHTMLModElement setCite:]):
2097         (-[DOMHTMLModElement dateTime]):
2098         (-[DOMHTMLModElement setDateTime:]):
2099         (-[DOMHTMLAnchorElement accessKey]):
2100         (-[DOMHTMLAnchorElement setAccessKey:]):
2101         (-[DOMHTMLAnchorElement charset]):
2102         (-[DOMHTMLAnchorElement setCharset:]):
2103         (-[DOMHTMLAnchorElement coords]):
2104         (-[DOMHTMLAnchorElement setCoords:]):
2105         (-[DOMHTMLAnchorElement setHref:]):
2106         (-[DOMHTMLAnchorElement hreflang]):
2107         (-[DOMHTMLAnchorElement setHreflang:]):
2108         (-[DOMHTMLAnchorElement name]):
2109         (-[DOMHTMLAnchorElement setName:]):
2110         (-[DOMHTMLAnchorElement rel]):
2111         (-[DOMHTMLAnchorElement setRel:]):
2112         (-[DOMHTMLAnchorElement rev]):
2113         (-[DOMHTMLAnchorElement setRev:]):
2114         (-[DOMHTMLAnchorElement shape]):
2115         (-[DOMHTMLAnchorElement setShape:]):
2116         (-[DOMHTMLAnchorElement tabIndex]):
2117         (-[DOMHTMLAnchorElement setTabIndex:]):
2118         (-[DOMHTMLAnchorElement target]):
2119         (-[DOMHTMLAnchorElement setTarget:]):
2120         (-[DOMHTMLAnchorElement type]):
2121         (-[DOMHTMLAnchorElement setType:]):
2122         (-[DOMHTMLImageElement name]):
2123         (-[DOMHTMLImageElement setName:]):
2124         (-[DOMHTMLImageElement align]):
2125         (-[DOMHTMLImageElement setAlign:]):
2126         (-[DOMHTMLImageElement alt]):
2127         (-[DOMHTMLImageElement setAlt:]):
2128         (-[DOMHTMLImageElement border]):
2129         (-[DOMHTMLImageElement setBorder:]):
2130         (-[DOMHTMLImageElement height]):
2131         (-[DOMHTMLImageElement setHeight:]):
2132         (-[DOMHTMLImageElement hspace]):
2133         (-[DOMHTMLImageElement setHspace:]):
2134         (-[DOMHTMLImageElement isMap]):
2135         (-[DOMHTMLImageElement setIsMap:]):
2136         (-[DOMHTMLImageElement longDesc]):
2137         (-[DOMHTMLImageElement setLongDesc:]):
2138         (-[DOMHTMLImageElement setSrc:]):
2139         (-[DOMHTMLImageElement useMap]):
2140         (-[DOMHTMLImageElement setUseMap:]):
2141         (-[DOMHTMLImageElement vspace]):
2142         (-[DOMHTMLImageElement setVspace:]):
2143         (-[DOMHTMLImageElement width]):
2144         (-[DOMHTMLImageElement setWidth:]):
2145         (-[DOMHTMLObjectElement code]):
2146         (-[DOMHTMLObjectElement setCode:]):
2147         (-[DOMHTMLObjectElement align]):
2148         (-[DOMHTMLObjectElement setAlign:]):
2149         (-[DOMHTMLObjectElement archive]):
2150         (-[DOMHTMLObjectElement setArchive:]):
2151         (-[DOMHTMLObjectElement border]):
2152         (-[DOMHTMLObjectElement setBorder:]):
2153         (-[DOMHTMLObjectElement codeBase]):
2154         (-[DOMHTMLObjectElement setCodeBase:]):
2155         (-[DOMHTMLObjectElement codeType]):
2156         (-[DOMHTMLObjectElement setCodeType:]):
2157         (-[DOMHTMLObjectElement data]):
2158         (-[DOMHTMLObjectElement setData:]):
2159         (-[DOMHTMLObjectElement declare]):
2160         (-[DOMHTMLObjectElement setDeclare:]):
2161         (-[DOMHTMLObjectElement height]):
2162         (-[DOMHTMLObjectElement setHeight:]):
2163         (-[DOMHTMLObjectElement hspace]):
2164         (-[DOMHTMLObjectElement setHspace:]):
2165         (-[DOMHTMLObjectElement name]):
2166         (-[DOMHTMLObjectElement setName:]):
2167         (-[DOMHTMLObjectElement standby]):
2168         (-[DOMHTMLObjectElement setStandby:]):
2169         (-[DOMHTMLObjectElement tabIndex]):
2170         (-[DOMHTMLObjectElement setTabIndex:]):
2171         (-[DOMHTMLObjectElement type]):
2172         (-[DOMHTMLObjectElement setType:]):
2173         (-[DOMHTMLObjectElement useMap]):
2174         (-[DOMHTMLObjectElement setUseMap:]):
2175         (-[DOMHTMLObjectElement vspace]):
2176         (-[DOMHTMLObjectElement setVspace:]):
2177         (-[DOMHTMLObjectElement width]):
2178         (-[DOMHTMLObjectElement setWidth:]):
2179         (-[DOMHTMLParamElement name]):
2180         (-[DOMHTMLParamElement setName:]):
2181         (-[DOMHTMLParamElement type]):
2182         (-[DOMHTMLParamElement setType:]):
2183         (-[DOMHTMLParamElement value]):
2184         (-[DOMHTMLParamElement setValue:]):
2185         (-[DOMHTMLParamElement valueType]):
2186         (-[DOMHTMLParamElement setValueType:]):
2187         (-[DOMHTMLAppletElement align]):
2188         (-[DOMHTMLAppletElement setAlign:]):
2189         (-[DOMHTMLAppletElement alt]):
2190         (-[DOMHTMLAppletElement setAlt:]):
2191         (-[DOMHTMLAppletElement archive]):
2192         (-[DOMHTMLAppletElement setArchive:]):
2193         (-[DOMHTMLAppletElement code]):
2194         (-[DOMHTMLAppletElement setCode:]):
2195         (-[DOMHTMLAppletElement codeBase]):
2196         (-[DOMHTMLAppletElement setCodeBase:]):
2197         (-[DOMHTMLAppletElement height]):
2198         (-[DOMHTMLAppletElement setHeight:]):
2199         (-[DOMHTMLAppletElement hspace]):
2200         (-[DOMHTMLAppletElement setHspace:]):
2201         (-[DOMHTMLAppletElement name]):
2202         (-[DOMHTMLAppletElement setName:]):
2203         (-[DOMHTMLAppletElement object]):
2204         (-[DOMHTMLAppletElement setObject:]):
2205         (-[DOMHTMLAppletElement vspace]):
2206         (-[DOMHTMLAppletElement setVspace:]):
2207         (-[DOMHTMLAppletElement width]):
2208         (-[DOMHTMLAppletElement setWidth:]):
2209         (-[DOMHTMLMapElement name]):
2210         (-[DOMHTMLMapElement setName:]):
2211         (-[DOMHTMLAreaElement accessKey]):
2212         (-[DOMHTMLAreaElement setAccessKey:]):
2213         (-[DOMHTMLAreaElement alt]):
2214         (-[DOMHTMLAreaElement setAlt:]):
2215         (-[DOMHTMLAreaElement coords]):
2216         (-[DOMHTMLAreaElement setCoords:]):
2217         (-[DOMHTMLAreaElement setHref:]):
2218         (-[DOMHTMLAreaElement noHref]):
2219         (-[DOMHTMLAreaElement setNoHref:]):
2220         (-[DOMHTMLAreaElement shape]):
2221         (-[DOMHTMLAreaElement setShape:]):
2222         (-[DOMHTMLAreaElement tabIndex]):
2223         (-[DOMHTMLAreaElement setTabIndex:]):
2224         (-[DOMHTMLAreaElement target]):
2225         (-[DOMHTMLAreaElement setTarget:]):
2226         (-[DOMHTMLScriptElement text]):
2227         (-[DOMHTMLScriptElement setText:]):
2228         (-[DOMHTMLScriptElement charset]):
2229         (-[DOMHTMLScriptElement setCharset:]):
2230         (-[DOMHTMLScriptElement defer]):
2231         (-[DOMHTMLScriptElement setDefer:]):
2232         (-[DOMHTMLScriptElement src]):
2233         (-[DOMHTMLScriptElement setSrc:]):
2234         (-[DOMHTMLScriptElement type]):
2235         (-[DOMHTMLScriptElement setType:]):
2236         (-[DOMHTMLTableCaptionElement align]):
2237         (-[DOMHTMLTableCaptionElement setAlign:]):
2238         (-[DOMHTMLTableSectionElement align]):
2239         (-[DOMHTMLTableSectionElement setAlign:]):
2240         (-[DOMHTMLTableSectionElement ch]):
2241         (-[DOMHTMLTableSectionElement setCh:]):
2242         (-[DOMHTMLTableSectionElement chOff]):
2243         (-[DOMHTMLTableSectionElement setChOff:]):
2244         (-[DOMHTMLTableSectionElement vAlign]):
2245         (-[DOMHTMLTableSectionElement setVAlign:]):
2246         (-[DOMHTMLTableElement align]):
2247         (-[DOMHTMLTableElement setAlign:]):
2248         (-[DOMHTMLTableElement bgColor]):
2249         (-[DOMHTMLTableElement setBgColor:]):
2250         (-[DOMHTMLTableElement border]):
2251         (-[DOMHTMLTableElement setBorder:]):
2252         (-[DOMHTMLTableElement cellPadding]):
2253         (-[DOMHTMLTableElement setCellPadding:]):
2254         (-[DOMHTMLTableElement cellSpacing]):
2255         (-[DOMHTMLTableElement setCellSpacing:]):
2256         (-[DOMHTMLTableElement frameBorders]):
2257         (-[DOMHTMLTableElement setFrameBorders:]):
2258         (-[DOMHTMLTableElement rules]):
2259         (-[DOMHTMLTableElement setRules:]):
2260         (-[DOMHTMLTableElement summary]):
2261         (-[DOMHTMLTableElement setSummary:]):
2262         (-[DOMHTMLTableElement width]):
2263         (-[DOMHTMLTableElement setWidth:]):
2264         (-[DOMHTMLTableColElement align]):
2265         (-[DOMHTMLTableColElement setAlign:]):
2266         (-[DOMHTMLTableColElement ch]):
2267         (-[DOMHTMLTableColElement setCh:]):
2268         (-[DOMHTMLTableColElement chOff]):
2269         (-[DOMHTMLTableColElement setChOff:]):
2270         (-[DOMHTMLTableColElement span]):
2271         (-[DOMHTMLTableColElement setSpan:]):
2272         (-[DOMHTMLTableColElement vAlign]):
2273         (-[DOMHTMLTableColElement setVAlign:]):
2274         (-[DOMHTMLTableColElement width]):
2275         (-[DOMHTMLTableColElement setWidth:]):
2276         (-[DOMHTMLTableRowElement align]):
2277         (-[DOMHTMLTableRowElement setAlign:]):
2278         (-[DOMHTMLTableRowElement bgColor]):
2279         (-[DOMHTMLTableRowElement setBgColor:]):
2280         (-[DOMHTMLTableRowElement ch]):
2281         (-[DOMHTMLTableRowElement setCh:]):
2282         (-[DOMHTMLTableRowElement chOff]):
2283         (-[DOMHTMLTableRowElement setChOff:]):
2284         (-[DOMHTMLTableRowElement vAlign]):
2285         (-[DOMHTMLTableRowElement setVAlign:]):
2286         (-[DOMHTMLTableCellElement abbr]):
2287         (-[DOMHTMLTableCellElement setAbbr:]):
2288         (-[DOMHTMLTableCellElement align]):
2289         (-[DOMHTMLTableCellElement setAlign:]):
2290         (-[DOMHTMLTableCellElement axis]):
2291         (-[DOMHTMLTableCellElement setAxis:]):
2292         (-[DOMHTMLTableCellElement bgColor]):
2293         (-[DOMHTMLTableCellElement setBgColor:]):
2294         (-[DOMHTMLTableCellElement ch]):
2295         (-[DOMHTMLTableCellElement setCh:]):
2296         (-[DOMHTMLTableCellElement chOff]):
2297         (-[DOMHTMLTableCellElement setChOff:]):
2298         (-[DOMHTMLTableCellElement colSpan]):
2299         (-[DOMHTMLTableCellElement setColSpan:]):
2300         (-[DOMHTMLTableCellElement headers]):
2301         (-[DOMHTMLTableCellElement setHeaders:]):
2302         (-[DOMHTMLTableCellElement height]):
2303         (-[DOMHTMLTableCellElement setHeight:]):
2304         (-[DOMHTMLTableCellElement noWrap]):
2305         (-[DOMHTMLTableCellElement setNoWrap:]):
2306         (-[DOMHTMLTableCellElement rowSpan]):
2307         (-[DOMHTMLTableCellElement setRowSpan:]):
2308         (-[DOMHTMLTableCellElement scope]):
2309         (-[DOMHTMLTableCellElement setScope:]):
2310         (-[DOMHTMLTableCellElement vAlign]):
2311         (-[DOMHTMLTableCellElement setVAlign:]):
2312         (-[DOMHTMLTableCellElement width]):
2313         (-[DOMHTMLTableCellElement setWidth:]):
2314         (-[DOMHTMLFrameSetElement rows]):
2315         (-[DOMHTMLFrameSetElement setRows:]):
2316         (-[DOMHTMLFrameSetElement cols]):
2317         (-[DOMHTMLFrameSetElement setCols:]):
2318         (-[DOMHTMLFrameElement frameBorder]):
2319         (-[DOMHTMLFrameElement setFrameBorder:]):
2320         (-[DOMHTMLFrameElement longDesc]):
2321         (-[DOMHTMLFrameElement setLongDesc:]):
2322         (-[DOMHTMLFrameElement marginHeight]):
2323         (-[DOMHTMLFrameElement setMarginHeight:]):
2324         (-[DOMHTMLFrameElement marginWidth]):
2325         (-[DOMHTMLFrameElement setMarginWidth:]):
2326         (-[DOMHTMLFrameElement name]):
2327         (-[DOMHTMLFrameElement setName:]):
2328         (-[DOMHTMLFrameElement noResize]):
2329         (-[DOMHTMLFrameElement setNoResize:]):
2330         (-[DOMHTMLFrameElement scrolling]):
2331         (-[DOMHTMLFrameElement setScrolling:]):
2332         (-[DOMHTMLFrameElement src]):
2333         (-[DOMHTMLFrameElement setSrc:]):
2334         (-[DOMHTMLIFrameElement align]):
2335         (-[DOMHTMLIFrameElement setAlign:]):
2336         (-[DOMHTMLIFrameElement frameBorder]):
2337         (-[DOMHTMLIFrameElement setFrameBorder:]):
2338         (-[DOMHTMLIFrameElement height]):
2339         (-[DOMHTMLIFrameElement setHeight:]):
2340         (-[DOMHTMLIFrameElement longDesc]):
2341         (-[DOMHTMLIFrameElement setLongDesc:]):
2342         (-[DOMHTMLIFrameElement marginHeight]):
2343         (-[DOMHTMLIFrameElement setMarginHeight:]):
2344         (-[DOMHTMLIFrameElement marginWidth]):
2345         (-[DOMHTMLIFrameElement setMarginWidth:]):
2346         (-[DOMHTMLIFrameElement name]):
2347         (-[DOMHTMLIFrameElement setName:]):
2348         (-[DOMHTMLIFrameElement noResize]):
2349         (-[DOMHTMLIFrameElement setNoResize:]):
2350         (-[DOMHTMLIFrameElement scrolling]):
2351         (-[DOMHTMLIFrameElement setScrolling:]):
2352         (-[DOMHTMLIFrameElement src]):
2353         (-[DOMHTMLIFrameElement setSrc:]):
2354         (-[DOMHTMLIFrameElement width]):
2355         (-[DOMHTMLIFrameElement setWidth:]):
2356         (-[DOMHTMLEmbedElement align]):
2357         (-[DOMHTMLEmbedElement setAlign:]):
2358         (-[DOMHTMLEmbedElement height]):
2359         (-[DOMHTMLEmbedElement setHeight:]):
2360         (-[DOMHTMLEmbedElement name]):
2361         (-[DOMHTMLEmbedElement setName:]):
2362         (-[DOMHTMLEmbedElement src]):
2363         (-[DOMHTMLEmbedElement setSrc:]):
2364         (-[DOMHTMLEmbedElement type]):
2365         (-[DOMHTMLEmbedElement setType:]):
2366         (-[DOMHTMLEmbedElement width]):
2367         (-[DOMHTMLEmbedElement setWidth:]):
2368         * kwq/KWQAccObject.mm:
2369         (-[KWQAccObject helpText]):
2370         (-[KWQAccObject accessibilityDescription]):
2371         (-[KWQAccObject accessibilityAttributeValue:]):
2372         * kwq/KWQKHTMLPart.mm:
2373         (KWQKHTMLPart::matchLabelsAgainstElement):
2374         (KWQKHTMLPart::fileWrapperForElement):
2375         (KWQKHTMLPart::attributedString):
2376         (KWQKHTMLPart::styleForSelectionStart):
2377         * kwq/WebCoreBridge.mm:
2378         (-[WebCoreBridge elementAtPoint:]):
2379
2380 2005-07-18  David Harrison  <harrison@apple.com>
2381
2382         Reviewed by Justin.
2383
2384         <rdar://problem/4065343> Mail: Deleting a line sometimes makes the insertion point jump to the top of the message
2385         
2386         Test cases added: delete-br-011.html
2387
2388         * khtml/editing/delete_selection_command.cpp:
2389         (khtml::DeleteSelectionCommand::handleSpecialCaseBRDelete):
2390         Make sure m_endingSelection is usable.
2391         
2392         (khtml::DeleteSelectionCommand::doApply):
2393         Skip general delete related code when just doing handleSpecialCaseBRDelete().
2394         
2395         * layout-tests/editing/deleting/delete-br-011-expected.txt: Added.
2396         * layout-tests/editing/deleting/delete-br-011.html: Added.
2397         Mimics composing a Mail.app reply, clicking past the end of the content, and hitting delete key.
2398
2399 2005-07-15  Adele Peterson  <adele@apple.com>
2400
2401         Written by Anders Carlsson  <andersca@mac.com>
2402         Reviewed by Dave Hyatt.
2403
2404         - Fixes <http://bugzilla.opendarwin.org/show_bug.cgi?id=3653>
2405         
2406         Test cases added:
2407         layout-tests/fast/dom/createDocumentType.html: Added
2408         layout-tests/fast/dom/createDocumentType-expected.txt: Added
2409
2410         * khtml/xml/dom_nodeimpl.cpp: (DocumentPtr::nullDocumentPtr):
2411         * khtml/xml/dom_nodeimpl.h:
2412         Add nullDocumentPtr() function which returns a shared DocumentPtr
2413         object whose document always is 0.
2414         
2415         * khtml/xml/dom_docimpl.cpp: (DOMImplementationImpl::createDocumentType):
2416         Pass nullDocumentPtr as the document type's document.
2417
2418 2005-07-15  Adele Peterson  <adele@apple.com>
2419
2420         Written by Anders Carlsson  <andersca@mac.com>
2421         Reviewed by Maciej Stachowiak.
2422
2423         - Fixes <http://bugzilla.opendarwin.org/show_bug.cgi?id=3808>
2424
2425         Test cases added:
2426         * layout-tests/fast/js/location-assign.html: Added.
2427         * layout-tests/fast/js/location-assign-expected.txt: Added.
2428         * layout-tests/fast/js/resources/new-location.html: Added.
2429
2430         * khtml/ecma/kjs_window.cpp:
2431         (KJS::Location::get):
2432         (KJS::LocationFunc::tryCall):
2433         * khtml/ecma/kjs_window.h: (KJS::Location::): Implement location.assign.
2434
2435 2005-07-15  Adele Peterson  <adele@apple.com>
2436
2437         Updated layout tests for formatting changes from change for
2438         http://bugzilla.opendarwin.org/show_bug.cgi?id=3601
2439
2440         * layout-tests/fast/dom/outerText-no-element-expected.txt:
2441         * layout-tests/fast/dynamic/outerHTML-no-element-expected.txt:
2442         * layout-tests/fast/js/array-every-expected.txt:
2443         * layout-tests/fast/js/array-foreach-expected.txt:
2444         * layout-tests/fast/js/array-some-expected.txt:
2445         * layout-tests/fast/js/toString-stack-overflow-expected.txt:
2446
2447 2005-07-15  Kevin Decker  <kdecker@apple.com>
2448
2449         Reviewed by Adele
2450
2451         Fixed: http://bugzilla.opendarwin.org/show_bug.cgi?id=4009
2452         Test cases added: none, doesn't affect layout
2453
2454         * khtml/khtml_part.cpp:
2455         (KHTMLPart::scheduleLocationChange): Corrected an earlier mistake of testing an always non-zero constant. 
2456
2457 2005-07-14  John Sullivan  <sullivan@apple.com>
2458
2459         Reviewed by Ken Kocienda (setFocusNode) and Dave Hyatt (everything).
2460
2461         - WebCore part of fix for: 
2462         <rdar://problem/4181227> webpages incorrectly use standard instead of secondary highlighting in certain cases
2463
2464         Test cases added: none, doesn't affect layout
2465         
2466         There were two different problems leading to the same symptom, both of which needed to be fixed.
2467         The first problem was that ancient and unneeded code in setFocusNode(0) was setting the focus 
2468         to the enclosing WebHTMLView. The second problem was that the WebHTMLView didn't learn about
2469         form controls resigning first-responder-hood, and so didn't update the displayed focus state.
2470
2471         * khtml/xml/dom_docimpl.cpp:
2472         (DocumentImpl::setFocusNode):
2473         Removed a line of code that was setting the focus on the WebHTMLView whenever a form control
2474         lost focus. This doesn't make sense in a world where the focus might be moving to something
2475         outside of the web page entirely. This line of code was added ages ago to fix Radar 3037974,
2476         which is not reproducible anymore with this line of code removed.
2477         
2478         * kwq/WebCoreBridge.h:
2479         New bridge method -formControlIsResigningFirstResponder:, used to inform WebKit that a form
2480         control is losing first-responder-hood.
2481
2482         * kwq/KWQButton.mm:
2483         (-[KWQButton resignFirstResponder]):
2484         call formControlIsResigningFirstResponder:
2485
2486         * kwq/KWQComboBox.mm:
2487         (-[KWQPopUpButton resignFirstResponder]):
2488         ditto
2489         
2490         * kwq/KWQListBox.mm:
2491         (-[KWQTableView resignFirstResponder]):
2492         ditto
2493         
2494         * kwq/KWQSlider.mm:
2495         (-[KWQSlider resignFirstResponder]):
2496         ditto
2497         
2498         * kwq/KWQTextArea.mm:
2499         (-[KWQTextAreaTextView resignFirstResponder]):
2500         ditto
2501         
2502         * kwq/KWQTextField.mm:
2503         (-[KWQTextFieldController setHasFocus:]):
2504         ditto
2505
2506 2005-07-14  John Sullivan  <sullivan@apple.com>
2507
2508         Reviewed by Ken Kocienda.
2509         
2510         - fixed <rdar://problem/4181227> webpages incorrectly use standard instead of secondary highlighting in certain cases
2511
2512         Test cases added: none, doesn't affect layout
2513
2514         * khtml/xml/dom_docimpl.cpp:
2515         (DocumentImpl::setFocusNode):
2516         Removed a line of code that was setting the focus on the WebHTMLView whenever a form control
2517         lost focus. This doesn't make sense in a world where the focus might be moving to something
2518         outside of the web page entirely. This line of code was added ages ago to fix Radar 3037974,
2519         which is not reproducible anymore with this line of code removed.
2520
2521 2005-07-12  Justin Garcia  <justin.garcia@apple.com>
2522
2523         Reviewed by mjs
2524
2525         - Fixes <rdar://problem/4124326> [RTL] Lines in messages with Hebrew text and numbers are truncated by Tiger Mail 
2526         
2527         Mail sends plaintext when a message doesn't have any formatting, plaintext depends on 
2528         innertext, which depends on TextIterators.  A TextIterator iterates over text boxes 
2529         in render order, but assumes logical order, which was causing the problems.
2530
2531         Test cases added:
2532         * layout-tests/fast/text/international/bidi-innertext-expected.txt: Added.
2533         * layout-tests/fast/text/international/bidi-innertext.html: Added.
2534
2535         * khtml/editing/visible_text.cpp:
2536         (khtml::TextIterator::handleTextNode):
2537             If the text node contains reversed text, sort the text boxes (m_sortedTextBoxes).  
2538             Not all reversed text will be out of logical order, but this simple check is less expensive 
2539             than doing an exhaustive one.  Most text is LTR and an exhaustive check might hurt performance.
2540         (khtml::TextIterator::handleTextBox):
2541             Iterates over sorted text boxes when necessary
2542         * khtml/editing/visible_text.h:
2543         * khtml/rendering/render_text.cpp:
2544         (RenderText::RenderText):
2545         (RenderText::position):
2546             If asked to position a text box with reversed text, modify m_containsReversedText
2547         * khtml/rendering/render_text.h:
2548         (khtml::InlineTextBox::operator ==): Added to facilitate sorting
2549         (khtml::InlineTextBox::operator <): Ditto
2550         (khtml::RenderText::containsReversedText):
2551         
2552
2553 2005-07-14  Justin Garcia  <justin.garcia@apple.com>
2554
2555         Patch by Anders Carlsson and justin
2556
2557         Reviewed by mjs
2558         
2559         Fixes the following related bugs: 
2560         <http://bugzilla.opendarwin.org/show_bug.cgi?id=3298> insertRow generates DOM Exception if TABLE does not possess a TBODY
2561         <rdar://problem/4045213> insertRow fails on a <table> that has no <tbody> but does have other children in the DOM
2562         <rdar://problem/3609576> insertRow() on table object containing any characters but no TR & TD elements fails (3476)
2563         
2564         Does a better job of maintaining the firstBody variable so that it's not invalidated on .innerHTML = ""
2565         Better check for when to add an implicit tbody to hold the inserted row.
2566
2567         Test cases added: (NONE)
2568         * layout-tests/fast/dom/HTMLTableElement/insert-row-expected.txt: Added.
2569         * layout-tests/fast/dom/HTMLTableElement/insert-row.html: Added.
2570
2571         * khtml/html/html_tableimpl.cpp:
2572         (DOM::HTMLTableElementImpl::~HTMLTableElementImpl):
2573         (DOM::HTMLTableElementImpl::setTBody):
2574         (DOM::HTMLTableElementImpl::insertRow):
2575         (DOM::HTMLTableElementImpl::addChild):
2576         (DOM::HTMLTableElementImpl::childrenChanged):
2577         * khtml/html/html_tableimpl.h:
2578
2579
2580 2005-07-14  Vicki Murley  <vicki@apple.com>
2581
2582         Reviewed by hyatt, patch from Carsten Guenther.
2583
2584         - fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=3855
2585
2586         Test cases added:
2587         * manual-tests/bugzilla-3855.html: Added.
2588
2589         * kwq/KWQKHTMLPart.mm: 
2590         (KWQKHTMLPart::searchForLabelsAboveCell): check for the existence of the cell renderer
2591
2592 2005-07-14  Vicki Murley  <vicki@apple.com>
2593
2594         - added manual tests for <rdar://problem/4172380> [GENENTECH] window.opener not available 
2595         when child opened via target="_new"
2596         
2597         Test cases added: 
2598         * manual-tests/target_new-1.html: Added.
2599         * manual-tests/target_new.html: Added.
2600
2601 2005-07-14  Geoffrey Garen  <ggaren@apple.com>
2602
2603         - landed fix for <http://bugzilla.opendarwin.org/show_bug.cgi?id=3677>
2604         Safari fail to access a second time an element whose content was dynamically modified.
2605         
2606         - patch by Anders Carlsson <andersca@mac.com>.
2607
2608         Reviewed by mjs + darin.
2609
2610         Test cases added:
2611         * layout-tests/fast/dom/ids/duplicate-ids-expected.txt: Added.
2612         * layout-tests/fast/dom/ids/duplicate-ids.html: Added.
2613         
2614         * khtml/xml/dom_docimpl.cpp:
2615         (DocumentImpl::getElementById):
2616         If no element in the id dict can be found and we know that there's
2617         at least one other element with the same id around, then traverse the document
2618         and insert the new element in the id table.
2619         
2620         (DocumentImpl::addElementById):
2621         (DocumentImpl::removeElementById):
2622         Increment and decrement the id count accordingly.
2623         
2624         * khtml/xml/dom_docimpl.h:
2625         Add QDict for id counts. Make element QDict mutable.
2626
2627 2005-07-14  Geoffrey Garen  <ggaren@apple.com>
2628
2629         -landed layout test for http://bugzilla.opendarwin.org/show_bug.cgi?id=3412
2630         Object.prototype is missing toLocaleString
2631
2632         Reviewed by mjs.
2633
2634         Test cases added:
2635         * layout-tests/fast/js/object-prototype-toLocaleString-expected.txt: Added.
2636         * layout-tests/fast/js/object-prototype-toLocaleString.html: Added.
2637
2638 2005-07-14  Vicki Murley  <vicki@apple.com>
2639
2640         Reviewed by Kocienda.
2641
2642         - WebCore part of fix for  <rdar://problem/4172380> [GENENTECH] window.opener 
2643         not available when child opened via target="_new"
2644
2645         Add a setOpener function to the WebCore bridge, and call this function when opening
2646         new windows through Web Kit.
2647
2648         * kwq/WebCoreBridge.h:
2649         * kwq/WebCoreBridge.mm:
2650
2651 2005-07-12  Maciej Stachowiak  <mjs@apple.com>
2652
2653         Reviewed by Kevin.
2654
2655         - convert some more things to use the new hashtable
2656
2657         * khtml/ecma/kjs_binding.cpp:
2658         (KJS::domObjects):
2659         (KJS::domNodesPerDocument):
2660         (KJS::ScriptInterpreter::getDOMObject):
2661         (KJS::ScriptInterpreter::putDOMObject):
2662         (KJS::ScriptInterpreter::deleteDOMObject):
2663         (KJS::ScriptInterpreter::forgetDOMObject):
2664         (KJS::ScriptInterpreter::getDOMNodeForDocument):
2665         (KJS::ScriptInterpreter::forgetDOMNodeForDocument):
2666         (KJS::ScriptInterpreter::putDOMNodeForDocument):
2667         (KJS::ScriptInterpreter::forgetAllDOMNodesForDocument):
2668         (KJS::ScriptInterpreter::mark):
2669         (KJS::ScriptInterpreter::updateDOMNodeDocument):
2670         * khtml/ecma/kjs_binding.h:
2671         * khtml/ecma/kjs_window.h: Include QPtrDict header
2672         * khtml/ecma/xmlhttprequest.h: ditto
2673
2674         - fix a bug with remove of a nonexistent key - it used to trash
2675         the table
2676         
2677         * khtml/misc/hashtable.h:
2678         (khtml::::remove):
2679
2680 2005-07-13  Justin Garcia  <justin.garcia@apple.com>
2681
2682         Reviewed by mjs
2683
2684         Rolled in workarounds necessary to build with a gcc 4.0 regression introduced in build 5208:
2685         <rdar://problem/4175534> Regression in gcc-5208 "comparison of distinct Objective-C types lacks a cast" warning
2686         Problems overloading methods that take Objective-C typed arguments
2687             
2688         * kwq/KWQCursor.h:
2689         * kwq/KWQCursor.mm:
2690         (QCursor::makeWithNSCursor):
2691         * kwq/KWQKCursor.mm:
2692         (KCursor::crossCursor):
2693         (KCursor::handCursor):
2694         (KCursor::sizeAllCursor):
2695         (KCursor::ibeamCursor):
2696         (KCursor::waitCursor):
2697         (KCursor::whatsThisCursor):
2698         (KCursor::eastResizeCursor):
2699         (KCursor::northResizeCursor):
2700         (KCursor::northEastResizeCursor):
2701         (KCursor::northWestResizeCursor):
2702         (KCursor::southResizeCursor):
2703         (KCursor::southEastResizeCursor):
2704         (KCursor::southWestResizeCursor):
2705         (KCursor::westResizeCursor):
2706         * kwq/KWQKJobClasses.mm:
2707         (KIO::TransferJob::emitResult):
2708         (KIO::TransferJob::emitReceivedResponse):
2709         * kwq/KWQSignal.h:
2710         * kwq/KWQSignal.mm:
2711         (KWQSignal::callWithData):
2712         (KWQSignal::callWithResponse):
2713         * kwq/KWQSlot.h:
2714         * kwq/KWQSlot.mm:
2715         (KWQSlot::callWithData):
2716         (KWQSlot::callWithResponse):
2717         * kwq/KWQWidget.mm:
2718         (QWidget::cursor):
2719
2720 2005-07-13  Justin Garcia  <justin.garcia@apple.com>
2721
2722         Reviewed by mjs
2723
2724         Rolling in changes necessary to build with newer versions of gcc 4.0
2725
2726         * kwq/DOM-CSS.mm:
2727         (+[DOMCSSPrimitiveValue _valueWithImpl:]):
2728         * kwq/DOMEvents.h:
2729         * kwq/DOMInternal.h:
2730         (addDOMWrapper):
2731         * kwq/KWQButton.mm:
2732         (QButton::setWritingDirection):
2733         * kwq/KWQClipboard.mm:
2734         (KWQClipboard::dragNSImage):
2735         * kwq/KWQComboBox.mm:
2736         (QComboBox::setWritingDirection):
2737         (QComboBox::populateMenu):
2738         * kwq/KWQKHTMLPart.mm:
2739         (regExpForLabels):
2740         (KWQKHTMLPart::passWidgetMouseDownEventToWidget):
2741         (KWQKHTMLPart::fileWrapperForElement):
2742         * kwq/KWQLineEdit.mm:
2743         (QLineEdit::QLineEdit):
2744         * kwq/KWQListBox.mm:
2745         (QListBox::~QListBox):
2746         (QListBox::setSelectionMode):
2747         (QListBox::doneAppendingItems):
2748         (QListBox::setSelected):
2749         (QListBox::isSelected):
2750         (QListBox::setEnabled):
2751         (QListBox::sizeForNumberOfLines):
2752         (QListBox::setWritingDirection):
2753         * kwq/KWQScrollView.mm:
2754         (QScrollView::contentsX):
2755         (QScrollView::contentsY):
2756         * kwq/KWQTextArea.mm:
2757         (-[KWQTextArea _trackResizeFromMouseDown:]):
2758         (-[KWQTextAreaTextView _enclosingTextArea]):
2759         (-[KWQTextAreaTextView _resizeCornerRect]):
2760         * kwq/KWQTextEdit.mm:
2761         (QTextEdit::setAlignment):
2762         (QTextEdit::setWritingDirection):
2763         (QTextEdit::sizeWithColumnsAndRows):
2764         (QTextEdit::setPalette):
2765         * kwq/KWQWidget.mm:
2766         (QWidget::hasFocus):
2767         * kwq/WebCoreBridge.mm:
2768         (-[WebCoreBridge elementAtPoint:]):
2769
2770 2005-07-13  John Sullivan  <sullivan@apple.com>
2771
2772         Reviewed by Maciej Stachowiak.
2773         
2774         - cleaned up Find-related experimental code that I checked in a while back
2775
2776         * kwq/KWQKHTMLPart.h:
2777         remove findInSelection flag from findString()
2778         * kwq/KWQKHTMLPart.mm:
2779         (KWQKHTMLPart::findString):
2780         remove findInSelection flag. Always search the selection first, but if the found range is
2781         the same as the selection range, then search again from beyond the selection.
2782         
2783         * kwq/WebCoreBridge.h:
2784         * kwq/WebCoreBridge.mm:
2785         (-[WebCoreBridge searchFor:direction:caseSensitive:wrap:]):
2786         remove findInSelection flag
2787
2788 2005-07-13  Adele Peterson  <adele@apple.com>
2789
2790         Reviewed by John.
2791
2792         Fixed <rdar://problem/4170963> Focusing a field unnecessarily horizontally scrolls
2793
2794         Horizontal scrolling while tabbing through forms can be surprising, and distracting.  This 
2795         change will minimize that scrolling if we're not explicitly trying to center a rectangle in
2796         _KWQ_scrollRectToVisible.
2797
2798         Test cases added: None.  This test case involves tabbing to form controls and scrolling.
2799
2800         * kwq/KWQNSViewExtras.m: (-[NSClipView _KWQ_scrollRectToVisible:inView:forceCentering:]):
2801
2802 2005-07-12  Kevin Decker  <kdecker@apple.com>
2803
2804          Reviewed by cblu.
2805
2806         Fixed: 
2807           http://bugzilla.opendarwin.org/show_bug.cgi?id=3968
2808          <rdar://problem/4172645> REGRESSION: top frame only loads at banking site - http://www.skandiabanken.no
2809
2810         Test cases added: None; This fixes a race condition that is not reproducible locally.
2811
2812         * khtml/khtml_part.cpp:
2813         (KHTMLPart::scheduleLocationChange): If a redirect was scheduled during a load, then stop the current load. Otherwise when the current load transitions from a provisional to a committed state, pending redirects may be cancelled. 
2814
2815 2005-07-12  Beth Dakin  <bdakin@apple.com>
2816
2817         Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=3942 and marquee problems in Radar bug 
2818         4172312. Vertical marquees default to 200px, and horizontal marquees do not allow text to be 
2819         truncated by a too-small height attribute. 
2820
2821         Reviewed by Hyatt.
2822
2823         Test cases added: (NONE)
2824
2825         * khtml/html/html_blockimpl.cpp: deleted former changes to make marquee height work correctly.
2826         (HTMLMarqueeElementImpl::mapToEntry):
2827         (HTMLMarqueeElementImpl::parseMappedAttribute):
2828         * khtml/rendering/render_layer.cpp: this is where the height issues are now addressed
2829         (Marquee::updateMarqueeStyle):
2830         * khtml/rendering/render_layer.h: 
2831         (khtml::):
2832         * khtml/rendering/render_style.h: added function fontSize() 
2833         (khtml::RenderStyle::fontSize):
2834         * khtml/xml/dom_elementimpl.h: deleted addition of EMarquee hash key
2835         (DOM::):
2836         * layout-tests/fast/css/MarqueeLayoutTest-expected.txt: 
2837         * layout-tests/fast/css/MarqueeLayoutTest.html: added vertical marquees to test.
2838
2839 2005-07-12  Geoffrey Garen  <ggaren@apple.com>
2840
2841         Test cases modified:
2842         * layout-tests/fast/frames/iframe-name-and-id.html:
2843         now tests dynamically creating frames[x].name
2844
2845 2005-07-12  Geoffrey Garen  <ggaren@apple.com>
2846
2847         Added layout test for 
2848         http://bugzilla.opendarwin.org/show_bug.cgi?id=3435
2849         Parentheses are backwards in Hebrew text (no bidi mirroring?)
2850
2851         Test is manual because results only reflect visually -
2852         the layout is the same either way.
2853         
2854         Test cases added:
2855         * manual-tests/bidi-parens.html: Added.
2856
2857 2005-07-12  Ken Kocienda  <kocienda@apple.com>
2858
2859         Reviewed by me
2860
2861         Test cases added: (NONE)
2862
2863         * kwq/KWQTextCodec.mm: Fix build breakage. /me is a real genius.
2864
2865 2005-07-12  Ken Kocienda  <kocienda@apple.com>
2866
2867         Reviewed by Chris Blumenberg
2868
2869         Test cases added: (NONE)
2870
2871         Switched over from TEC to ICU for unicode text conversion. TEC support has now been
2872         removed from KWQTextCodec. I just added this dual support yesterday, and while Maciej 
2873         and I agreed that it was good to land in the tree in case we run into problems in the
2874         near future, we also agreed that cutting over to using ICU full time right now is 
2875         probably the best way to find bugs.
2876         
2877         * kwq/KWQTextCodec.mm: Removed TEC support.
2878         (QTextCodec::fromUnicode): Ditto.
2879         (KWQTextDecoder::KWQTextDecoder): Ditto.
2880         (KWQTextDecoder::~KWQTextDecoder): Ditto.
2881         (KWQTextDecoder::convert): Ditto.
2882         * kwq/WebCoreBridge.h: Removed some glue that allowed the converters to
2883         be changed at runtime.
2884         * kwq/WebCoreTextConversionMethod.h: Removed. This also was glue for the runtime switch.
2885         * WebCore.pbproj/project.pbxproj: Removed WebCoreTextConversionMethod.h file.
2886
2887 2005-07-12  Eric Seidel  <eseidel@apple.com>
2888
2889         Reviewed by hyatt.
2890
2891         * icu/unicode/ucnv.h: Added.
2892         * icu/unicode/ucnv_err.h: Added.
2893         Fixes build break for externals caused by KWQTextCodec.mm changes.
2894         http://bugzilla.opendarwin.org/show_bug.cgi?id=3961
2895
2896 2005-07-11  Eric Seidel  <eseidel@apple.com>
2897
2898         Reviewed by Adele.
2899
2900         * kdom/Namespace.h: Merged in XPath 2.0 namespace def from KDE.
2901         * kdom/Shared.h: Merged in comments from KDE.
2902         * kdom/kdom.h: Changed local // to use #ifndef APPLE_CHANGES
2903         (KDOM::operator<<):
2904         A tiny batch of changes I wished to commit before moving
2905         WebCore/kdom to SVGSupport/kdom.
2906         http://bugzilla.opendarwin.org/show_bug.cgi?id=3959
2907
2908 2005-07-11  Geoffrey Garen  <ggaren@apple.com>
2909
2910         -fixed rdar://problem/4170960 
2911         http://bugzilla.opendarwin.org/show_bug.cgi?id=3952 
2912         iFrame name and id information incorrectly returned
2913         
2914         Reviewed by mjs.
2915
2916         Test cases added: (NONE)
2917         * layout-tests/fast/frames/iframe-name-and-id-expected.txt: Added.
2918         * layout-tests/fast/frames/iframe-name-and-id.html: Added.
2919
2920         * ChangeLog:
2921         * khtml/html/html_baseimpl.cpp:
2922         (HTMLFrameElementImpl::attach): removed misleading comment
2923         (HTMLIFrameElementImpl::attach): copied FrameElementImpl behavior
2924         for initializing m_name
2925
2926 2005-07-11  Geoffrey Garen  <ggaren@apple.com>
2927
2928         Reviewed by NOBODY (OOPS!).
2929
2930         Test cases added: (NONE)
2931
2932         * khtml/html/html_baseimpl.cpp:
2933         (HTMLFrameElementImpl::attach):
2934         (HTMLIFrameElementImpl::attach):
2935
2936 2005-07-11  Ken Kocienda  <kocienda@apple.com>
2937
2938         Reviewed by Richard
2939
2940         Test cases added: (NONE)
2941
2942         * WebCore.pbproj/project.pbxproj:
2943         * kwq/KWQLogging.h: Added constant for logging text conversions.
2944         * kwq/KWQLogging.m: Ditto.
2945         * kwq/KWQTextCodec.mm: Added support for using the ICU library for unicode text conversion.
2946         (KWQTextDecoder::KWQTextDecoder): Check for conversion method to use.
2947         (KWQTextDecoder::~KWQTextDecoder): Release ICU converter if needed.
2948         (KWQTextDecoder::convertUTF16): Use constant rather in place of hard-coded buffer size.
2949         (KWQTextDecoder::createTECConverter): Name change: qualify converter names with TEC suffix.
2950         (KWQTextDecoder::createICUConverter): New function to create an ICU converter.
2951         (KWQTextDecoder::convertOneChunkUsingTEC): Name change: qualify converter names with TEC suffix.
2952         (KWQTextDecoder::convertUsingTEC): Ditto. Also, use constant rather in place of hard-coded buffer size.
2953         (KWQTextDecoder::convertUsingICU): New function to convert text using ICU.
2954         (KWQTextDecoder::convert): Now switches on converters, picking either TEC or ICU.
2955         * kwq/WebCoreBridge.h: Add -textConversionMethod accessor so KWQTextDecoder can pick the right converter.
2956         * kwq/WebCoreTextConversionMethod.h: Added.
2957
2958 2005-07-11  Ken Kocienda  <kocienda@apple.com>
2959
2960         Reviewed by me
2961
2962         Test cases added: (NONE)
2963
2964         * WebCore.pbproj/project.pbxproj: Fix project file.
2965
2966 2005-07-11  Ken Kocienda  <kocienda@apple.com>
2967
2968         Reviewed by me
2969
2970         Test cases added: (NONE)
2971
2972         * ChangeLog: Fixed two typos I found while reading the ChangeLog.
2973
2974 2005-07-10  Maciej Stachowiak  <mjs@apple.com>
2975
2976         Reviewed by John.
2977
2978         * khtml/html/htmltokenizer.cpp:
2979         (khtml::HTMLTokenizer::parseTag): Don't allow !doctype as a tag name, this screws up
2980         parsing and makes !doctype elements and extra text nodes get added to the DOM.
2981         * khtml/xml/dom_atomicstring.cpp:
2982         (DOM::AtomicString::equal): Add some nil checks, now that the equal this calls
2983         no longer checks for nil.
2984
2985 2005-07-10  Eric Seidel  <eseidel@apple.com>
2986
2987         Reviewed by mjs.
2988
2989         * ksvg2/core/KCanvasRenderingStyle.cc: Added.
2990         * ksvg2/core/KCanvasRenderingStyle.h: Added.
2991         * ksvg2/core/KSVGDocumentBuilder.cc: Added.
2992         * ksvg2/core/KSVGDocumentBuilder.h: Added.
2993         * ksvg2/core/KSVGTimeScheduler.cc: Added.
2994         * ksvg2/core/KSVGTimeScheduler.h: Added.
2995         * ksvg2/core/KSVGTimeScheduler.moc: Added.
2996         Added directory previously ignored by global cvsignore rules.
2997         http://bugzilla.opendarwin.org/show_bug.cgi?id=3939
2998
2999 2005-07-10  Eric Seidel  <eseidel@apple.com>
3000
3001         Reviewed by mjs.
3002
3003         * WebCore.pbproj/project.pbxproj:
3004         added htmlfactory.* to WebCore+SVG
3005         Also fixed /sw/bin/bison absolute path.
3006         http://bugzilla.opendarwin.org/show_bug.cgi?id=3938
3007
3008 2005-07-09  Timothy Hatcher  <timothy@colloquy.info>
3009
3010         Reviewed and landed by Maciej.
3011
3012         Fixed a build error with GCC4 and the use of _M_type.
3013
3014         * khtml/misc/hashtraits.h:
3015         Test for GCC4 and use the new __value enum from _M_type.
3016
3017 2005-07-09  David Hyatt  <hyatt@apple.com>
3018
3019         Make sure to keep eLastEntry at the end of the list, since it is used for the dynamic portion of the
3020         hash.
3021         
3022         Reviewed by mjs
3023
3024 2005-07-09  Maciej Stachowiak  <mjs@apple.com>
3025
3026         Reviewed by Eric Seidel.
3027
3028         - removed unused files
3029
3030         * kdom/impl/NodeKeeper.cc: Removed.
3031         * kdom/impl/NodeKeeper.h: Removed.
3032         * WebCore.pbproj/project.pbxproj: Remove from +SVG build.
3033
3034 2005-07-09  David Hyatt  <hyatt@apple.com>
3035
3036         Fix for bugzilla bug 3405, replace NodeImpl::Id with a new class,
3037         QualifiedName, to represent tag names (for DOM elements and CSS
3038         selectors).
3039         
3040         Reviewed by mjs
3041
3042         * WebCore.pbproj/project.pbxproj:
3043         * khtml/css/css_base.cpp:
3044         (CSSSelector::anyTagName):
3045         (CSSSelector::print):
3046         (CSSSelector::specificity):
3047         (CSSSelector::selectorText):
3048         * khtml/css/css_base.h:
3049         (DOM::CSSNamespace::uri):
3050         (DOM::CSSNamespace::prefix):
3051         (DOM::CSSNamespace::namespaceForPrefix):
3052         (DOM::CSSSelector::CSSSelector):
3053         (DOM::CSSSelector::hasTag):
3054         * khtml/css/css_ruleimpl.cpp:
3055         * khtml/css/css_ruleimpl.h:
3056         * khtml/css/css_stylesheetimpl.cpp:
3057         (CSSStyleSheetImpl::addNamespace):
3058         (CSSStyleSheetImpl::determineNamespace):
3059         * khtml/css/css_stylesheetimpl.h:
3060         * khtml/css/cssparser.cpp:
3061         (CSSParser::CSSParser):
3062         (CSSParser::parseSheet):
3063         * khtml/css/cssparser.h:
3064         * khtml/css/cssstyleselector.cpp:
3065         (khtml::CSSStyleSelector::matchRules):
3066         (khtml::CSSStyleSelector::matchRulesForList):
3067         (khtml::CSSStyleSelector::canShareStyleWithElement):
3068         (khtml::CSSStyleSelector::adjustRenderStyle):
3069         (khtml::CSSStyleSelector::checkSelector):
3070         (khtml::CSSStyleSelector::checkOneSelector):
3071         (khtml::CSSRuleSet::addRule):
3072         * khtml/css/cssstyleselector.h:
3073         (khtml::CSSRuleSet::getTagRules):
3074         * khtml/css/parser.y:
3075         * khtml/dom/css_stylesheet.cpp:
3076         (LinkStyle::operator = ):
3077         (LinkStyle::sheet):
3078         * khtml/dom/dom_element.cpp:
3079         (Element::tagName):
3080         * khtml/dom/dom_node.cpp:
3081         (Node::namespaceURI):
3082         (Node::setPrefix):
3083         * khtml/dom/dom_node.h:
3084         * khtml/dom/html_base.cpp:
3085         (HTMLBodyElement::operator = ):
3086         (HTMLFrameElement::operator = ):
3087         (HTMLIFrameElement::operator = ):
3088         (HTMLFrameSetElement::operator = ):
3089         (HTMLHeadElement::operator = ):
3090         (HTMLHtmlElement::operator = ):
3091         * khtml/dom/html_block.cpp:
3092         (HTMLBlockquoteElement::operator = ):
3093         (HTMLDivElement::operator = ):
3094         (HTMLHRElement::operator = ):
3095         (HTMLHeadingElement::operator = ):
3096         (HTMLParagraphElement::operator = ):
3097         (HTMLPreElement::operator = ):
3098         * khtml/dom/html_element.cpp:
3099         (HTMLElement::assignOther):
3100         * khtml/dom/html_element.h:
3101         * khtml/dom/html_form.cpp:
3102         (HTMLButtonElement::operator = ):
3103         (HTMLFieldSetElement::operator = ):
3104         (HTMLFormElement::operator = ):
3105         (HTMLInputElement::operator = ):
3106         (HTMLLabelElement::operator = ):
3107         (HTMLLegendElement::operator = ):
3108         (HTMLOptGroupElement::operator = ):
3109         (HTMLSelectElement::operator = ):
3110         (HTMLTextAreaElement::operator = ):
3111         (HTMLOptionElement::operator = ):
3112         (HTMLIsIndexElement::operator = ):
3113         * khtml/dom/html_head.cpp:
3114         (HTMLBaseElement::operator = ):
3115         (HTMLLinkElement::operator = ):
3116         (HTMLMetaElement::operator = ):
3117         (HTMLScriptElement::operator = ):
3118         (HTMLStyleElement::operator = ):
3119         (HTMLTitleElement::operator = ):
3120         * khtml/dom/html_image.cpp:
3121         (HTMLAreaElement::operator = ):
3122         (HTMLImageElement::operator = ):
3123         (HTMLMapElement::operator = ):
3124         * khtml/dom/html_inline.cpp:
3125         (HTMLAnchorElement::operator = ):
3126         (HTMLBRElement::operator = ):
3127         (HTMLFontElement::operator = ):
3128         (HTMLModElement::HTMLModElement):
3129         (HTMLModElement::operator = ):
3130         (HTMLQuoteElement::HTMLQuoteElement):
3131         (HTMLQuoteElement::operator = ):
3132         * khtml/dom/html_inline.h:
3133         * khtml/dom/html_list.cpp:
3134         (HTMLDListElement::operator = ):
3135         (HTMLDirectoryElement::operator = ):
3136         (HTMLLIElement::operator = ):
3137         (HTMLMenuElement::operator = ):
3138         (HTMLOListElement::operator = ):
3139         (HTMLUListElement::operator = ):
3140         * khtml/dom/html_misc.cpp:
3141         (HTMLBaseFontElement::operator = ):
3142         * khtml/dom/html_object.cpp:
3143         (DOM::HTMLAppletElement::operator = ):
3144         (DOM::HTMLObjectElement::operator = ):
3145         (DOM::HTMLParamElement::operator = ):
3146         * khtml/dom/html_table.cpp:
3147         (HTMLTableCaptionElement::operator = ):
3148         (HTMLTableCellElement::operator = ):
3149         (HTMLTableColElement::operator = ):
3150         (HTMLTableElement::operator = ):
3151         (HTMLTableRowElement::operator = ):
3152         (HTMLTableSectionElement::operator = ):
3153         * khtml/ecma/kjs_css.cpp:
3154         (KJS::DOMStyleSheetList::tryGet):
3155         * khtml/ecma/kjs_dom.cpp:
3156         (KJS::DOMNode::putValue):
3157         (KJS::DOMElement::tryGet):
3158         (KJS::getRuntimeObject):
3159         * khtml/ecma/kjs_html.cpp:
3160         (KJS::HTMLDocument::tryGet):
3161         (KJS::KJS::HTMLDocument::putValue):
3162         (KJS::KJS::HTMLElement::classInfo):
3163         (KJS::):
3164         (KJS::HTMLElement::getSetInfo):
3165         (KJS::KJS::HTMLElement::tryGet):
3166         (KJS::KJS::HTMLElement::implementsCall):
3167         (KJS::KJS::HTMLElement::call):
3168         (KJS::HTMLElement::htmlGetter):
3169         (KJS::HTMLElement::headGetter):
3170         (KJS::HTMLElement::linkGetter):
3171         (KJS::HTMLElement::titleGetter):
3172         (KJS::HTMLElement::metaGetter):
3173         (KJS::HTMLElement::baseGetter):
3174         (KJS::HTMLElement::isIndexGetter):
3175         (KJS::HTMLElement::styleGetter):
3176         (KJS::HTMLElement::bodyGetter):
3177         (KJS::HTMLElement::formGetter):
3178         (KJS::HTMLElement::selectGetter):
3179         (KJS::HTMLElement::optGroupGetter):
3180         (KJS::HTMLElement::optionGetter):
3181         (KJS::getInputSelectionStart):
3182         (KJS::getInputSelectionEnd):
3183         (KJS::HTMLElement::inputGetter):
3184         (KJS::HTMLElement::textAreaGetter):
3185         (KJS::HTMLElement::buttonGetter):
3186         (KJS::HTMLElement::labelGetter):
3187         (KJS::HTMLElement::fieldSetGetter):
3188         (KJS::HTMLElement::legendGetter):
3189         (KJS::HTMLElement::uListGetter):
3190         (KJS::HTMLElement::oListGetter):
3191         (KJS::HTMLElement::dListGetter):
3192         (KJS::HTMLElement::dirGetter):
3193         (KJS::HTMLElement::menuGetter):
3194         (KJS::HTMLElement::liGetter):
3195         (KJS::HTMLElement::divGetter):
3196         (KJS::HTMLElement::paragraphGetter):
3197         (KJS::HTMLElement::headingGetter):
3198         (KJS::HTMLElement::blockQuoteGetter):
3199         (KJS::HTMLElement::quoteGetter):
3200         (KJS::HTMLElement::preGetter):
3201         (KJS::HTMLElement::brGetter):
3202         (KJS::HTMLElement::baseFontGetter):
3203         (KJS::HTMLElement::fontGetter):
3204         (KJS::HTMLElement::hrGetter):
3205         (KJS::HTMLElement::modGetter):
3206         (KJS::HTMLElement::anchorGetter):
3207         (KJS::HTMLElement::imageGetter):
3208         (KJS::HTMLElement::objectGetter):
3209         (KJS::HTMLElement::paramGetter):
3210         (KJS::HTMLElement::appletGetter):
3211         (KJS::HTMLElement::mapGetter):
3212         (KJS::HTMLElement::areaGetter):
3213         (KJS::HTMLElement::scriptGetter):
3214         (KJS::HTMLElement::tableGetter):
3215         (KJS::HTMLElement::tableCaptionGetter):
3216         (KJS::HTMLElement::tableColGetter):
3217         (KJS::HTMLElement::tableSectionGetter):
3218         (KJS::HTMLElement::tableRowGetter):
3219         (KJS::HTMLElement::tableCellGetter):
3220         (KJS::HTMLElement::frameSetGetter):
3221         (KJS::HTMLElement::frameGetter):
3222         (KJS::HTMLElement::iFrameGetter):
3223         (KJS::HTMLElement::marqueeGetter):
3224         (KJS::HTMLElement::getValueProperty):
3225         (KJS::KJS::HTMLElement::hasOwnProperty):
3226         (KJS::KJS::HTMLElement::toString):
3227         (KJS::getForm):
3228         (KJS::KJS::HTMLElement::pushEventHandlerScope):
3229         (KJS::KJS::HTMLElementFunction::tryCall):
3230         (KJS::KJS::HTMLElement::tryPut):
3231         (KJS::HTMLElement::htmlSetter):
3232         (KJS::HTMLElement::headSetter):
3233         (KJS::HTMLElement::linkSetter):
3234         (KJS::HTMLElement::titleSetter):
3235         (KJS::HTMLElement::metaSetter):
3236         (KJS::HTMLElement::baseSetter):
3237         (KJS::HTMLElement::isIndexSetter):
3238         (KJS::HTMLElement::styleSetter):
3239         (KJS::HTMLElement::bodySetter):
3240         (KJS::HTMLElement::formSetter):
3241         (KJS::HTMLElement::selectSetter):
3242         (KJS::HTMLElement::optGroupSetter):
3243         (KJS::HTMLElement::optionSetter):
3244         (KJS::HTMLElement::inputSetter):
3245         (KJS::HTMLElement::textAreaSetter):
3246         (KJS::HTMLElement::buttonSetter):
3247         (KJS::HTMLElement::labelSetter):
3248         (KJS::HTMLElement::fieldSetSetter):
3249         (KJS::HTMLElement::legendSetter):
3250         (KJS::HTMLElement::uListSetter):
3251         (KJS::HTMLElement::oListSetter):
3252         (KJS::HTMLElement::dListSetter):
3253         (KJS::HTMLElement::dirSetter):
3254         (KJS::HTMLElement::menuSetter):
3255         (KJS::HTMLElement::liSetter):
3256         (KJS::HTMLElement::divSetter):
3257         (KJS::HTMLElement::paragraphSetter):
3258         (KJS::HTMLElement::headingSetter):
3259         (KJS::HTMLElement::blockQuoteSetter):
3260         (KJS::HTMLElement::quoteSetter):
3261         (KJS::HTMLElement::preSetter):
3262         (KJS::HTMLElement::brSetter):
3263         (KJS::HTMLElement::baseFontSetter):
3264         (KJS::HTMLElement::fontSetter):
3265         (KJS::HTMLElement::hrSetter):
3266         (KJS::HTMLElement::modSetter):
3267         (KJS::HTMLElement::anchorSetter):
3268         (KJS::HTMLElement::imageSetter):
3269         (KJS::HTMLElement::objectSetter):
3270         (KJS::HTMLElement::paramSetter):
3271         (KJS::HTMLElement::appletSetter):
3272         (KJS::HTMLElement::mapSetter):
3273         (KJS::HTMLElement::areaSetter):
3274         (KJS::HTMLElement::scriptSetter):
3275         (KJS::HTMLElement::tableSetter):
3276         (KJS::HTMLElement::tableCaptionSetter):
3277         (KJS::HTMLElement::tableColSetter):
3278         (KJS::HTMLElement::tableSectionSetter):
3279         (KJS::HTMLElement::tableRowSetter):
3280         (KJS::HTMLElement::tableCellSetter):
3281         (KJS::HTMLElement::frameSetSetter):
3282         (KJS::HTMLElement::frameSetter):
3283         (KJS::HTMLElement::iFrameSetter):
3284         (KJS::HTMLElement::marqueeSetter):
3285         (KJS::HTMLElement::putValue):
3286         (KJS::toHTMLTableCaptionElement):
3287         (KJS::toHTMLTableSectionElement):
3288         (KJS::KJS::HTMLCollection::tryGet):
3289         (KJS::KJS::HTMLSelectCollection::tryPut):
3290         * khtml/ecma/kjs_html.h:
3291         * khtml/ecma/kjs_window.cpp:
3292         * khtml/editing/apply_style_command.cpp:
3293         (khtml::isStyleSpan):
3294         (khtml::isEmptyStyleSpan):
3295         (khtml::isEmptyFontTag):
3296         (khtml::createFontElement):
3297         (khtml::createStyleSpanElement):
3298         (khtml::ApplyStyleCommand::applyInlineStyle):
3299         (khtml::ApplyStyleCommand::isHTMLStyleNode):
3300         (khtml::ApplyStyleCommand::removeHTMLFontStyle):
3301         (khtml::areIdenticalElements):
3302         (khtml::ApplyStyleCommand::mergeEndWithNextIfIdentical):
3303         (khtml::ApplyStyleCommand::addInlineStyleIfNeeded):
3304         * khtml/editing/break_blockquote_command.cpp:
3305         (khtml::BreakBlockquoteCommand::doApply):
3306         * khtml/editing/composite_edit_command.cpp:
3307         (khtml::CompositeEditCommand::insertNodeBefore):
3308         (khtml::CompositeEditCommand::insertNodeAfter):
3309         (khtml::CompositeEditCommand::moveParagraphContentsToNewBlockIfNecessary):
3310         (khtml::createBlockPlaceholderElement):
3311         * khtml/editing/delete_selection_command.cpp:
3312         (khtml::isListStructureNode):
3313         (khtml::DeleteSelectionCommand::handleSpecialCaseBRDelete):
3314         (khtml::DeleteSelectionCommand::handleGeneralDelete):
3315         (khtml::DeleteSelectionCommand::moveNodesAfterNode):
3316         * khtml/editing/htmlediting.cpp:
3317         (khtml::isSpecialElement):
3318         (khtml::createDefaultParagraphElement):
3319         (khtml::createBreakElement):
3320         (khtml::isMailBlockquote):
3321         * khtml/editing/insert_line_break_command.cpp:
3322         (khtml::InsertLineBreakCommand::doApply):
3323         * khtml/editing/insert_paragraph_separator_command.cpp:
3324         (khtml::InsertParagraphSeparatorCommand::doApply):
3325         * khtml/editing/markup.cpp:
3326         (khtml::startMarkup):
3327         (khtml::endMarkup):
3328         (khtml::markup):
3329         (khtml::createMarkup):
3330         (khtml::createFragmentFromText):
3331         * khtml/editing/replace_selection_command.cpp:
3332         (khtml::isProbablyBlock):
3333         (khtml::isProbablyTableStructureNode):
3334         (khtml::ReplacementFragment::isInterchangeNewlineNode):
3335         (khtml::ReplacementFragment::removeStyleNodes):
3336         (khtml::ReplaceSelectionCommand::doApply):
3337         (khtml::ReplaceSelectionCommand::updateNodesInserted):
3338         * khtml/editing/selection.cpp:
3339         (khtml::Selection::debugRenderer):
3340         * khtml/editing/visible_position.cpp:
3341         (khtml::VisiblePosition::init):
3342         (khtml::VisiblePosition::isCandidate):
3343         (khtml::VisiblePosition::isAtomicNode):
3344         * khtml/editing/visible_text.cpp:
3345         (khtml::TextIterator::handleNonTextNode):
3346         (khtml::TextIterator::exitNode):
3347         (khtml::SimplifiedBackwardsTextIterator::handleNonTextNode):
3348         * khtml/editing/visible_units.cpp:
3349         (khtml::endOfLine):
3350         * khtml/html/dtd.cpp: Removed.
3351         * khtml/html/dtd.h: Removed.
3352         * khtml/html/html_baseimpl.cpp:
3353         (HTMLBodyElementImpl::HTMLBodyElementImpl):
3354         (HTMLFrameElementImpl::HTMLFrameElementImpl):
3355         (HTMLFrameElementImpl::init):
3356         (HTMLFrameElementImpl::attach):
3357         (HTMLFrameSetElementImpl::HTMLFrameSetElementImpl):
3358         (HTMLFrameSetElementImpl::checkDTD):
3359         (HTMLFrameSetElementImpl::attach):
3360         (HTMLHeadElementImpl::HTMLHeadElementImpl):
3361         (HTMLHeadElementImpl::checkDTD):
3362         (HTMLHtmlElementImpl::HTMLHtmlElementImpl):
3363         (HTMLHtmlElementImpl::checkDTD):
3364         (HTMLIFrameElementImpl::HTMLIFrameElementImpl):
3365         * khtml/html/html_baseimpl.h:
3366         (DOM::HTMLBodyElementImpl::endTagRequirement):
3367         (DOM::HTMLBodyElementImpl::tagPriority):
3368         (DOM::HTMLFrameElementImpl::endTagRequirement):
3369         (DOM::HTMLFrameElementImpl::tagPriority):
3370         (DOM::HTMLFrameSetElementImpl::endTagRequirement):
3371         (DOM::HTMLFrameSetElementImpl::tagPriority):
3372         (DOM::HTMLHeadElementImpl::endTagRequirement):
3373         (DOM::HTMLHeadElementImpl::tagPriority):
3374         (DOM::HTMLHtmlElementImpl::endTagRequirement):
3375         (DOM::HTMLHtmlElementImpl::tagPriority):
3376         (DOM::HTMLIFrameElementImpl::endTagRequirement):
3377         (DOM::HTMLIFrameElementImpl::tagPriority):
3378         * khtml/html/html_blockimpl.cpp:
3379         (HTMLBlockquoteElementImpl::HTMLBlockquoteElementImpl):
3380         (HTMLDivElementImpl::HTMLDivElementImpl):
3381         (HTMLHRElementImpl::HTMLHRElementImpl):
3382         (HTMLHeadingElementImpl::HTMLHeadingElementImpl):
3383         (HTMLHeadingElementImpl::checkDTD):
3384         (HTMLParagraphElementImpl::HTMLParagraphElementImpl):
3385         (HTMLParagraphElementImpl::checkDTD):
3386         (HTMLPreElementImpl::HTMLPreElementImpl):
3387         (HTMLMarqueeElementImpl::HTMLMarqueeElementImpl):
3388         (HTMLMarqueeElementImpl::parseMappedAttribute):
3389         * khtml/html/html_blockimpl.h:
3390         (DOM::HTMLBlockquoteElementImpl::endTagRequirement):
3391         (DOM::HTMLBlockquoteElementImpl::tagPriority):
3392         (DOM::HTMLDivElementImpl::endTagRequirement):
3393         (DOM::HTMLDivElementImpl::tagPriority):
3394         (DOM::HTMLHRElementImpl::endTagRequirement):
3395         (DOM::HTMLHRElementImpl::tagPriority):
3396         (DOM::HTMLHeadingElementImpl::endTagRequirement):
3397         (DOM::HTMLHeadingElementImpl::tagPriority):
3398         (DOM::HTMLParagraphElementImpl::endTagRequirement):
3399         (DOM::HTMLParagraphElementImpl::tagPriority):
3400         (DOM::HTMLPreElementImpl::endTagRequirement):
3401         (DOM::HTMLPreElementImpl::tagPriority):
3402         (DOM::HTMLMarqueeElementImpl::endTagRequirement):
3403         (DOM::HTMLMarqueeElementImpl::tagPriority):
3404         * khtml/html/html_canvasimpl.cpp:
3405         (HTMLCanvasElementImpl::HTMLCanvasElementImpl):
3406         * khtml/html/html_canvasimpl.h:
3407         * khtml/html/html_documentimpl.cpp:
3408         (DOM::HTMLDocumentImpl::childAllowed):
3409         (DOM::HTMLDocumentImpl::createElement):
3410         * khtml/html/html_documentimpl.h:
3411         * khtml/html/html_elementimpl.cpp:
3412         (HTMLElementImpl::HTMLElementImpl):
3413         (HTMLElementImpl::nodeName):
3414         (HTMLElementImpl::endTagRequirement):
3415         (HTMLElementImpl::tagPriority):
3416         (HTMLElementImpl::cloneNode):
3417         (HTMLElementImpl::createContextualFragment):
3418         (HTMLElementImpl::setInnerHTML):
3419         (HTMLElementImpl::setOuterHTML):
3420         (HTMLElementImpl::setInnerText):
3421         (HTMLElementImpl::setOuterText):
3422         (HTMLElementImpl::toString):
3423         (HTMLElementImpl::id):
3424         (HTMLElementImpl::childAllowed):
3425         (HTMLElementImpl::isRecognizedTagName):
3426         (inlineTagList):
3427         (blockTagList):
3428         (HTMLElementImpl::inEitherTagList):
3429         (HTMLElementImpl::inInlineTagList):
3430         (HTMLElementImpl::inBlockTagList):
3431         (HTMLElementImpl::checkDTD):
3432         * khtml/html/html_elementimpl.h:
3433         (DOM::):
3434         * khtml/html/html_formimpl.cpp:
3435         (DOM::HTMLFormElementImpl::HTMLFormElementImpl):
3436         (DOM::HTMLFormElementImpl::submitClick):
3437         (DOM::HTMLFormElementImpl::formData):
3438         (DOM::HTMLFormElementImpl::submit):
3439         (DOM::HTMLFormElementImpl::radioClicked):
3440         (DOM::HTMLGenericFormElementImpl::HTMLGenericFormElementImpl):
3441         (DOM::HTMLGenericFormElementImpl::getForm):
3442         (DOM::HTMLButtonElementImpl::HTMLButtonElementImpl):
3443         (DOM::HTMLFieldSetElementImpl::HTMLFieldSetElementImpl):
3444         (DOM::HTMLFieldSetElementImpl::checkDTD):
3445         (DOM::HTMLFieldSetElementImpl::isFocusable):
3446         (DOM::HTMLInputElementImpl::HTMLInputElementImpl):
3447         (DOM::HTMLInputElementImpl::init):
3448         (DOM::HTMLLabelElementImpl::HTMLLabelElementImpl):
3449         (DOM::HTMLLabelElementImpl::form):
3450         (DOM::HTMLLegendElementImpl::HTMLLegendElementImpl):
3451         (DOM::HTMLLegendElementImpl::formElement):
3452         (DOM::HTMLSelectElementImpl::HTMLSelectElementImpl):
3453         (DOM::HTMLSelectElementImpl::init):
3454         (DOM::HTMLSelectElementImpl::checkDTD):
3455         (DOM::HTMLSelectElementImpl::selectedIndex):
3456         (DOM::HTMLSelectElementImpl::setSelectedIndex):
3457         (DOM::HTMLSelectElementImpl::length):
3458         (DOM::HTMLSelectElementImpl::add):
3459         (DOM::HTMLSelectElementImpl::value):
3460         (DOM::HTMLSelectElementImpl::setValue):
3461         (DOM::HTMLSelectElementImpl::state):
3462         (DOM::HTMLSelectElementImpl::restoreState):
3463         (DOM::HTMLSelectElementImpl::appendFormData):
3464         (DOM::HTMLSelectElementImpl::optionToListIndex):
3465         (DOM::HTMLSelectElementImpl::listToOptionIndex):
3466         (DOM::HTMLSelectElementImpl::recalcListItems):
3467         (DOM::HTMLSelectElementImpl::reset):
3468         (DOM::HTMLSelectElementImpl::notifyOptionSelected):
3469         (DOM::HTMLKeygenElementImpl::HTMLKeygenElementImpl):
3470         (DOM::HTMLOptGroupElementImpl::HTMLOptGroupElementImpl):
3471         (DOM::HTMLOptGroupElementImpl::recalcSelectOptions):
3472         (DOM::HTMLOptionElementImpl::HTMLOptionElementImpl):
3473         (DOM::HTMLOptionElementImpl::index):
3474         (DOM::HTMLOptionElementImpl::getSelect):
3475         (DOM::HTMLTextAreaElementImpl::HTMLTextAreaElementImpl):
3476         (DOM::HTMLIsIndexElementImpl::HTMLIsIndexElementImpl):
3477         * khtml/html/html_formimpl.h:
3478         (DOM::HTMLFormElementImpl::endTagRequirement):
3479         (DOM::HTMLFormElementImpl::tagPriority):
3480         (DOM::HTMLGenericFormElementImpl::endTagRequirement):
3481         (DOM::HTMLGenericFormElementImpl::tagPriority):
3482         (DOM::HTMLFieldSetElementImpl::tagPriority):
3483         (DOM::HTMLInputElementImpl::endTagRequirement):
3484         (DOM::HTMLInputElementImpl::tagPriority):
3485         (DOM::HTMLLabelElementImpl::tagPriority):
3486         (DOM::HTMLSelectElementImpl::tagPriority):
3487         (DOM::HTMLKeygenElementImpl::tagPriority):
3488         (DOM::HTMLOptGroupElementImpl::checkDTD):
3489         (DOM::HTMLOptionElementImpl::endTagRequirement):
3490         (DOM::HTMLOptionElementImpl::tagPriority):
3491         (DOM::HTMLOptionElementImpl::checkDTD):
3492         (DOM::HTMLTextAreaElementImpl::checkDTD):
3493         (DOM::HTMLTextAreaElementImpl::cols):
3494         (DOM::HTMLIsIndexElementImpl::endTagRequirement):
3495         (DOM::HTMLIsIndexElementImpl::tagPriority):
3496         * khtml/html/html_headimpl.cpp:
3497         (HTMLBaseElementImpl::HTMLBaseElementImpl):
3498         (HTMLLinkElementImpl::HTMLLinkElementImpl):
3499         (HTMLMetaElementImpl::HTMLMetaElementImpl):
3500         (HTMLScriptElementImpl::HTMLScriptElementImpl):
3501         (HTMLStyleElementImpl::HTMLStyleElementImpl):
3502         (HTMLTitleElementImpl::HTMLTitleElementImpl):
3503         * khtml/html/html_headimpl.h:
3504         (DOM::HTMLBaseElementImpl::endTagRequirement):
3505         (DOM::HTMLBaseElementImpl::tagPriority):
3506         (DOM::HTMLLinkElementImpl::endTagRequirement):
3507         (DOM::HTMLLinkElementImpl::tagPriority):
3508         (DOM::HTMLMetaElementImpl::endTagRequirement):
3509         (DOM::HTMLMetaElementImpl::tagPriority):
3510         (DOM::HTMLScriptElementImpl::endTagRequirement):
3511         (DOM::HTMLScriptElementImpl::tagPriority):
3512         (DOM::HTMLScriptElementImpl::checkDTD):
3513         (DOM::HTMLStyleElementImpl::endTagRequirement):
3514         (DOM::HTMLStyleElementImpl::tagPriority):
3515         (DOM::HTMLStyleElementImpl::checkDTD):
3516         (DOM::HTMLTitleElementImpl::checkDTD):
3517         * khtml/html/html_imageimpl.cpp:
3518         (HTMLImageLoader::updateFromElement):
3519         (HTMLImageElementImpl::HTMLImageElementImpl):
3520         (HTMLImageElementImpl::~HTMLImageElementImpl):
3521         (HTMLMapElementImpl::HTMLMapElementImpl):
3522         (HTMLMapElementImpl::checkDTD):
3523         (HTMLMapElementImpl::mapMouseEvent):
3524         (HTMLAreaElementImpl::HTMLAreaElementImpl):
3525         * khtml/html/html_imageimpl.h:
3526         (DOM::HTMLImageElementImpl::endTagRequirement):
3527         (DOM::HTMLImageElementImpl::tagPriority):
3528         (DOM::HTMLAreaElementImpl::endTagRequirement):
3529         (DOM::HTMLAreaElementImpl::tagPriority):
3530         (DOM::HTMLMapElementImpl::endTagRequirement):
3531         (DOM::HTMLMapElementImpl::tagPriority):
3532         * khtml/html/html_inlineimpl.cpp:
3533         (DOM::HTMLAnchorElementImpl::HTMLAnchorElementImpl):
3534         (DOM::HTMLAnchorElementImpl::defaultEventHandler):
3535         (DOM::HTMLBRElementImpl::HTMLBRElementImpl):
3536         (DOM::HTMLFontElementImpl::HTMLFontElementImpl):
3537         (DOM::HTMLModElementImpl::HTMLModElementImpl):
3538         (DOM::HTMLQuoteElementImpl::HTMLQuoteElementImpl):
3539         * khtml/html/html_inlineimpl.h:
3540         (DOM::HTMLAnchorElementImpl::endTagRequirement):
3541         (DOM::HTMLAnchorElementImpl::tagPriority):
3542         (DOM::HTMLBRElementImpl::endTagRequirement):
3543         (DOM::HTMLBRElementImpl::tagPriority):
3544         (DOM::HTMLFontElementImpl::endTagRequirement):
3545         (DOM::HTMLFontElementImpl::tagPriority):
3546         (DOM::HTMLModElementImpl::endTagRequirement):
3547         (DOM::HTMLModElementImpl::tagPriority):
3548         (DOM::HTMLQuoteElementImpl::endTagRequirement):
3549         (DOM::HTMLQuoteElementImpl::tagPriority):
3550         * khtml/html/html_listimpl.cpp:
3551         (DOM::HTMLOListElementImpl::parseMappedAttribute):
3552         (DOM::HTMLLIElementImpl::attach):
3553         (DOM::HTMLLIElementImpl::setValue):
3554         * khtml/html/html_listimpl.h:
3555         (DOM::HTMLUListElementImpl::HTMLUListElementImpl):
3556         (DOM::HTMLUListElementImpl::endTagRequirement):
3557         (DOM::HTMLUListElementImpl::tagPriority):
3558         (DOM::HTMLDirectoryElementImpl::HTMLDirectoryElementImpl):
3559         (DOM::HTMLDirectoryElementImpl::endTagRequirement):
3560         (DOM::HTMLDirectoryElementImpl::tagPriority):
3561         (DOM::HTMLMenuElementImpl::HTMLMenuElementImpl):
3562         (DOM::HTMLMenuElementImpl::endTagRequirement):
3563         (DOM::HTMLMenuElementImpl::tagPriority):
3564         (DOM::HTMLOListElementImpl::HTMLOListElementImpl):
3565         (DOM::HTMLOListElementImpl::endTagRequirement):
3566         (DOM::HTMLOListElementImpl::tagPriority):
3567         (DOM::HTMLLIElementImpl::HTMLLIElementImpl):
3568         (DOM::HTMLLIElementImpl::endTagRequirement):
3569         (DOM::HTMLLIElementImpl::tagPriority):
3570         (DOM::HTMLDListElementImpl::HTMLDListElementImpl):
3571         (DOM::HTMLDListElementImpl::endTagRequirement):
3572         (DOM::HTMLDListElementImpl::tagPriority):
3573         * khtml/html/html_miscimpl.cpp:
3574         (DOM::HTMLBaseFontElementImpl::HTMLBaseFontElementImpl):
3575         (DOM::HTMLCollectionImpl::traverseNextItem):
3576         (DOM::HTMLCollectionImpl::checkForNameMatch):
3577         (DOM::HTMLCollectionImpl::updateNameCache):
3578         (DOM::HTMLFormCollectionImpl::getNamedFormItem):
3579         (DOM::HTMLFormCollectionImpl::updateNameCache):
3580         * khtml/html/html_miscimpl.h:
3581         (DOM::HTMLBaseFontElementImpl::endTagRequirement):
3582         (DOM::HTMLBaseFontElementImpl::tagPriority):
3583         * khtml/html/html_objectimpl.cpp:
3584         (DOM::HTMLAppletElementImpl::HTMLAppletElementImpl):
3585         (DOM::HTMLAppletElementImpl::checkDTD):
3586         (DOM::HTMLEmbedElementImpl::HTMLEmbedElementImpl):
3587         (DOM::HTMLEmbedElementImpl::checkDTD):
3588         (DOM::HTMLEmbedElementImpl::rendererIsNeeded):
3589         (DOM::HTMLObjectElementImpl::HTMLObjectElementImpl):
3590         (DOM::HTMLObjectElementImpl::checkDTD):
3591         (DOM::HTMLObjectElementImpl::form):
3592         (DOM::HTMLParamElementImpl::HTMLParamElementImpl):
3593         * khtml/html/html_objectimpl.h:
3594         (DOM::HTMLAppletElementImpl::endTagRequirement):
3595         (DOM::HTMLAppletElementImpl::tagPriority):
3596         (DOM::HTMLEmbedElementImpl::endTagRequirement):
3597         (DOM::HTMLEmbedElementImpl::tagPriority):
3598         (DOM::HTMLObjectElementImpl::endTagRequirement):
3599         (DOM::HTMLObjectElementImpl::tagPriority):
3600         (DOM::HTMLParamElementImpl::endTagRequirement):
3601         (DOM::HTMLParamElementImpl::tagPriority):
3602         * khtml/html/html_tableimpl.cpp:
3603         (DOM::HTMLTableElementImpl::HTMLTableElementImpl):
3604         (DOM::HTMLTableElementImpl::checkDTD):
3605         (DOM::HTMLTableElementImpl::createTHead):
3606         (DOM::HTMLTableElementImpl::createTFoot):
3607         (DOM::HTMLTableElementImpl::insertRow):
3608         (DOM::HTMLTableElementImpl::deleteRow):
3609         (DOM::HTMLTableElementImpl::addChild):
3610         (DOM::HTMLTableSectionElementImpl::HTMLTableSectionElementImpl):
3611         (DOM::HTMLTableSectionElementImpl::checkDTD):
3612         (DOM::HTMLTableSectionElementImpl::addChild):
3613         (DOM::HTMLTableSectionElementImpl::numRows):
3614         (DOM::HTMLTableRowElementImpl::checkDTD):
3615         (DOM::HTMLTableRowElementImpl::addChild):
3616         (DOM::HTMLTableRowElementImpl::rowIndex):
3617         (DOM::HTMLTableRowElementImpl::sectionRowIndex):
3618         (DOM::HTMLTableRowElementImpl::insertCell):
3619         (DOM::HTMLTableCellElementImpl::HTMLTableCellElementImpl):
3620         (DOM::HTMLTableCellElementImpl::cellIndex):
3621         (DOM::HTMLTableCellElementImpl::additionalAttributeStyleDecl):
3622         (DOM::HTMLTableColElementImpl::HTMLTableColElementImpl):
3623         * khtml/html/html_tableimpl.h:
3624         (DOM::HTMLTableElementImpl::endTagRequirement):
3625         (DOM::HTMLTableElementImpl::tagPriority):
3626         (DOM::HTMLTablePartElementImpl::HTMLTablePartElementImpl):
3627         (DOM::HTMLTableSectionElementImpl::endTagRequirement):
3628         (DOM::HTMLTableSectionElementImpl::tagPriority):
3629         (DOM::HTMLTableRowElementImpl::HTMLTableRowElementImpl):
3630         (DOM::HTMLTableRowElementImpl::endTagRequirement):
3631         (DOM::HTMLTableRowElementImpl::tagPriority):
3632         (DOM::HTMLTableCellElementImpl::endTagRequirement):
3633         (DOM::HTMLTableCellElementImpl::tagPriority):
3634         (DOM::HTMLTableColElementImpl::endTagRequirement):
3635         (DOM::HTMLTableColElementImpl::tagPriority):
3636         (DOM::HTMLTableColElementImpl::checkDTD):
3637         (DOM::HTMLTableCaptionElementImpl::HTMLTableCaptionElementImpl):
3638         (DOM::HTMLTableCaptionElementImpl::endTagRequirement):
3639         (DOM::HTMLTableCaptionElementImpl::tagPriority):
3640         * khtml/html/htmlfactory.cpp: Added.
3641         (DOM::htmlConstructor):
3642         (DOM::headConstructor):
3643         (DOM::bodyConstructor):
3644         (DOM::baseConstructor):
3645         (DOM::linkConstructor):
3646         (DOM::metaConstructor):
3647         (DOM::styleConstructor):
3648         (DOM::titleConstructor):
3649         (DOM::frameConstructor):
3650         (DOM::framesetConstructor):
3651         (DOM::iframeConstructor):
3652         (DOM::formConstructor):
3653         (DOM::buttonConstructor):
3654         (DOM::inputConstructor):
3655         (DOM::isindexConstructor):
3656         (DOM::fieldsetConstructor):
3657         (DOM::labelConstructor):
3658         (DOM::legendConstructor):
3659         (DOM::optgroupConstructor):
3660         (DOM::optionConstructor):
3661         (DOM::selectConstructor):
3662         (DOM::textareaConstructor):
3663         (DOM::dlConstructor):
3664         (DOM::ulConstructor):
3665         (DOM::olConstructor):
3666         (DOM::dirConstructor):
3667         (DOM::menuConstructor):
3668         (DOM::liConstructor):
3669         (DOM::blockquoteConstructor):
3670         (DOM::divConstructor):
3671         (DOM::headingConstructor):
3672         (DOM::hrConstructor):
3673         (DOM::paragraphConstructor):
3674         (DOM::preConstructor):
3675         (DOM::basefontConstructor):
3676         (DOM::fontConstructor):
3677         (DOM::modConstructor):
3678         (DOM::anchorConstructor):
3679         (DOM::imageConstructor):
3680         (DOM::mapConstructor):
3681         (DOM::areaConstructor):
3682         (DOM::canvasConstructor):
3683         (DOM::appletConstructor):
3684         (DOM::embedConstructor):
3685         (DOM::objectConstructor):
3686         (DOM::paramConstructor):
3687         (DOM::scriptConstructor):
3688         (DOM::tableConstructor):
3689         (DOM::tableCaptionConstructor):
3690         (DOM::tableColConstructor):
3691         (DOM::tableRowConstructor):
3692         (DOM::tableCellConstructor):
3693         (DOM::tableSectionConstructor):
3694         (DOM::brConstructor):
3695         (DOM::quoteConstructor):
3696         (DOM::marqueeConstructor):
3697         (DOM::HTMLElementFactory::createHTMLElement):
3698         * khtml/html/htmlfactory.h: Added.
3699         * khtml/html/htmlnames.cpp:
3700         (DOM::HTMLNames::init):
3701         * khtml/html/htmlnames.h:
3702         (DOM::HTMLNames::xhtmlNamespaceURI):
3703         * khtml/html/htmlparser.cpp:
3704         (HTMLStackElem::HTMLStackElem):
3705         (HTMLParser::HTMLParser):
3706         (HTMLParser::~HTMLParser):
3707         (HTMLParser::reset):
3708         (HTMLParser::setCurrent):
3709         (HTMLParser::parseToken):
3710         (isTableSection):
3711         (isTablePart):
3712         (isTableRelated):
3713         (HTMLParser::insertNode):
3714         (HTMLParser::handleError):
3715         (HTMLParser::textCreateErrorCheck):
3716         (HTMLParser::commentCreateErrorCheck):
3717         (HTMLParser::headCreateErrorCheck):
3718         (HTMLParser::bodyCreateErrorCheck):
3719         (HTMLParser::framesetCreateErrorCheck):
3720         (HTMLParser::iframeCreateErrorCheck):
3721         (HTMLParser::formCreateErrorCheck):
3722         (HTMLParser::isindexCreateErrorCheck):
3723         (HTMLParser::selectCreateErrorCheck):
3724         (HTMLParser::ddCreateErrorCheck):
3725         (HTMLParser::dtCreateErrorCheck):
3726         (HTMLParser::nestedCreateErrorCheck):
3727         (HTMLParser::nestedStyleCreateErrorCheck):
3728         (HTMLParser::tableCellCreateErrorCheck):
3729         (HTMLParser::tableSectionCreateErrorCheck):
3730         (HTMLParser::noembedCreateErrorCheck):
3731         (HTMLParser::noframesCreateErrorCheck):
3732         (HTMLParser::noscriptCreateErrorCheck):
3733         (HTMLParser::nolayerCreateErrorCheck):
3734         (HTMLParser::getNode):
3735         (HTMLParser::allowNestedRedundantTag):
3736         (HTMLParser::processCloseTag):
3737         (HTMLParser::isHeaderTag):
3738         (HTMLParser::popNestedHeaderTag):
3739         (HTMLParser::isInline):
3740         (HTMLParser::isResidualStyleTag):
3741         (HTMLParser::isAffectedByResidualStyle):
3742         (HTMLParser::handleResidualStyleCloseTagAcrossBlocks):
3743         (HTMLParser::reopenResidualStyleTags):
3744         (HTMLParser::pushBlock):
3745         (HTMLParser::popBlock):
3746         (HTMLParser::popOneBlock):
3747         (HTMLParser::popInlineBlocks):
3748         (HTMLParser::freeBlock):
3749         (HTMLParser::createHead):
3750         (HTMLParser::handleIsindex):
3751         (HTMLParser::startBody):
3752         (HTMLParser::finished):
3753         * khtml/html/htmlparser.h:
3754         (HTMLParser::skipMode):
3755         (HTMLParser::setSkipMode):
3756         (HTMLParser::popBlock):
3757         * khtml/html/htmltokenizer.cpp:
3758         (khtml::HTMLTokenizer::HTMLTokenizer):
3759         (khtml::HTMLTokenizer::parseSpecial):
3760         (khtml::HTMLTokenizer::scriptHandler):
3761         (khtml::HTMLTokenizer::parseComment):
3762         (khtml::HTMLTokenizer::parseTag):
3763         (khtml::HTMLTokenizer::processToken):
3764         * khtml/html/htmltokenizer.h:
3765         (khtml::Token::Token):
3766         (khtml::Token::~Token):
3767         (khtml::Token::addAttribute):
3768         (khtml::Token::isOpenTag):
3769         (khtml::Token::isCloseTag):
3770         (khtml::Token::reset):
3771         * khtml/khtml_part.cpp:
3772         (KHTMLPart::init):
3773         (KHTMLPart::selectionComputedStyle):
3774         * khtml/khtmlview.cpp:
3775         (KHTMLView::layout):
3776         (isSubmitImage):
3777         * khtml/misc/decoder.cpp:
3778         (Decoder::decode):
3779         * khtml/misc/hashmap.h:
3780         (khtml::::size):
3781         (khtml::::isEmpty):
3782         (khtml::::begin):
3783         (khtml::::end):
3784         (khtml::::get):
3785         * khtml/misc/hashset.h:
3786         (khtml::::size):
3787         (khtml::::isEmpty):
3788         (khtml::::begin):
3789         (khtml::::end):
3790         (khtml::::contains):
3791         * khtml/misc/hashtable.h:
3792         (khtml::HashTableIterator::skipEmptyBuckets):
3793         (khtml::::lookup):
3794         (khtml::::find):
3795         (khtml::::contains):
3796         (khtml::::remove):
3797         * khtml/misc/htmlhashes.cpp:
3798         (khtml::getAttrID):
3799         * khtml/misc/htmlhashes.h:
3800         * khtml/rendering/bidi.cpp:
3801         (khtml::BidiIterator::direction):
3802         * khtml/rendering/break_lines.cpp:
3803         (khtml::isBreakable):
3804         * khtml/rendering/render_applet.cpp:
3805         (RenderApplet::createWidgetIfNecessary):
3806         * khtml/rendering/render_block.cpp:
3807         (khtml::RenderBlock::layoutBlock):
3808         * khtml/rendering/render_box.cpp:
3809         (RenderBox::paintRootBoxDecorations):
3810         (RenderBox::paintBackgroundExtended):
3811         * khtml/rendering/render_canvasimage.cpp:
3812         (RenderCanvasImage::paint):
3813         * khtml/rendering/render_canvasimage.h:
3814         * khtml/rendering/render_container.cpp:
3815         (RenderContainer::updatePseudoChild):
3816         * khtml/rendering/render_flow.cpp:
3817         (RenderFlow::addFocusRingRects):
3818         * khtml/rendering/render_form.cpp:
3819         (RenderFieldset::findLegend):
3820         (RenderSelect::updateFromElement):
3821         (RenderSelect::layout):
3822         (RenderSelect::slotSelected):
3823         (RenderSelect::slotSelectionChanged):
3824         (RenderSelect::updateSelection):
3825         * khtml/rendering/render_frames.cpp:
3826         (RenderPartObject::updateWidget):
3827         (RenderPartObject::slotViewCleared):
3828         * khtml/rendering/render_image.cpp:
3829         (RenderImage::paint):
3830         (RenderImage::imageMap):
3831         (RenderImage::updateAltText):
3832         * khtml/rendering/render_image.h:
3833         * khtml/rendering/render_layer.cpp:
3834         (Marquee::marqueeSpeed):
3835         * khtml/rendering/render_line.cpp:
3836         * khtml/rendering/render_list.cpp:
3837         (getParentOfFirstLineBox):
3838         * khtml/rendering/render_object.cpp:
3839         (RenderObject::isBody):
3840         (RenderObject::isHR):
3841         (RenderObject::isHTMLMarquee):
3842         (RenderObject::sizesToMaxWidth):
3843         (RenderObject::information):
3844         (RenderObject::setStyle):
3845         (RenderObject::getTextDecorationColors):
3846         (RenderObject::setPixmap):
3847         * khtml/rendering/render_style.cpp:
3848         (RenderStyle::getPseudoStyle):
3849         * khtml/rendering/render_style.h:
3850         * khtml/rendering/render_table.cpp:
3851         (RenderTable::addChild):
3852         (RenderTable::layout):
3853         (RenderTableSection::addChild):
3854         (RenderTableRow::addChild):
3855         (RenderTableCell::updateFromElement):
3856         (RenderTableCol::updateFromElement):
3857         * khtml/xml/dom2_rangeimpl.cpp:
3858         * khtml/xml/dom2_traversalimpl.cpp:
3859         * khtml/xml/dom_atomicstring.cpp:
3860         (DOM::equal):
3861         (DOM::AtomicString::init):
3862         * khtml/xml/dom_atomicstring.h:
3863         * khtml/xml/dom_docimpl.cpp:
3864         (DocumentImpl::createElement):
3865         (DocumentImpl::importNode):
3866         (DocumentImpl::createElementNS):
3867         (DocumentImpl::body):
3868         (DocumentImpl::shouldScheduleLayout):
3869         (DocumentImpl::attrId):
3870         (DocumentImpl::recalcStyleSelector):
3871         * khtml/xml/dom_docimpl.h:
3872         * khtml/xml/dom_elementimpl.cpp:
3873         (AttrImpl::prefix):
3874         (AttrImpl::setPrefix):
3875         (ElementImpl::ElementImpl):
3876         (ElementImpl::~ElementImpl):
3877         (ElementImpl::cloneNode):
3878         (ElementImpl::hasAttributes):
3879         (ElementImpl::nodeName):
3880         (ElementImpl::setPrefix):
3881         (ElementImpl::openTagStartToString):
3882         (ElementImpl::toString):
3883         (StyledElementImpl::StyledElementImpl):
3884         * khtml/xml/dom_elementimpl.h:
3885         (DOM::ElementImpl::tagName):
3886         (DOM::ElementImpl::hasTagName):
3887         (DOM::ElementImpl::hasLocalName):
3888         (DOM::ElementImpl::localName):
3889         (DOM::ElementImpl::prefix):
3890         (DOM::ElementImpl::namespaceURI):
3891         (DOM::ElementImpl::mouseEventHandler):
3892         * khtml/xml/dom_nodeimpl.cpp:
3893         (DOM::NodeImpl::lastDescendant):
3894         (DOM::NodeImpl::prefix):
3895         (DOM::NodeImpl::setPrefix):
3896         (DOM::NodeImpl::localName):
3897         (DOM::NodeImpl::namespaceURI):
3898         (DOM::NodeImpl::checkSetPrefix):
3899         (DOM::NodeImpl::isAtomicNode):
3900         (DOM::NodeImpl::maxDeepOffset):
3901         (DOM::NodeImpl::enclosingBlockFlowOrTableElement):
3902         (DOM::NodeImpl::enclosingBlockFlowElement):
3903         (DOM::NodeImpl::enclosingInlineElement):
3904         (DOM::NodeImpl::rootEditableElement):
3905         (DOM::NodeImpl::getElementsByTagNameNS):
3906         (DOM::NodeImpl::showTreeAndMark):
3907         (DOM::ContainerNodeImpl::addChild):
3908         (DOM::TagNodeListImpl::TagNodeListImpl):
3909         (DOM::TagNodeListImpl::item):
3910         (DOM::TagNodeListImpl::nodeMatches):
3911         * khtml/xml/dom_nodeimpl.h:
3912         (DOM::NodeImpl::hasTagName):
3913         (DOM::NodeImpl::isCommentNode):
3914         (DOM::NodeImpl::isDocumentNode):
3915         (DOM::NodeImpl::closeRenderer):
3916         (DOM::NodeImpl::getElementsByTagName):
3917         * khtml/xml/dom_position.cpp:
3918         (DOM::Position::downstream):
3919         (DOM::Position::rendersInDifferentPosition):
3920         (DOM::Position::leadingWhitespacePosition):
3921         (DOM::Position::trailingWhitespacePosition):
3922         * khtml/xml/dom_qname.cpp:
3923         (DOM::hashComponents):
3924         (DOM::QNameHash::hash):
3925         (DOM::QNameHash::equal):
3926         (DOM::equalComponents):
3927         (DOM::convertComponents):
3928         (DOM::QualifiedName::QualifiedName):
3929         (DOM::QualifiedName::deref):
3930         (DOM::QualifiedName::setPrefix):
3931         * khtml/xml/dom_qname.h:
3932         (DOM::QualifiedName::hasPrefix):
3933         (DOM::operator==):
3934         * khtml/xml/dom_textimpl.cpp:
3935         (CommentImpl::localName):
3936         (CommentImpl::nodeName):
3937         (TextImpl::localName):
3938         (TextImpl::nodeName):
3939         * khtml/xml/dom_textimpl.h:
3940         (DOM::CommentImpl::isCommentNode):
3941         (DOM::TextImpl::isTextNode):
3942         * khtml/xml/xml_tokenizer.cpp:
3943         (khtml::XMLTokenizer::startElement):
3944         (khtml::XMLTokenizer::insertErrorMessageBlock):
3945         (khtml::XMLTokenizer::addScripts):
3946         * kwq/DOM.mm:
3947         (-[DOMNode setPrefix:]):
3948         (+[DOMNode _nodeWithImpl:]):
3949         (-[DOMElement tagName]):
3950         * kwq/DOMHTML.mm:
3951         (-[DOMHTMLQuoteElement _quoteElementImpl]):
3952         * kwq/KWQAccObject.mm:
3953         (-[KWQAccObject role]):
3954         (-[KWQAccObject title]):
3955         (-[KWQAccObject accessibilityIsIgnored]):
3956         * kwq/KWQDOMNode.cpp: Removed.
3957         * kwq/KWQDOMNode.h: Removed.
3958         * kwq/KWQFont.h:
3959         (QFont::):
3960         (QFont::isFixedPitch):
3961         * kwq/KWQFont.mm:
3962         (QFont::QFont):
3963         (QFont::operator=):
3964         (QFont::determinePitch):
3965         (QFont::operator==):
3966         * kwq/KWQKHTMLPart.cpp:
3967         (KWQKHTMLPart::isFrameSet):
3968         * kwq/KWQKHTMLPart.mm:
3969         (scanForForm):
3970         (KWQKHTMLPart::currentForm):
3971         (KWQKHTMLPart::searchForLabelsAboveCell):
3972         (KWQKHTMLPart::searchForLabelsBeforeElement):
3973         (listParent):
3974         (isTextFirstInListItem):
3975         (KWQKHTMLPart::attributedString):
3976         (KWQKHTMLPart::styleForSelectionStart):
3977         (KWQKHTMLPart::setSelectionFromNone):
3978         * kwq/KWQRenderTreeDebug.cpp:
3979         (getTagName):
3980         * kwq/WebCoreBridge.mm:
3981         (inputElementFromDOMElement):
3982         (formElementFromDOMElement):
3983         (-[WebCoreBridge elementAtPoint:]):
3984         * layout-tests/fast/dom/css-dom-read-expected.txt:
3985         * layout-tests/fast/overflow/003-expected.txt:
3986         * layout-tests/fast/tokenizer/002-expected.txt:
3987         * layout-tests/fast/tokenizer/external-script-document-write-expected.txt:
3988         * layout-tests/fast/tokenizer/script_extra_close-expected.txt:
3989         * layout-tests/fast/tokenizer/script_quirk-expected.txt: Removed.
3990         * layout-tests/fast/tokenizer/script_quirk.html: Removed.
3991
3992 2005-07-08  Eric Seidel  <eseidel@apple.com>
3993
3994         Reviewed by mjs/hyatt (just approved the changelog).
3995
3996         * ForwardingHeaders/kdom/css/impl/cssproperties.h: Added.
3997         * ForwardingHeaders/kdom/css/impl/cssvalues.h: Added.
3998         * ForwardingHeaders/ksvg2/KSVGPart.h: Added.
3999         * ForwardingHeaders/ksvg2/KSVGView.h: Added.
4000         * ForwardingHeaders/ksvg2/css/impl/cssproperties.h: Added.
4001         * ForwardingHeaders/ksvg2/css/impl/cssvalues.h: Added.
4002         * ForwardingHeaders/ksvg2/data/Constructors.lut.h: Added.
4003         * ForwardingHeaders/ksvg2/data/GlobalObject.lut.h: Added.
4004         * WebCore.pbproj/project.pbxproj:  Added WebCore+SVG Target.
4005         * kcanvas/DESIGN: Added.
4006         * kcanvas/KCanvas.cc: Added.