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

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

Issue 468503003: Remove FIXME in StyleResolver::styleForElement (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add test Created 6 years, 4 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
« no previous file with comments | « no previous file | LayoutTests/fast/css/webkit-text-display-none-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../resources/js-test.js"></script>
5 </head>
6 <body style="display:none">
7 <script type="text/javascript">
8 description("This test checks that setting display to none on the body element d oes not change -webkit-text.");
9
10 document.body.style.color = "green";
11
12 var d = document.createElement("div");
13 d.style.color = "-webkit-text";
14 document.documentElement.appendChild(d);
15
16 shouldBe("getComputedStyle(d).getPropertyValue('color')", "'rgb(0, 128, 0)'");
17 document.body.style.display = "block";
18 </script>
19 </body>
20 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/css/webkit-text-display-none-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698