Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(349)

Side by Side Diff: LayoutTests/fast/dom/attribute-empty-value-no-children-expected.txt

Issue 1158433004: Remove Attr child nodes (making Attr a Node, not a ContainerNode) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: address feedback Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 CONSOLE WARNING: Attr child nodes are deprecated and will be removed in M45, aro und August 2015. Please use 'Attr.value' instead.
2 Attr empty value tests Bug 16923 1 Attr empty value tests Bug 16923
3 2
4 In Opera, Firefox and IE, when an Attr's value is an empty string, the Attr node won't have any childNodes. The following 12 tests will see if this is true for WebKit for both parsed and dynamically-created Attr nodes. The tests use multipl e methods of changing the Attr's value and even test reverting from a non-empty value to an empty one to check that all childNodes were removed. Some of the tes ts make use of .textContent, so this test is not compatible with IE. Opera and F irefox both completely pass this test. 3 In Opera, Firefox and IE, when an Attr's value is an empty string, the Attr node won't have any childNodes. The following 12 tests will see if this is true for WebKit for both parsed and dynamically-created Attr nodes. The tests use multipl e methods of changing the Attr's value and even test reverting from a non-empty value to an empty one to check that all childNodes were removed. Some of the tes ts make use of .textContent, so this test is not compatible with IE. Opera and F irefox both completely pass this test.
5 4
6 SubTest 1 = PASS 5 SubTest 1 = PASS
7 SubTest 2 = PASS 6 SubTest 2 = PASS
8 SubTest 3 = PASS 7 SubTest 3 = PASS
9 SubTest 4 = PASS 8 SubTest 4 = PASS
10 SubTest 5 = PASS 9 SubTest 5 = PASS
11 SubTest 6 = PASS 10 SubTest 6 = PASS
12 SubTest 7 = PASS 11 SubTest 7 = PASS
13 SubTest 8 = PASS 12 SubTest 8 = PASS
14 SubTest 9 = PASS 13 SubTest 9 = PASS
15 SubTest 10 = PASS 14 SubTest 10 = PASS
16 Complete Test = PASS 15 Complete Test = PASS
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698