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

Unified Diff: LayoutTests/fast/shapes/shape-inside/shape-inside-circle-expected.html

Issue 209443007: Remove shape-inside support (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove now unused segmentIsEmpty 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
Index: LayoutTests/fast/shapes/shape-inside/shape-inside-circle-expected.html
diff --git a/LayoutTests/fast/shapes/shape-inside/shape-inside-circle-expected.html b/LayoutTests/fast/shapes/shape-inside/shape-inside-circle-expected.html
deleted file mode 100644
index 71f82327119c580760e1a6d5b0e40b1b45e591c7..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/shapes/shape-inside/shape-inside-circle-expected.html
+++ /dev/null
@@ -1,51 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script src="../resources/subpixel-utils.js"></script>
-<style>
- #shape-inside {
- position: relative;
- }
-
- #shape-outline {
- position: absolute;
- top: 0px;
- left: 0px;
- width: 400px;
- height: 400px;
- }
-
- /* The size of a square that just fits within a circle of radius r is r * sqrt(2). In this
- case that's the size of one Ahem character: 100 * sqrt(2) == 141.42.
-
- The left and top edges of a square that just fits within a circle of radius r are offset
- by r - (r * sqrt(2)) / 2, which is 29.289 for r = 100. The center of the circle is at 200,200
- so the top and left edges of the square are 129.289.
- */
- #shape-content {
- position: absolute;
- top: 129.289px;
- left: 129.289px;
- font: 141.42px/1 Ahem, sans-serif;
- color: green;
- }
-</style>
-</head>
-<body>
- <div id="shape-inside">
- <div id="shape-content">X</div>
- <svg id="shape-outline" xmlns="http://www.w3.org/2000/svg">
- <circle cx="200" cy="200" r="100" stroke="blue" fill="none"/>
- </svg>
- </div>
-</body>
-
-<script>
-// The ExclusionShape::firstIncludedIntervalLogicalTop() methods use ceiledLayoutUnit() to ensure that their
-// return value is within the shape. If subpixel layout is disabled, that's the same as just ceil(), which
-// move the top of the "shape-content" div to ceil(129.289) = 130.
-if (!SubPixelLayout.isEnabled())
- document.getElementById("shape-content").style.top = "130px";
-</script>
-
-</html>

Powered by Google App Engine
This is Rietveld 408576698