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