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

Side by Side Diff: LayoutTests/fast/regions/webkit-background-clip-text.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 <head>
4 <style>
5 #content-for-regions {
6 -webkit-flow-into: flow;
7
8 color: transparent;
9 font-size: 100px;
10 font-family: Ahem;
11 }
12 .region {
13 -webkit-flow-from: flow;
14 -webkit-background-clip: text;
15
16 width: 400px;
17 height: 100px;
18 border: 1px solid black;
19 }
20 #region-1 {
21 background-color: green;
22 }
23 #region-2 {
24 background-color: blue;
25 margin-top: 10px;
26 }
27 </style>
28 </head>
29 <body>
30 <p>This test verifies that -webkit-background-clip: text applies correctly i n regions.</p>
31 <p>This test passes if there are two regions, with the following appearance: </p>
32 <ul>
33 <li>Each region has black border.</li>
34 <li>Each region contains two square characters, separated by a space.</l i>
35 <li>The first region's square characters are green because they clip the region's green background.</li>
36 <li>The second region's square characters are blue because they clip the region's blue background.</li>
37 </ul>
38 <div id="content-for-regions">x x x x</div>
39 <div id="region-1" class="region"></div>
40 <div id="region-2" class="region"></div>
41 </body>
42 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698