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

Unified Diff: LayoutTests/compositing/squashing/subpixel-rounding-expected.html

Issue 343543005: Round in the range [-0.5, 0.5) when computing offsetFromRenderer and subpixelAccumulation (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Added test. Created 6 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: LayoutTests/compositing/squashing/subpixel-rounding-expected.html
diff --git a/LayoutTests/compositing/squashing/subpixel-rounding-expected.html b/LayoutTests/compositing/squashing/subpixel-rounding-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..c5c869e9b9cc94334a889e17f3420a7d65bdc700
--- /dev/null
+++ b/LayoutTests/compositing/squashing/subpixel-rounding-expected.html
@@ -0,0 +1,5 @@
+<!doctype HTML>
+
+<div style="position: absolute; width: 200px; height: 200px; left: 0px; top: 0px; background-color: lightgreen"></div>
+<div style="position: absolute; width: 1px; height: 1px; left: 0px; top:0.6px; background-color: lightgray"></div>
+

Powered by Google App Engine
This is Rietveld 408576698