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

Unified Diff: third_party/WebKit/LayoutTests/fast/shapes/shape-outside-floats/shape-overflow-hidden-left-margin.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.html
diff --git a/third_party/WebKit/LayoutTests/fast/shapes/shape-outside-floats/shape-overflow-hidden-left-margin.html b/third_party/WebKit/LayoutTests/fast/shapes/shape-outside-floats/shape-overflow-hidden-left-margin.html
new file mode 100644
index 0000000000000000000000000000000000000000..20fb4f157563656d133469fec9aa80e43f74c968
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/shapes/shape-outside-floats/shape-overflow-hidden-left-margin.html
@@ -0,0 +1,19 @@
+<!doctype html>
+<html>
+<head>
+<style>
+.logo {
+ width: 6em;
+ height: 6em;
+ background-color: gray;
+ float: left;
+ shape-outside: inset(1em 0px 0px 0px);
+}
+p { overflow: hidden; margin-left: 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