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

Side by Side Diff: LayoutTests/fast/css/webkit-text-display-none.html

Issue 1216523006: Only allow the -webkit-text color keyword in quirks/UA-sheet mode (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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
« no previous file with comments | « no previous file | Source/core/css/parser/CSSParserFastPaths.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html>
2 <html> 1 <html>
3 <head> 2 <head>
4 <script src="../../resources/js-test.js"></script> 3 <script src="../../resources/js-test.js"></script>
5 </head> 4 </head>
6 <body style="display:none"> 5 <body style="display:none">
7 <script type="text/javascript"> 6 <script type="text/javascript">
8 description("This test checks that setting display to none on the body element d oes not change -webkit-text."); 7 description("This test checks that setting display to none on the body element d oes not change -webkit-text.");
9 8
10 document.body.style.color = "green"; 9 document.body.style.color = "green";
11 10
12 var d = document.createElement("div"); 11 var d = document.createElement("div");
13 d.style.color = "-webkit-text"; 12 d.style.color = "-webkit-text";
14 document.documentElement.appendChild(d); 13 document.documentElement.appendChild(d);
15 14
16 shouldBe("getComputedStyle(d).getPropertyValue('color')", "'rgb(0, 128, 0)'"); 15 shouldBe("getComputedStyle(d).getPropertyValue('color')", "'rgb(0, 128, 0)'");
17 document.body.style.display = "block"; 16 document.body.style.display = "block";
18 </script> 17 </script>
19 </body> 18 </body>
20 </html> 19 </html>
OLDNEW
« no previous file with comments | « no previous file | Source/core/css/parser/CSSParserFastPaths.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698