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

Unified Diff: LayoutTests/fast/shapes/shape-inside/shape-inside-percentage-expected.html

Issue 19865002: [CSS Shapes] Port shape-inside on regions and shape's content overflow from WebKit (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: [CSS Shapes] Port shape-inside on regions and shape's content overflow from WebKit Created 7 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/shapes/shape-inside/shape-inside-percentage-expected.html
diff --git a/LayoutTests/fast/shapes/shape-inside/shape-inside-percentage-expected.html b/LayoutTests/fast/shapes/shape-inside/shape-inside-percentage-expected.html
index 5f707ab25adcd777601045166bc66c9c354c404a..1adb88ceeca89e6201de192177f1fcd7a664543b 100644
--- a/LayoutTests/fast/shapes/shape-inside/shape-inside-percentage-expected.html
+++ b/LayoutTests/fast/shapes/shape-inside/shape-inside-percentage-expected.html
@@ -3,10 +3,13 @@
<head>
<style>
#container {
+ font: 20px Ahem, sans-serif;
+ line-height: 20px;
border: 2px solid blue;
position: relative;
width: 200px;
height: 200px;
+ margin-bottom: 60px;
}
#border {
position: absolute;
@@ -27,9 +30,13 @@
<div id="shape-inside">
<div class="spacer" style="float:left"></div>
<div class="spacer" style="float:right"></div>
- This text should wrap inside the green rectangle, and overflow should wrap
- inside the blue rectangle.
+ X X X X X X
+ </div>
+ <div style="padding-top: 160px;">
+ X X X X X X X X X X
</div>
</div>
+ <p>Requires Ahem font. The content should start inside the green rectangle (shape-inside) and the overflow should be pushed below the content box (content-box's margin is blue). <br/>
+ <p>Bug <a href="http://webkit.org/b/114526">114526</a>: [CSS Exclusions] shape-inside overflow should be pushed to the outside of the content box</p>
</body>
-</html>
+</html>

Powered by Google App Engine
This is Rietveld 408576698