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: LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-outermost.html

Issue 23084002: Use the outermost float for shape-outside (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 4 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
« no previous file with comments | « no previous file | LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-outermost-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-outermost.html
diff --git a/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-outermost.html b/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-outermost.html
new file mode 100644
index 0000000000000000000000000000000000000000..db05c34117cf33a4432601bf1b05a98e14dfd89f
--- /dev/null
+++ b/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-outermost.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<style>
+ .container {
+ line-height: 100px;
+ font: 100px/1 Ahem;
+ }
+ .long {
+ float: left;
+ width: 100px;
+ height: 20px;
+ margin-bottom: 10px;
+ background-color: black;
+ -webkit-shape-outside: rectangle(0, 0, 50%, 100%);
+ }
+ .short {
+ float: left;
+ width: 50px;
+ height: 20px;
+ clear: left;
+ margin-bottom: 10px;
+ background-color: black;
+ }
+</style>
+<body>
+ <div class="container">
+ <div class="long"></div>
+ <div class="short"></div>
+ <div class="short"></div>
+ XXXX
+ </div>
+</body>
+
« no previous file with comments | « no previous file | LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-outermost-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698