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

Unified Diff: third_party/WebKit/LayoutTests/fast/shapes/shape-outside-floats/shape-overflow-hidden-left-margin-vertical.html

Issue 2380813002: [CSS Shapes] Properly shrink boxes to avoid shape-outside (Closed)
Patch Set: Reformat Created 4 years, 2 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: third_party/WebKit/LayoutTests/fast/shapes/shape-outside-floats/shape-overflow-hidden-left-margin-vertical.html
diff --git a/third_party/WebKit/LayoutTests/fast/shapes/shape-outside-floats/shape-overflow-hidden-left-margin-vertical.html b/third_party/WebKit/LayoutTests/fast/shapes/shape-outside-floats/shape-overflow-hidden-left-margin-vertical.html
new file mode 100644
index 0000000000000000000000000000000000000000..9c8a1ab6d4b479180fceb7c3406b0a73f8aafecb
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/shapes/shape-outside-floats/shape-overflow-hidden-left-margin-vertical.html
@@ -0,0 +1,23 @@
+<!doctype html>
+<html>
+<head>
+<style>
+body {
+ -webkit-writing-mode: vertical-rl;
+}
+.logo {
+ width: 6em;
+ height: 6em;
+ background-color: gray;
+ float: left;
+ shape-outside: inset(0px 1em 0px 0px);
+}
+p { overflow: hidden; margin-top: 3em; }
+</style>
+</head>
+<body>
+<div class="logo"></div>
+<p>This paragraph should be next to the grey box. This paragraph should be next to the grey box. This paragraph should be next to the grey box. This paragraph should be next to the grey box. This paragraph should be next to the grey box. This paragraph should be next to the grey box. This paragraph should be next to the grey box. This paragraph should be next to the grey box. This paragraph should be next to the grey box. This paragraph should be next to the grey box. This paragraph should be next to the grey box. This paragraph should be next to the grey box. This paragraph should be next to the grey box. This paragraph should be next to the grey box. This paragraph should be next to the grey box. This paragraph should be next to the grey box. This paragraph should be next to the grey box. This paragraph should be next to the grey box. This paragraph should be next to the grey box. This paragraph should be next to the grey box. This paragraph should be next to the grey box. This paragraph should be next to the grey box. This paragraph should be next to the grey box. This paragraph should be next to the grey box.</p>
+</body>
+</html>
+

Powered by Google App Engine
This is Rietveld 408576698