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

Side by Side Diff: LayoutTests/fast/shapes/shape-inside/shape-inside-sibling-block-dimension-change-needs-relayout.html

Issue 209443007: Remove shape-inside support (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove now unused segmentIsEmpty Created 6 years, 9 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 width: 400px;
7 height: 800px;
8 shape-inside: polygon(0 0, 100% 0, 100% 100%);
9 outline: 2px solid black;
10 }
11 .pad-first p:first-child{
12 padding-top: 100px;
13 }
14 </style>
15 <script>
16 // see shape-inside-dynamic-nested.html
17 window.onload = function() {
18 if (document.body)
19 document.body.offsetTop;
20 else if (document.documentElement)
21 document.documentElement.offsetTop;
22 layoutTest();
23 }
24 function layoutTest() {
25 document.querySelector('.content').setAttribute('class', 'content pad-first' );
26 }
27 </script>
28 </head>
29 <body>
30
31 <div class="content">
32 <p>Alice was beginning to get very tired of sitting by her sister on the
33 bank, and of having nothing to do: once or twice she had peeped into the
34 book her sister was reading, but it had no pictures or conversations in
35 it, 'and what is the use of a book,' thought Alice 'without pictures or
36 conversation?'</p>
37
38 <p>So she was considering in her own mind (as well as she could, for the
39 hot day made her feel very sleepy and stupid), whether the pleasure
40 of making a daisy-chain would be worth the trouble of getting up and
41 picking the daisies, when suddenly a White Rabbit with pink eyes ran
42 close by her.</p>
43 </div>
44 <p>
45 A triangle shape is defined through the left-top, right-top, right-bottom points of the rectangle.
46 The content should respect the shape-inside polygon boundaries after we applied the padding.</p>
47 <p>Bug <a href="http://webkit.org/b/112929 ">112929</a>: [CSS Exclusions] Increa sing padding does not correctly layout child blocks</p>
48 </body>
49 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698