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

Side by Side Diff: LayoutTests/fast/regions/region-styling/region-style-image-background-color.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 Test for https://bugs.webkit.org/show_bug.cgi?id=71488 (Add support for back ground-color in region styling).
5 You should not see any red background below.
6 -->
7 <head>
8 <style>
9 @font-face {
10 font-family: webkit-ahem;
11 font-style: normal;
12 src: url(../../../resources/Ahem.ttf);
13 }
14
15 p { background-color: red; font-family: webkit-ahem; }
16 img { background-color: red}
17 .regionBox2 { width: 300px; height: 100px; }
18
19 #article { -webkit-flow-into: flow; }
20 #region { -webkit-flow-from: flow; position: absolute; top: 10px; }
21 @-webkit-region #region {
22 p { background-color: green; }
23 img { background-color: green; }
24 }
25 </style>
26 </head>
27 <body>
28 <div id="article">
29 <!-- Green background text styled in region. -->
30 <p>R: 00 G: 80 B: 00</p>
31 <img src="resources/transparent.png">
32 </div>
33 <div id="region" class="regionBox2"></div>
34 </body>
35 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698