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