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

Side by Side Diff: LayoutTests/fast/regions/shape-inside/shape-inside-on-first-region-block-content.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 {
6 font: 20px Ahem, sans-serif;
7 -webkit-flow-into: flow;
8 }
9 .region {
10 float: left;
11 margin-right: 10px;
12 width: 300px;
13 height: 300px;
14 background-color: yellow;
15 overflow: hidden;
16 border: 1px solid black;
17 -webkit-flow-from: flow;
18 }
19 #shape_inside {
20 shape-inside: rectangle(50px, 0px, 250px, 300px);
21 background-color: orange;
22 }
23 </style>
24 </head>
25 <body>
26
27 <div id="shape_inside" class="region"></div>
28 <div class="region" style="float: none;"></div>
29
30 <div id="content">
31 <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.
32 <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>
33 <p>As part of the plot, his
34 <p>"soulkeeper"</p>
35 (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.
36 </p>
37 </p>
38 </div>
39
40 <p>Requires Ahem font. The block content - contains multiple nested blocks - flo ws into two regions, a 250x300px rectangle shape-inside property with 50px left offset is applied to the first (orange) region. The content should have a 50px l eft offset in the orange rectangle and should flow into the second rectangle wit hout any offset.<br/>
41 <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>
42
43 </body>
44 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698