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

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

Issue 839843004: [CSS Shapes] Properly shrink boxes to avoid shape-outside (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add vertical rl tests Created 5 years, 11 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/shapes/shape-outside-floats/shape-overflow-hidden-vertical.html
diff --git a/LayoutTests/fast/shapes/shape-outside-floats/shape-overflow-hidden-vertical.html b/LayoutTests/fast/shapes/shape-outside-floats/shape-overflow-hidden-vertical.html
new file mode 100644
index 0000000000000000000000000000000000000000..3ab0237fd63ef4916eccf1b3ef677b02d3842ee9
--- /dev/null
+++ b/LayoutTests/fast/shapes/shape-outside-floats/shape-overflow-hidden-vertical.html
@@ -0,0 +1,22 @@
+<!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; }
+</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