Accumulate subpixels through stacking contexts

Instead of simply rounding layer origins and discarding subpixel
offsets, accumulate them by transforming them into the space of the
next child stacking context. This is an attempt to eliminate subpixel
differences that are caused by different stacking context boundaries in
reference tests.

Currently these accumulated subpixels are only used for text
positioning, but the plan is that they can be used for all drawing in
the future.
This commit is contained in:
Martin Robinson 2016-07-21 15:26:35 +02:00
parent c1409af543
commit 47e69d1a95
5 changed files with 58 additions and 25 deletions

View file

@ -1,4 +1,2 @@
[css-transforms-3d-on-anonymous-block-001.htm]
type: reftest
expected:
if os == "linux": FAIL

View file

@ -1,3 +1,4 @@
[transform-input-019.htm]
type: reftest
expected: FAIL
expected:
if os == "linux": FAIL