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

Unified Diff: third_party/WebKit/LayoutTests/css3/background/background-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/background/background-repeat-round-content-expected.html
diff --git a/third_party/WebKit/LayoutTests/css3/background/background-repeat-round-content-expected.html b/third_party/WebKit/LayoutTests/css3/background/background-repeat-round-content-expected.html
index ae607705bba6424937f22c98757f1c0f67930ffd..44febce45bca36db27786d15fee0c8446c794e73 100644
--- a/third_party/WebKit/LayoutTests/css3/background/background-repeat-round-content-expected.html
+++ b/third_party/WebKit/LayoutTests/css3/background/background-repeat-round-content-expected.html
@@ -4,12 +4,15 @@
<style>
div
{
- width: 800px;
+ width: 802px;
height: 400px;
- padding: 50px;
+ /* The padding and width 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;
border: 50px solid transparent;
background-image: url(resources/circle.png);
- background-size: 73px 40px;
+ background-size: 72px 40px;
background-repeat: repeat;
background-origin: content-box;
background-clip: content-box;

Powered by Google App Engine
This is Rietveld 408576698