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

Side by Side Diff: LayoutTests/fast/regions/style-scoped/style-scoped-in-flow-override-region-styling-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 <head>
4 <style>
5 body {
6 font-family: monospace;
7 }
8 p {
9 margin: 0;
10 }
11
12 .container {
13 width: 13em;
14 height: 10em;
15 background-color: lightgray;
16 }
17
18 .light {
19 background-color: lightgreen;
20 }
21
22 .lime {
23 background-color: lime;
24 }
25
26 .green {
27 background-color: green;
28 }
29 </style>
30 </head>
31 <body>
32 Partial overlap, @region more specific than &lt;style scoped&gt; (@regio n style has rules for class and id, scoped style has rule for &lt;p&gt;)
33 <div class='container' id='r1'>
34 <p class='light'>Styled line of text</p>
35 <p class='light'>Styled line of text</p>
36 <p class='light'>Styled line of text</p>
37 </div>
38 Partial overlap, &lt;style scoped&gt; more specific than @region (@regio n style has rule for &lt;p&gt;, scoped style has rules for class and id)
39 <div class='container' id='r2'>
40 <p class='light'>Styled line of text</p>
41 <p class='lime'>Styled line of text</p>
42 <p class='green'>Styled line of text</p>
43 </div>
44 Overlap, @region and &lt;style scoped&gt;using the same selectors (both @region and scoped style have rules for &lt;p&gt;, class and id)
45 <div class='container' id='r3'>
46 <p class='light'>Styled line of text</p>
47 <p class='lime'>Styled line of text</p>
48 <p class='green'>Styled line of text</p>
49 </div>
50 </body>
51 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698