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

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

Issue 2386263002: Don't pixel-snap box size before applying transform to it. (Closed)
Patch Set: none 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 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') 0% 0px no-repeat #FFF; 4 background: url('resources/bgimg1x50.png') 0% 0px no-repeat #FFF;
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: 25px;
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