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

Side by Side Diff: LayoutTests/fast/dom/Window/getMatchedCSSRules-with-invalid-pseudo-elements-expected.txt

Issue 764083002: Deprecate getMatchedCSSRules() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: update platform expectations Created 6 years 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: 'getMatchedCSSRules()' is deprecated. For more help, check http s://code.google.com/p/chromium/issues/detail?id=437569#c2
1 getMatchedCSSRules with invalid Pseudo Elements 2 getMatchedCSSRules with invalid Pseudo Elements
2 3
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 5
5 6
6 PASS getMatchedCSSRules(document.querySelector('p'), '')[0].cssText is "p { colo r: green; }" 7 PASS getMatchedCSSRules(document.querySelector('p'), '')[0].cssText is "p { colo r: green; }"
7 PASS getMatchedCSSRules(document.querySelector('p'), undefined)[0].cssText is "p { color: green; }" 8 PASS getMatchedCSSRules(document.querySelector('p'), undefined)[0].cssText is "p { color: green; }"
8 PASS getMatchedCSSRules(document.querySelector('p'), null)[0].cssText is "p { co lor: green; }" 9 PASS getMatchedCSSRules(document.querySelector('p'), null)[0].cssText is "p { co lor: green; }"
9 PASS getMatchedCSSRules(document.querySelector('p'))[0].cssText is "p { color: g reen; }" 10 PASS getMatchedCSSRules(document.querySelector('p'))[0].cssText is "p { color: g reen; }"
10 PASS getMatchedCSSRules(document.querySelector('p'), 'before') is null 11 PASS getMatchedCSSRules(document.querySelector('p'), 'before') is null
11 PASS getMatchedCSSRules(document.querySelector('p'), 'foo') is null 12 PASS getMatchedCSSRules(document.querySelector('p'), 'foo') is null
12 PASS getMatchedCSSRules(document.querySelector('div'), 'first-letter')[0].cssTex t is "div::first-letter { color: red; }" 13 PASS getMatchedCSSRules(document.querySelector('div'), 'first-letter')[0].cssTex t is "div::first-letter { color: red; }"
13 PASS getMatchedCSSRules(document.querySelector('div'), ':first-letter')[0].cssTe xt is "div::first-letter { color: red; }" 14 PASS getMatchedCSSRules(document.querySelector('div'), ':first-letter')[0].cssTe xt is "div::first-letter { color: red; }"
14 PASS getMatchedCSSRules(document.querySelector('div'), '::first-letter')[0].cssT ext is "div::first-letter { color: red; }" 15 PASS getMatchedCSSRules(document.querySelector('div'), '::first-letter')[0].cssT ext is "div::first-letter { color: red; }"
15 PASS successfullyParsed is true 16 PASS successfullyParsed is true
16 17
17 TEST COMPLETE 18 TEST COMPLETE
18 Test for https://bugs.webkit.org/show_bug.cgi?id=83298 19 Test for https://bugs.webkit.org/show_bug.cgi?id=83298
19 20
20 First letter of this sentence should be red. 21 First letter of this sentence should be red.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698