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

Unified Diff: third_party/WebKit/LayoutTests/compositing/overflow/empty-composited-child-of-border-radius-ancestor.html

Issue 2194273002: Fix border radius on composited children. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update the comment on why we say an empty div can paint Created 4 years 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: third_party/WebKit/LayoutTests/compositing/overflow/empty-composited-child-of-border-radius-ancestor.html
diff --git a/third_party/WebKit/LayoutTests/compositing/overflow/empty-composited-child-of-border-radius-ancestor.html b/third_party/WebKit/LayoutTests/compositing/overflow/empty-composited-child-of-border-radius-ancestor.html
new file mode 100644
index 0000000000000000000000000000000000000000..786c5ed46f41d064643dfb878985896c7fc603a5
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/compositing/overflow/empty-composited-child-of-border-radius-ancestor.html
@@ -0,0 +1,24 @@
+<style>
+.outermost {
+ border: 4px solid #000;
+ border-radius: 40px;
+ width: 200px;
+ height: 200px;
+ overflow: hidden;
+}
+
+.inner {
+ width: 200px;
+ height: 200px;
+ position: relative;
+ left: 50px;
+ top: 50px;
+ will-change: transform;
+}
+</style>
+
+<div class="outermost">
+ <div class="inner">
+ </div>
+</div>
+

Powered by Google App Engine
This is Rietveld 408576698