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

Side by Side Diff: LayoutTests/fast/regions/shape-inside/shape-inside-on-second-region-block-content.html

Issue 60873002: Removing the -webkit prefix from CSS Regions-Shapes tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script> 4 <script>
5 if (window.internals) 5 if (window.internals)
6 window.internals.settings.setCSSExclusionsEnabled(true); 6 window.internals.settings.setCSSExclusionsEnabled(true);
7 </script> 7 </script>
8 <style> 8 <style>
9 #content { 9 #content {
10 font: 18px Ahem, sans-serif; 10 font: 18px Ahem, sans-serif;
11 line-height: 20px; 11 line-height: 20px;
12 -webkit-flow-into: flow; 12 -webkit-flow-into: flow;
13 } 13 }
14 .region { 14 .region {
15 float: left; 15 float: left;
16 margin-right: 10px; 16 margin-right: 10px;
17 width: 300px; 17 width: 300px;
18 height: 300px; 18 height: 300px;
19 background-color: yellow; 19 background-color: yellow;
20 overflow: hidden; 20 overflow: hidden;
21 border: 1px solid black; 21 border: 1px solid black;
22 -webkit-flow-from: flow; 22 -webkit-flow-from: flow;
23 } 23 }
24 #shape_inside { 24 #shape_inside {
25 -webkit-shape-inside: rectangle(50px, 0px, 250px, 300px); 25 shape-inside: rectangle(50px, 0px, 250px, 300px);
26 background-color: orange; 26 background-color: orange;
27 } 27 }
28 </style> 28 </style>
29 </head> 29 </head>
30 <body> 30 <body>
31 31
32 <div class="region"></div> 32 <div class="region"></div>
33 <div id="shape_inside" class="region"></div> 33 <div id="shape_inside" class="region"></div>
34 <div class="region" style="float: none"></div> 34 <div class="region" style="float: none"></div>
35 35
36 <div id="content"> 36 <div id="content">
37 <p>Despite the passage</p> of time, Major Quilan still suffers grief and ber eavement from the death of his wife, killed during the Chelgrian civil war that resulted from the Culture's interference. 37 <p>Despite the passage</p> of time, Major Quilan still suffers grief and ber eavement from the death of his wife, killed during the Chelgrian civil war that resulted from the Culture's interference.
38 <p>Quilan is offered the chance to avenge the lost Chelgrians who died in the civil war and is inducted into a plot to strike back at the Culture.</p> 38 <p>Quilan is offered the chance to avenge the lost Chelgrians who died in the civil war and is inducted into a plot to strike back at the Culture.</p>
39 <p>As part of the plot, his 39 <p>As part of the plot, his
40 <p>"soulkeeper"</p> 40 <p>"soulkeeper"</p>
41 (a device normally used to store its owner's personality upon their death) is equipped with both the mind of a long-dead Chelgrian general and a dev ice that can transport wormholes connected to weapons caches. Quilan is then sen t to Masaq' Orbital, ostensibly to persuade Mahrai Ziller to return to his nativ e Chel but is in reality on a suicide mission to destroy the Orbital's Hub Mind. To protect him from detection at Masaq', Quilan's memory is selectively blanked until he reaches his target. 41 (a device normally used to store its owner's personality upon their death) is equipped with both the mind of a long-dead Chelgrian general and a dev ice that can transport wormholes connected to weapons caches. Quilan is then sen t to Masaq' Orbital, ostensibly to persuade Mahrai Ziller to return to his nativ e Chel but is in reality on a suicide mission to destroy the Orbital's Hub Mind. To protect him from detection at Masaq', Quilan's memory is selectively blanked until he reaches his target.
42 </p> 42 </p>
43 </p> 43 </p>
44 </div> 44 </div>
45 45
46 <p>Requires Ahem font.The block content - contains multiple nested blocks - flow s into three regions, a 250x300px rectangle shape-inside property with 50px left offset is applied to the second (orange) region. The content should have a 50px left offset in the orange rectangle and should flow into the third rectangle wi thout any offset.<br/> 46 <p>Requires Ahem font.The block content - contains multiple nested blocks - flow s into three regions, a 250x300px rectangle shape-inside property with 50px left offset is applied to the second (orange) region. The content should have a 50px left offset in the orange rectangle and should flow into the third rectangle wi thout any offset.<br/>
47 <p>Bug <a href="http://webkit.org/b/115456">115456</a>: [CSS Regions][CSS Exclus ions] Shape-inside on regions should respect region borders and paddings</p> 47 <p>Bug <a href="http://webkit.org/b/115456">115456</a>: [CSS Regions][CSS Exclus ions] Shape-inside on regions should respect region borders and paddings</p>
48 48
49 </body> 49 </body>
50 </html> 50 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698