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

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