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

Unified Diff: LayoutTests/fast/regions/shape-inside/shape-inside-on-regions-block-content-basic-overflow-shape-top-offset-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/regions/shape-inside/shape-inside-on-regions-block-content-basic-overflow-shape-top-offset-expected.html
diff --git a/LayoutTests/fast/regions/shape-inside/shape-inside-on-regions-block-content-basic-overflow-shape-top-offset-expected.html b/LayoutTests/fast/regions/shape-inside/shape-inside-on-regions-block-content-basic-overflow-shape-top-offset-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..8ad224c10d0363ffa868b72a3dbe5dc9fb810e3e
--- /dev/null
+++ b/LayoutTests/fast/regions/shape-inside/shape-inside-on-regions-block-content-basic-overflow-shape-top-offset-expected.html
@@ -0,0 +1,32 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+ <style>
+ #rectangle {
+ font: 20px Ahem, sans-serif;
+ -webkit-font-smoothing: none;
+ line-height: 20px;
+ width: 200px;
+ height: 200px;
+ border: 2px solid green;
+ }
+ #border {
+ position: relative;
+ top: 48px;
+ left: 48px;
+ width: 100px;
+ height: 100px;
+ border: 2px solid blue;
+ }
+ #overflow { margin-top: 96px;}
+ </style>
+</head>
+<body>
+ <div id="rectangle">
+ <div id="border">X X<p> X<p> X</p></p></div>
+ <div id="overflow"><p>X X X X X X X X X X X X X X X X X X X</p></div>
+ </div>
+ <p style="margin-top: 100px;">Requires Ahem font. The shape-inside on the region is illustrated by the blue rectangle. The content should wrap inside the the blue rectangle, the overflow should start on the left under the content box.</p>
+ <p>Bug <a href="http://webkit.org/b/116252">116252</a> [CSS Regions][CSS Exclusions] shape-inside on regions should respect positioned shapes and overflow</p>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698