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

Unified Diff: LayoutTests/fast/shapes/shape-inside/shape-inside-polygon-rounded-first-fit-expected.html

Issue 133123003: [CSS Shapes] First line gets incorrectly adjusted in shape-inside due to rounding (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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-inside/shape-inside-polygon-rounded-first-fit-expected.html
diff --git a/LayoutTests/fast/shapes/shape-inside/shape-inside-polygon-rounded-first-fit-expected.html b/LayoutTests/fast/shapes/shape-inside/shape-inside-polygon-rounded-first-fit-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..0ebb7f951aef70439125f81556000ccc2861c4de
--- /dev/null
+++ b/LayoutTests/fast/shapes/shape-inside/shape-inside-polygon-rounded-first-fit-expected.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+.shape-inside {
+ position: absolute;
+ top: 0;
+ left:0;
+ width: 56px;
+ height: 88px;
+ padding-top: 12px;
+ padding-left: 44px;
+ background-color: green;
+}
+</style>
+</head>
+<body>
+<div class="shape-inside"></div>
+<p style="margin-top: 120px;">There is a triangle shape-inside applied on the green box.
+The content should be inside the shape-inside. You should not see any red.</p>
+<p>Issue <a href="https://code.google.com/p/chromium/issues/detail?id=333423">333423</a>: [CSS Shapes] First line gets incorrectly adjusted in shape-inside due to rounding in some polygons</p>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698