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

Unified Diff: third_party/WebKit/LayoutTests/paint/subpixel/subpixel-accumulation-with-layer.html

Issue 2112753002: Snap paint offset paint property to pixel boundaries (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/paint/subpixel/subpixel-accumulation-with-layer.html
diff --git a/third_party/WebKit/LayoutTests/paint/subpixel/subpixel-accumulation-with-layer.html b/third_party/WebKit/LayoutTests/paint/subpixel/subpixel-accumulation-with-layer.html
new file mode 100644
index 0000000000000000000000000000000000000000..de657daede83aaa5038ef23a251c1e700b8846ca
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/subpixel/subpixel-accumulation-with-layer.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<style>
+body { margin: 0; }
+div { position: relative; }
+</style>
+PASS if there is no red visible.
+<div style="width: 70px; height: 70px; left: 0.7px; top: 0.7px;">
chrishtr 2016/06/29 23:46:07 Please indent the divs to indicate containment.
pdr. 2016/06/30 16:03:11 So wasteful of bytes... Done.
+<div style="background: red; width: 40px; height: 40px; transform: translateZ(0);">
+<div style="background: white; width: 40px; height: 40px; left: 0.7px; top: 0.7px;">
chrishtr 2016/06/29 23:46:07 Add a comment that this is testing behavior to rou
pdr. 2016/06/30 16:03:12 Done.
+</div>
+</div>
+</div>

Powered by Google App Engine
This is Rietveld 408576698