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

Unified Diff: LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-image-vgap.html

Issue 63623002: [CSS Shapes] Image shape-outside with vertical gaps is handled incorrectly (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removed "-webkit" prefix from the test case Created 7 years, 1 month 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
« no previous file with comments | « no previous file | LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-image-vgap-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-image-vgap.html
diff --git a/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-image-vgap.html b/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-image-vgap.html
new file mode 100644
index 0000000000000000000000000000000000000000..66976ab241b458f3f4366c2786be9ea6b05a92a4
--- /dev/null
+++ b/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-image-vgap.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+ #content {
+ font-size: 30px;
+ color: green;
+ }
+
+ #image-shape {
+ float: left;
+ shape-outside: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100px' height='100px'><rect width='100' height='40'/><rect y='90' width='100' height='40'/></svg>");
+ }
+</style>
+</head>
+<body>
+ <p>The lines of text below should appear to the right of the blue rectangles.</p>
+ <div id="content">
+ <IMG id="image-shape" src="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100px' height='100px' fill='blue'><rect width='100' height='40'/><rect y='60' width='100' height='40'/></svg>">
+ One<br>Two<br>Free<br>Four
+ </div>
+</body>
+</html>
« no previous file with comments | « no previous file | LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-image-vgap-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698