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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/backgrounds/background-with-sub-pixel-offset-positioning.html

Issue 2103563002: Fix rounding of phase for background image (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Round the dest rect appropriately. Created 4 years, 5 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <style> 2 <style>
3 #float { 3 #float {
4 background: url('resources/bgimg1x50.png') 100% 0px no-repeat #FFF; 4 background: url('resources/bgimg1x50.png') 0% 0px no-repeat #FFF;
Stephen Chennney 2016/06/29 20:26:23 This test was wrong. With 100% position, the entir
5 height: 1px; 5 height: 1px;
6 width: 1.5px; 6 width: 1.5px;
7 position: relative; 7 position: relative;
8 left: 50px; 8 left: 50px;
9 transform: scale(50); 9 transform: scale(50);
10 } 10 }
11 #container { 11 #container {
12 margin-left: 1.5px; 12 margin-left: 1.5px;
13 overflow: hidden; 13 overflow: hidden;
14 width: 10px; 14 width: 10px;
15 height: 10px; 15 height: 10px;
16 } 16 }
17 </style> 17 </style>
18 <div id="container"> 18 <div id="container">
19 <div id="float"></div> 19 <div id="float"></div>
20 </div> 20 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698