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

Side by Side Diff: LayoutTests/fast/sub-pixel/sub-pixel-transparency-layer-expected.html

Issue 180163008: Fix sub-pixel handling of transparency layers (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix and removed test expectations Created 6 years, 9 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
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 #subPixelContainer {
6 width: 101px;
7 height: 100px;
8 position: relative;
9 }
10 #subPixelContainer > div {
11 position: absolute;
12 width: 50px;
13 right: 0px;
14 height: 50px;
15 background-color: red;
16 }
17 #test {
18 opacity: 0.99;
19 position: relative;
20 height: 50px;
21 top: 0px;
22 padding: 0;
23 background-color: green;
24 }
25 </style>
26 </head>
27 <body>
28 <div>This tests that transparency layers are properly aligned when on sub-pixel offsets. You should see no red.</div>
29 <div id="subPixelContainer">
30 <div><div id="test"></div></div>
31 </div>
OLDNEW
« no previous file with comments | « LayoutTests/fast/sub-pixel/sub-pixel-transparency-layer.html ('k') | Source/core/rendering/RenderLayer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698