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

Unified Diff: LayoutTests/fast/masking/clip-path-inset-large-radii.html

Issue 839903003: [CSS Masking][CSS Shapes] Large corner radii use with inset() clip-path are not properly constrained (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 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/masking/clip-path-inset-large-radii.html
diff --git a/LayoutTests/fast/masking/clip-path-inset-large-radii.html b/LayoutTests/fast/masking/clip-path-inset-large-radii.html
new file mode 100644
index 0000000000000000000000000000000000000000..f49eb5c80f02ba0d23b8de5080eac1c1ff75d1b8
--- /dev/null
+++ b/LayoutTests/fast/masking/clip-path-inset-large-radii.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<style>
+ div {
+ width: 200px;
+ height: 150px;
+ background-color: blue;
+ -webkit-clip-path: inset(0px round 60%);
+ }
+</style>
+<body>
+ <p><a href="http://crbug.com/449638">Issue 449638</a> - [CSS Masking][CSS Shapes] Large corner radii use with inset() clip-path are not properly constrained</p>
+ <p>The radii for this inset should be constrained in the same way that border-radii are constrained. If this happens correctly, you should see a blue ellipse.</p>
+ <p>NOTE: we should have a reftest but currently comparing this clip-path with a border-radius expectation will show small pixel differences around the curve.</p>
+ <div></div>
+</body>
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/platform/linux/fast/masking/clip-path-inset-large-radii-expected.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698