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

Unified Diff: LayoutTests/fast/shapes/shape-outside-floats/shape-outside-polygon-zero-vertex-expected.html

Issue 264453009: [CSS Shapes] shape-outside polygon can fail when line-top intersects a vertex (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove -webkit-font-smoothing Created 6 years, 8 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-outside-polygon-zero-vertex-expected.html
diff --git a/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-polygon-zero-vertex-expected.html b/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-polygon-zero-vertex-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..faa07a52d611144c7fad07bd94df420867890e9e
--- /dev/null
+++ b/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-polygon-zero-vertex-expected.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<style>
+#container {
+ width: 400px;
+ text-align: right;
+ font: 50px/1 Ahem, sans-serif;
+ -webkit-font-smoothing: antialiased;
+ color: rgba(0, 255, 0, 0.5);
+}
+
+#shape1 {
+ float: right;
+ width: 200px;
+ height: 100px;
+ background-color: blue;
+}
+
+#shape2 {
+ clear: right;
+ float: right;
+ width: 100px;
+ height: 100px;
+ background-color: blue;
+}
+</style>
+
+<p>The green rectangles should wrap around the left edge of the blue shape.</p>
+<div id="container">
+ <div id="shape1"></div>
+ <div id="shape2"></div>
+ X<br>X<br>X<br>X<br>X
+</div>

Powered by Google App Engine
This is Rietveld 408576698