Changeset 29953 in webkit
- Timestamp:
- Feb 3, 2008 3:55:42 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 6 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r29952 r29953 1 2008-02-03 Eric Seidel <eric@webkit.org> 2 3 Reviewed by darin. 4 5 Acid3 expects textNode.localName === null 6 http://bugs.webkit.org/show_bug.cgi?id=17060 7 Add test to verify that initial values after node creation 8 agree with the W3C DOM Level 2/3 specs. 9 10 We intentionally "fail" a few of these tests. 11 http://bugs.webkit.org/show_bug.cgi?id=17167 covers those "failures" 12 13 * fast/dom/Node/initial-values.html: Added. 14 * fast/dom/Node/initial-values-expected.txt: Added. 15 * fast/dom/Node/resources/TEMPLATE.html: Added. 16 * fast/dom/Node/resources/initial-values.js: Added. 17 1 18 2008-02-03 Eric Seidel <eric@webkit.org> 2 19 -
trunk/WebCore/ChangeLog
r29952 r29953 1 2008-02-03 Eric Seidel <eric@webkit.org> 2 3 Reviewed by darin. 4 5 Acid3 expects textNode.localName === null 6 http://bugs.webkit.org/show_bug.cgi?id=17060 7 8 Test: fast/dom/Node/initial-values.html 9 10 * dom/Comment.cpp: remove localName implementation 11 * dom/Comment.h: 12 * dom/Node.cpp: return nullAtom instead of emptyAtom 13 * dom/Text.cpp: remove localName implementation 14 * dom/Text.h: 15 1 16 2008-02-03 Eric Seidel <eric@webkit.org> 2 17 -
trunk/WebCore/dom/Comment.cpp
r29317 r29953 43 43 } 44 44 45 const AtomicString& Comment::localName() const46 {47 return commentAtom;48 }49 50 45 String Comment::nodeName() const 51 46 { -
trunk/WebCore/dom/Comment.h
r27690 r29953 38 38 39 39 // DOM methods overridden from parent classes 40 const AtomicString& localName() const;41 40 virtual String nodeName() const; 42 41 virtual NodeType nodeType() const; -
trunk/WebCore/dom/Node.cpp
r29481 r29953 336 336 const AtomicString& Node::localName() const 337 337 { 338 return emptyAtom;338 return nullAtom; 339 339 } 340 340 -
trunk/WebCore/dom/Text.cpp
r29926 r29953 88 88 } 89 89 90 const AtomicString& Text::localName() const91 {92 return textAtom;93 }94 95 90 String Text::nodeName() const 96 91 { -
trunk/WebCore/dom/Text.h
r29926 r29953 42 42 // DOM methods overridden from parent classes 43 43 44 virtual const AtomicString& localName() const;45 44 virtual String nodeName() const; 46 45 virtual NodeType nodeType() const;
Note: See TracChangeset
for help on using the changeset viewer.