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

Side by Side Diff: LayoutTests/fast/css/css3-nth-tokens-script-expected.txt

Issue 16818023: DOMException toString is not correct (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 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 This test passes if the nth-of-type can accept a parameter that is an+b, odd or even. But it does not accept any other parameter. 1 This test passes if the nth-of-type can accept a parameter that is an+b, odd or even. But it does not accept any other parameter.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 debug("These spans should alternate red and green"); 6 debug("These spans should alternate red and green");
7 span span span span span span span span 7 span span span span span span span span
8 debug("These spans should alternate red and green"); 8 debug("These spans should alternate red and green");
9 span span span span span span span span 9 span span span span span span span span
10 debug("These spans should be black"); 10 debug("These spans should be black");
11 span span span span span span span span 11 span span span span span span span span
12 debug("These spans should be black"); 12 debug("These spans should be black");
13 span span span span span span span span 13 span span span span span span span span
14 14
15 PASS document.defaultView.getComputedStyle(el, null).getPropertyValue('color') i s 'rgb(255, 0, 0)' 15 PASS document.defaultView.getComputedStyle(el, null).getPropertyValue('color') i s 'rgb(255, 0, 0)'
16 PASS document.defaultView.getComputedStyle(el, null).getPropertyValue('color') i s 'rgb(0, 128, 0)' 16 PASS document.defaultView.getComputedStyle(el, null).getPropertyValue('color') i s 'rgb(0, 128, 0)'
17 PASS document.defaultView.getComputedStyle(el, null).getPropertyValue('color') i s 'rgb(255, 0, 0)' 17 PASS document.defaultView.getComputedStyle(el, null).getPropertyValue('color') i s 'rgb(255, 0, 0)'
18 PASS document.defaultView.getComputedStyle(el, null).getPropertyValue('color') i s 'rgb(0, 128, 0)' 18 PASS document.defaultView.getComputedStyle(el, null).getPropertyValue('color') i s 'rgb(0, 128, 0)'
19 PASS document.querySelector("span.c3:nth-of-type(n3)") threw exception Error: Sy ntaxError: DOM Exception 12. 19 PASS document.querySelector("span.c3:nth-of-type(n3)") threw exception SyntaxErr or: An invalid or illegal string was specified..
20 PASS document.querySelector("span.c3:nth-of-type(foo)") threw exception Error: S yntaxError: DOM Exception 12. 20 PASS document.querySelector("span.c3:nth-of-type(foo)") threw exception SyntaxEr ror: An invalid or illegal string was specified..
21 PASS document.querySelector("span.c3:nth-of-type(2n3)") threw exception Error: S yntaxError: DOM Exception 12. 21 PASS document.querySelector("span.c3:nth-of-type(2n3)") threw exception SyntaxEr ror: An invalid or illegal string was specified..
22 PASS document.querySelector("span.c3:nth-of-type(foon + bar)") threw exception E rror: SyntaxError: DOM Exception 12. 22 PASS document.querySelector("span.c3:nth-of-type(foon + bar)") threw exception S yntaxError: An invalid or illegal string was specified..
23 PASS successfullyParsed is true 23 PASS successfullyParsed is true
24 24
25 TEST COMPLETE 25 TEST COMPLETE
26 26
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/css3-nth-tokens-script.html ('k') | LayoutTests/fast/css/getFloatValueForUnit.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698