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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/resize-mask.html

Issue 2457023002: Replace coversExtraPixels with simpler logic (Closed)
Patch Set: Rebaseline Created 4 years, 2 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/paint/invalidation/resize-mask-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/paint/invalidation/resize-mask.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/resize-mask.html b/third_party/WebKit/LayoutTests/paint/invalidation/resize-mask.html
new file mode 100644
index 0000000000000000000000000000000000000000..a9aee3d27f1d5ef0dae255c7e0238863e56a8437
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/resize-mask.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<style>
+#mask {
+ width: 100px;
+ height: 100px;
+ -webkit-mask-box-image: url(../../fast/backgrounds/resources/dot.png) 3;
+}
+#content {
+ width: 200px;
+ height: 200px;
+ background-color: green;
+}
+</style>
+<div id="mask">
+ <div id="content"></div>
+</div>
+<script src="../../resources/run-after-layout-and-paint.js"></script>
+<script>
+runAfterLayoutAndPaint(function() {
+ mask.style.width = '200px';
+}, true);
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/paint/invalidation/resize-mask-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698