Changeset 17615 in webkit
- Timestamp:
- Nov 6, 2006 4:54:30 AM (17 years ago)
- Location:
- trunk
- Files:
-
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r17611 r17615 1 2006-11-06 Mark Rowe <bdash@webkit.org> 2 3 Reviewed by Maciej. 4 5 http://bugs.webkit.org/show_bug.cgi?id=11526 6 Bug 11526: REGRESSION(r17610): Layout test failure in svg/custom/create-metadata-element.svg 7 8 Updated test results for change from nodeName to className in DOMNode::toString. 9 10 * fast/dom/HTMLMetaElement/meta-attributes-expected.txt: 11 * fast/dom/prototype-chain-expected.txt: 12 * fast/dom/replace-first-child-expected.txt: 13 * fast/events/mouseclick-target-and-positioning-expected.txt: 14 * fast/forms/input-appearance-preventDefault-expected.checksum: 15 * fast/forms/input-appearance-preventDefault-expected.png: 16 * fast/forms/input-appearance-preventDefault-expected.txt: 17 * fast/loader/loadInProgress-expected.txt: 18 * fast/tokenizer/external-script-document-write-expected.checksum: 19 * fast/tokenizer/external-script-document-write-expected.png: 20 * fast/tokenizer/external-script-document-write-expected.txt: 21 * traversal/stay-within-root-expected.checksum: 22 * traversal/stay-within-root-expected.png: 23 * traversal/stay-within-root-expected.txt: 24 1 25 2006-11-06 Alexey Proskuryakov <ap@webkit.org> 2 26 -
trunk/LayoutTests/fast/dom/HTMLMetaElement/meta-attributes-expected.txt
r14413 r17615 1 1 You should see 5 lines with "SUCCESS" below: 2 SUCCESS (value: "[object META]") 2 FAILURE: expected "[object META]", actual "[object HTMLMetaElement]" 3 3 4 4 SUCCESS (value: "foo") -
trunk/LayoutTests/fast/dom/prototype-chain-expected.txt
r14463 r17615 19 19 [object HTMLDocument] 20 20 21 ----- [object DIV] (8 prototypes) -----21 ----- [object HTMLDivElement] (8 prototypes) ----- 22 22 23 23 [object Object] -
trunk/LayoutTests/fast/dom/replace-first-child-expected.txt
r12344 r17615 1 1 This tests for a bug in replaceChild where it would fail to replace an element if it was the first child of its container. See bug 6782 for details. If the test is successful you will see an object description below, and if it fails you will see "null". 2 2 3 [object DIV]3 [object HTMLDivElement] 4 4 -
trunk/LayoutTests/fast/events/mouseclick-target-and-positioning-expected.txt
r17562 r17615 3 3 click inside the red box: 4 4 [] 5 PASS: event target should be [object SPAN] and is5 PASS: event target should be [object HTMLElement] and is 6 6 PASS: event.pageX should be 175 and is 7 7 PASS: event.pageY should be 105 and is -
trunk/LayoutTests/fast/forms/input-appearance-preventDefault-expected.checksum
r14936 r17615 1 a9fb25b7dcabbe0dcfd6df906d7a32df 1 4fc2dfc07ffba17b0ba75af3f25c9fe1 -
trunk/LayoutTests/fast/forms/input-appearance-preventDefault-expected.txt
r14684 r17615 17 17 RenderText {#text} at (1,0) size 129x13 18 18 text run at (1,0) width 129: "No caret should be here" 19 layer at (10,70) size 240x3620 RenderBlock (positioned) {DIV} at (10,70) size 240x3619 layer at (10,70) size 323x36 20 RenderBlock (positioned) {DIV} at (10,70) size 323x36 21 21 RenderBR {BR} at (0,0) size 0x18 22 RenderText {#text} at (0,18) size 240x1823 text run at (0,18) width 240: "mousedown on target [object INPUT]"22 RenderText {#text} at (0,18) size 323x18 23 text run at (0,18) width 323: "mousedown on target [object HTMLInputElement]" -
trunk/LayoutTests/fast/loader/loadInProgress-expected.txt
r13851 r17615 1 ALERT: Test passed: [object FORM]1 ALERT: Test passed: [object HTMLFormElement] 2 2 3 3 -
trunk/LayoutTests/fast/tokenizer/external-script-document-write-expected.checksum
r11995 r17615 1 51a6e47d52b6df9301877707d6d1f4ac 1 7e57f97082d3ae6aba1a3443a8cca169 -
trunk/LayoutTests/fast/tokenizer/external-script-document-write-expected.txt
r14684 r17615 5 5 RenderBody {BODY} at (8,8) size 784x18 6 6 RenderInline {SPAN} at (0,0) size 0x0 7 RenderText {#text} at (0,0) size 2 39x188 text run at (0,0) width 2 39: "This should be a span: [object SPAN]"7 RenderText {#text} at (0,0) size 295x18 8 text run at (0,0) width 295: "This should be a span: [object HTMLElement]" -
trunk/LayoutTests/traversal/stay-within-root-expected.checksum
r15232 r17615 1 6 ac3a1ffc86df24c99698a832aa892491 6be147d47c579f68ea789faf193a0ffe -
trunk/LayoutTests/traversal/stay-within-root-expected.txt
r15009 r17615 19 19 RenderListItem {LI} at (40,18) size 744x18 20 20 RenderListMarker at (-20,0) size 16x18 21 RenderText {#text} at (0,0) size 81x1822 text run at (0,0) width 81: "[object DIV]"21 RenderText {#text} at (0,0) size 174x18 22 text run at (0,0) width 174: "[object HTMLDivElement]" 23 23 RenderListItem {LI} at (40,36) size 744x18 24 24 RenderListMarker at (-20,0) size 16x18 25 RenderText {#text} at (0,0) size 81x1826 text run at (0,0) width 81: "[object DIV]"25 RenderText {#text} at (0,0) size 174x18 26 text run at (0,0) width 174: "[object HTMLDivElement]" 27 27 RenderListItem {LI} at (40,54) size 744x18 28 28 RenderListMarker at (-20,0) size 16x18 29 RenderText {#text} at (0,0) size 81x1830 text run at (0,0) width 81: "[object DIV]"29 RenderText {#text} at (0,0) size 174x18 30 text run at (0,0) width 174: "[object HTMLDivElement]" 31 31 RenderListItem {LI} at (40,72) size 744x18 32 32 RenderListMarker at (-20,0) size 16x18 … … 47 47 RenderListItem {LI} at (40,144) size 744x18 48 48 RenderListMarker at (-20,0) size 16x18 49 RenderText {#text} at (0,0) size 81x1850 text run at (0,0) width 81: "[object DIV]"49 RenderText {#text} at (0,0) size 174x18 50 text run at (0,0) width 174: "[object HTMLDivElement]" 51 51 RenderListItem {LI} at (40,162) size 744x18 52 52 RenderListMarker at (-28,0) size 24x18 53 RenderText {#text} at (0,0) size 81x1854 text run at (0,0) width 81: "[object DIV]"53 RenderText {#text} at (0,0) size 174x18 54 text run at (0,0) width 174: "[object HTMLDivElement]" 55 55 RenderListItem {LI} at (40,180) size 744x18 56 56 RenderListMarker at (-28,0) size 24x18 -
trunk/WebCore/ChangeLog
r17612 r17615 1 2006-11-06 Mark Rowe <bdash@webkit.org> 2 3 Reviewed by Maciej. 4 5 http://bugs.webkit.org/show_bug.cgi?id=11526 6 Bug 11526: REGRESSION(r17610): Layout test failure in svg/custom/create-metadata-element.svg 7 8 Update DOMNode::toString to always use className rather than preferring nodeName. 9 10 * bindings/js/kjs_dom.cpp: 11 (KJS::DOMNode::toString): Match the format returned by valueOf. 12 1 13 2006-11-06 Oliver Hunt <oliver@apple.com> 2 14 -
trunk/WebCore/bindings/js/kjs_dom.cpp
r16353 r17615 275 275 } 276 276 277 UString DOMNode::toString(ExecState* 278 { 279 if (!m_impl)280 return "null";281 return "[object " + (m_impl->isElementNode() ? UString(m_impl->nodeName()) : className()) + "]";277 UString DOMNode::toString(ExecState*) const 278 { 279 if (!m_impl) 280 return "null"; 281 return "[object " + className() + "]"; 282 282 } 283 283
Note: See TracChangeset
for help on using the changeset viewer.