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

Side by Side Diff: LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-layout-after-initial-layout-pass.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 .shape-outside {
6 float: left;
7 width: 100px;
8 height: 100px;
9 background-color: green;
10 shape-outside: rectangle(0px, 0px, 50%, 100%);
11 }
12 #content {
13 font: 25px/1 Ahem, sans-serif;
14 -webkit-flow-into: flow;
15 }
16 #region {
17 position: absolute;
18 top: 0px;
19 left:0px;
20 width: 200px;
21 -webkit-flow-from: flow;
22 }
23 </style>
24 </head>
25 <body>
26 <div id="region"></div>
27 <div id="content"></div>
28 </body>
29
30 <script>
31 document.body.offsetTop; // Force layout
32 var div = document.getElementById('content');
33 div.innerHTML = '<p><div class="shape-outside"></div>XXXX XXXX XXXX XXXX</p> ';
34 </script>
35
36 <p style="margin-top: 150px;">
37 There is a green left floating container with shape-outside (50px wide, 100p x tall) and inline content (black rectangle). The whole content flows into a reg ion.
38 The black rectangle should respect the shape-outside, thus the black rectang le should have 50px left offset, which is represented by the green rectangular a rea.
39 </p>
40 <p>Bug <a href="http://webkit.org/b/114829">114829</a>: [CSS Regions][CSS Shapes ] Content in region doesn't respect shape-outside after initial layout pass</p>
41 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698