aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2016-07-27 05:17:22 -0500
committerGitHub <noreply@github.com>2016-07-27 05:17:22 -0500
commit4077ae7d04e64d66e2dfd1577dc4d337c45fecd4 (patch)
tree70914798d32251b8819de8d1ac506b62e6283c00 /python/servo
parentd8991496c6ddcce3c93ba36d36619a3200626c1f (diff)
parent47e69d1a95f4debde339cc8cb74c83f132be9673 (diff)
downloadservo-4077ae7d04e64d66e2dfd1577dc4d337c45fecd4.tar.gz
servo-4077ae7d04e64d66e2dfd1577dc4d337c45fecd4.zip
Auto merge of #12543 - mrobinson:off-by-one-ng, r=pcwalton
Accumulate subpixels through stacking contexts <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [X] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> 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. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12543) <!-- Reviewable:end -->
Diffstat (limited to 'python/servo')
0 files changed, 0 insertions, 0 deletions