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

Unified Diff: LayoutTests/fast/regions/shape-inside/shape-inside-on-second-region-inline-content-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-second-region-inline-content-expected.html
diff --git a/LayoutTests/fast/regions/shape-inside/shape-inside-on-second-region-inline-content-expected.html b/LayoutTests/fast/regions/shape-inside/shape-inside-on-second-region-inline-content-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..15e94eb3bd5e1c5a06302226929648df7e7e8653
--- /dev/null
+++ b/LayoutTests/fast/regions/shape-inside/shape-inside-on-second-region-inline-content-expected.html
@@ -0,0 +1,43 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+ .region {
+ font: 20px Ahem, sans-serif;
+ float: left;
+ margin-right: 10px;
+ width: 300px;
+ height: 300px;
+ background-color: yellow;
+ overflow: hidden;
+ border: 1px solid black;
+ }
+ #shape_inside { background-color: orange; }
+ #placeholder {
+ float: left;
+ width: 50px;
+ height: 300px;
+ }
+</style>
+</head>
+<body>
+
+<div class="region">
+ Despite the passage of time, Major Quilan still suffers grief and bereavement from the death of his wife, killed during the Chelgrian civil war that resulted from the Culture's
+interference. Quilan is
+</div>
+<div id="shape_inside" class="region">
+ <div id="placeholder"></div>
+ 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. As part of the plot, his
+</div>
+<div class="region" style="float: none">
+ "soulkeeper" (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 devicethat can
+ transport wormholes connected to weapons caches. Quilan is then sent to Masaq' Orbital, ostensibly to persuade Mahrai Ziller to return to his native 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.
+</div>
+
+<p>Requires Ahem font. The inline content flows into three regions, a 250x300px rectangle shape-inside property with 50px left offset is applied to the second (orange) region. The content should have a 50px left offset in the orange rectangle and should flow into the third rectangle without any offset.<br/>
+<p>Bug <a href="http://webkit.org/b/115456">115456</a>: [CSS Regions][CSS Exclusions] Shape-inside on regions should respect region borders and paddings</p>
+
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698