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

Unified Diff: LayoutTests/fast/shapes/shape-outside-floats/shape-outside-image-shape-margin.html

Issue 635533003: Don't delete nodes in the float interval tree while traversing it. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add correct png! Created 6 years, 2 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-image-shape-margin.html
diff --git a/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-image-shape-margin.html b/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-image-shape-margin.html
deleted file mode 100644
index 955defa60f414ed6181b67c4ffc58abde7836193..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-image-shape-margin.html
+++ /dev/null
@@ -1,71 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <title>CSS Test: Image shape with margin-right + shape-margin on a left float</title>
- <link rel="author" title="Rebecca Hauck" href="rhauck@adobe.com"/>
- <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#shapes-from-image"/>
- <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#shape-outside-property"/>
- <link rel="help" href="http://www.w3.org/TR/css-shapes/#shape-margin-property"/>
- <meta name="flags" content="ahem image"/>
- <meta name="assert" content="This test verifies that the image shape that defines the float
- area is clipped to the float's margin box and respects the
- shape-margin extending beyond the margin-left, causing the
- text to be pushed below the defined shape."/>
- <style type="text/css">
- #outer {
- position: relative;
- width: 100px;
- height: 250px;
- }
- .container {
- position: relative;
- font-family: Ahem;
- font-size: 50px;
- line-height: 50px;
- }
- #test {
- width: 100px;
- height: 100px;
- color: rgb(0, 100, 0);
- }
- #shape-div {
- float: left;
- width: 50px;
- height: 180px;
- shape-margin: 20px;
- shape-outside: url(../resources/square.png);
- margin-right: 10px;
- }
- #ref {
- position: absolute;
- top: 120px;
- }
- #line {
- width: 100px;
- height: 1px;
- background-color: black;
- }
- #failure {
- width: 50px;
- height: 99px;
- background-color: red;
- z-index: -1;
- }
- </style>
-</head>
-<body>
- <p>
- The test passes if the green rectangle is below the line. There should be no red.
- </p>
- <div id="outer">
- <div id="ref">
- <div id="line"></div>
- <div id="failure"></div>
- </div>
- <div id="test" class="container">
- <div id="shape-div"></div>
- x x
- </div>
- </div>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698