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

Unified Diff: LayoutTests/fast/shapes/shape-inside/shape-inside-rounded-rectangle-fit-002-expected.html

Issue 200633005: [CSS Shapes] Remove deprecated shapes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix test expectations 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-rounded-rectangle-fit-002-expected.html
diff --git a/LayoutTests/fast/shapes/shape-inside/shape-inside-rounded-rectangle-fit-002-expected.html b/LayoutTests/fast/shapes/shape-inside/shape-inside-rounded-rectangle-fit-002-expected.html
deleted file mode 100644
index 1608c0a38ab560101860dd9405cc90986a8fb87d..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/shapes/shape-inside/shape-inside-rounded-rectangle-fit-002-expected.html
+++ /dev/null
@@ -1,56 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script src="../resources/subpixel-utils.js"></script>
-<!--
-In this test the shape-inside shape is a rounded rectangle configured as a circle with radius of 100px.
-The shape-inside element contains a single square Ahem font character that just fits wthin the circle.
-That means that the character's size is sqrt(2)*100px, which is 141.41356px.
-
-The x and y coordinates of the points at which the square intersects the circle are half of the
-difference between circle's diameter and the size of the square: (200px - sqrt(2)*100px) / 2 = 29.2893219px.
--->
-<style>
-#shape-container {
- position: relative;
- display: inline-block;
- width: 200px;
- height: 200px;
- margin: 10px;
-}
-
-#shape-background {
- position: absolute;
- top: 0px;
- left: 0px;
- width: 200px;
- height: 200px;
- border-radius: 100px / 100px;
- background-color: rgb(200,200,200);
-}
-
-#shape-inside {
- position: absolute;
- top: 29.2893219px;
- left: 29.2893219px;
- width: 200px;
- height: 200px;
- font: 141.421356px/1 Ahem, sans-serif;
- color: green;
-}
-</style>
-</head>
-<body onload="init()">
-<script>
- function init() {
- if (!SubPixelLayout.isEnabled())
- document.getElementById("shape-inside").style.top = "30px";
- }
-</script>
-<p>The green rectangle should appear within the grey circle.</p>
-<div id="shape-container">
- <div id="shape-background"></div>
- <div id="shape-inside">X</div>
-</div>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698