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

Unified Diff: LayoutTests/fast/shapes/shape-inside/shape-inside-rounded-rectangle-large-radius.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-large-radius.html
diff --git a/LayoutTests/fast/shapes/shape-inside/shape-inside-rounded-rectangle-large-radius.html b/LayoutTests/fast/shapes/shape-inside/shape-inside-rounded-rectangle-large-radius.html
deleted file mode 100644
index cafc0123641c383414d21740745726d6d1acee0a..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/shapes/shape-inside/shape-inside-rounded-rectangle-large-radius.html
+++ /dev/null
@@ -1,46 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<style>
- /* 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: 20 * sqrt(2) == 28.28.
- */
- .shape-inside {
- width: 40px;
- height: 40px;
- font: 28.28px/1 Ahem, sans-serif;
- color: green;
- border: 1px solid blue;
- border-radius: 20px;
- }
- .fixed-units {
- shape-inside: rectangle(0px, 0px, 40px, 40px, 40px, 40px);
- }
- .different-units {
- shape-inside: rectangle(0px, 0px, 40px, 40px, 100%, 100%);
- }
- .relative-units {
- shape-inside: rectangle(0px, 0px, 100%, 100%, 700em, 700em);
- }
- .edge-case {
- shape-inside: rectangle(0px, 0px, 100%, 100%, 50%, 50%);
- }
-</style>
-</head>
-<body>
- <h1>Bug <a href="https://bugs.webkit.org/show_bug.cgi?id=116745">116745</a>: [CSS Shapes] rectangle and inset-rectangle do not properly handle rx and ry</h1>
- <h2>Test that if rx > 50% width and ry > 50% height, they are properly clamped to 50% of the respective dimension when doing layout on the shape. All of the following tests should look identical, and the blue circle should wrap around the green square.</h2>
- <div class="shape-inside fixed-units">
- X
- </div>
- <div class="shape-inside different-units">
- X
- </div>
- <div class="shape-inside relative-units">
- X
- </div>
- <div class="shape-inside edge-case">
- X
- </div>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698