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

Unified Diff: LayoutTests/fast/shapes/shape-outside-floats/shape-outside-one-pixel.html

Issue 209303002: Revert "[CSS Shapes] clamp RasterShape shapeMargin to reference box size" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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-one-pixel-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-one-pixel.html
diff --git a/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-one-pixel.html b/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-one-pixel.html
deleted file mode 100644
index 551d1ced1d5282de70b66cc927e85687178dc2b2..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-one-pixel.html
+++ /dev/null
@@ -1,31 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<style>
- #content {
- font: 50px/1 Ahem, sans-serif;
- -webkit-font-smoothing: antialiased;
- color: green;
- }
- #image-shape {
- float: left;
- shape-outside: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='2px' height='2px'><rect width='1' height='1' fill='blue'/></svg>");
- shape-margin: 500px;
- margin-right: 50px;
- margin-bottom: 50px;
- width: 100px;
- height: 50px;
- }
-</style>
-</head>
-<body>
- <p>The shape-outside in this test is a 2x2 image with only the upper left pixel set. The shape
- element's margin-box is and the the shape-margin is big enough (is greater than 150 * sqrt(2))
- so that the shape-margin boundary extends beyond the margin-box's bounds. The shape-outside boundary
- is clipped to the margin-box, so it's as if the shape-outside was equal to the margin-box.</p>
- <div id="content">
- <div id="image-shape"></div>
- X<br>X
- </div>
-</body>
-</html>
« no previous file with comments | « no previous file | LayoutTests/fast/shapes/shape-outside-floats/shape-outside-one-pixel-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698