Upstream version 5.34.98.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / regions / region-styling / region-style-image-background-color-expected.html
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 enabled for block elements only.
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             p { background-color: green; font-family: webkit-ahem; }
17             img { background-color: green}
18             .regionBox2 { width: 300px; height: 100px; }
19
20             #article { position: absolute; top: 10px; }
21         </style>
22     </head>
23     <body>
24         <div id="article" class="regionBox2">
25             <!-- Green background text styled in region. -->
26             <p>R: 00 G: 80 B: 00</p>
27             <img src="resources/transparent.png">
28         </div>
29     </body>
30 </html>