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

Side by Side Diff: LayoutTests/fast/regions/region-styling/region-style-inline-background-color-expected.html

Issue 159933010: Remove everything region-specific from LayoutTests. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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 <!doctype html>
2 <html>
3 <!--
4 Ref test for https://bugs.webkit.org/show_bug.cgi?id=71488 (Add support for background-color in region styling).
5 Setting the background color is not enabled for inline elements.
6 You should not see any red background below.
7 -->
8 <head>
9 <style>
10 @font-face {
11 font-family: webkit-ahem;
12 font-style: normal;
13 src: url(../../../resources/Ahem.ttf);
14 }
15
16 .regionBox { width: 300px; height: 50px; }
17 span { font-family: webkit-ahem; -webkit-font-smoothing: none; }
18
19 #article1 { position: absolute; top: 10px; }
20 #span1 { background-color: green; }
21 @-webkit-region #region1 { #span1 { background-color: red; } }
22
23 #article2 { position: absolute; top: 70px; }
24 #span2 { display: block; background-color: green; }
25 @-webkit-region #region2 { #span2 { background-color: red; } }
26 </style>
27 </head>
28 <body>
29 <div id="article1" class="regionBox">
30 <span id="span1">R: 00 G: 80 B: 00</span>
31 </div>
32
33 <div id="article2" class="regionBox">
34 <span id="span2">R: 00 G: 80 B: 00</span>
35 </div>
36 <script>
37 document.getElementById("span2").style.display = "inline";
38 </script>
39 </body>
40 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698