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

Unified Diff: third_party/WebKit/LayoutTests/css3/masking/mask-repeat-round-content-expected.html

Issue 1456813002: Calculate Background Image Geometries using sub-pixel values (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: MOAR expectations Created 5 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/css3/masking/mask-repeat-round-content-expected.html
diff --git a/third_party/WebKit/LayoutTests/css3/masking/mask-repeat-round-content-expected.html b/third_party/WebKit/LayoutTests/css3/masking/mask-repeat-round-content-expected.html
index 101c12a5ec8f932a6d0faf4c36cd5ef22316866d..d5eec097abdc1ba0eac1494944d1442c997f3293 100644
--- a/third_party/WebKit/LayoutTests/css3/masking/mask-repeat-round-content-expected.html
+++ b/third_party/WebKit/LayoutTests/css3/masking/mask-repeat-round-content-expected.html
@@ -12,9 +12,12 @@
height: 400px;
background-color: red;
border: 50px solid blue;
- padding: 50px;
+ /* The padding and values differ here from the test case due
+ to sub-pixel rounding differences in the way the background
+ image phases are calculated in the repeat vs round cases. */
+ padding: 50px 49px;
-webkit-mask-image: url(resources/circle.png);
- -webkit-mask-size: 73px 40px;
+ -webkit-mask-size: 72px 40px;
-webkit-mask-repeat: repeat;
-webkit-mask-origin: content-box;
-webkit-mask-clip: content-box;

Powered by Google App Engine
This is Rietveld 408576698