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

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

Issue 1713513002: Rename -webkit-text to -internal-quirk-inherit, limiting it to UA style (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase; add new (negative) test Created 4 years, 10 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
OLDNEW
(Empty)
1 <html>
2 <head>
3 <script src="../../resources/js-test.js"></script>
4 </head>
5 <body style="display:none">
6 <script type="text/javascript">
7 description("This test checks that setting display to none on the body element d oes not change -webkit-text.");
8
9 document.body.style.color = "green";
10
11 var d = document.createElement("div");
12 d.style.color = "-webkit-text";
13 document.documentElement.appendChild(d);
14
15 shouldBe("getComputedStyle(d).getPropertyValue('color')", "'rgb(0, 128, 0)'");
16 document.body.style.display = "block";
17 </script>
18 </body>
19 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698