gecko-dev/layout
violet 96e3a70dc5 Bug 608812 - GetTransformForRendering() should have the same rounding behavior r=emilio
The comment in nsDisplayTransform::GetTransformForRendering() clearly
says that |aOutOrigin| should return the same offset as GetTransform().

GetTransform() will pass the offset to GetResultingTransformMatrix()
which will round it in many cases to avoid subpixel blurry rendering.

But GetTransformForRendering() doesn't take this rounding into account,
thus contradicting the intent described by the comment.

This rounding is important to keep subpixel behavior consistent with
or without webrender enabled. Currently, SVG will be rendered blurry
in some cases if it's at a subpixel position. After fixing the problem
in non-webrender case, the strange blur still occurs in webrender case.
It turns out to be caused by this inconsistency.

Differential Revision: https://phabricator.services.mozilla.com/D29495

--HG--
extra : moz-landing-system : lando
2019-05-01 15:20:31 +00:00
..
base Bug 1547422 - Make widget use mozilla::PresShell directly rather than via nsIPresShell r=jmathies 2019-05-01 18:52:59 +00:00
build Bug 1547397 - Part 3: Move the permission manager code to extensions/permissions; r=baku 2019-04-30 14:06:53 +00:00
doc Bug 1544343 - part 3: Make layout use mozilla::PresShell instead of nsIPresShell as far as possible r=emilio 2019-04-16 07:25:10 +00:00
forms Backed out changeset 8c89fd37b79d (bug 1544242) for failures in browser_rules_shadowdom_slot_rules.js CLOSED TREE 2019-05-01 22:03:06 +03:00
generic Backed out changeset 8c89fd37b79d (bug 1544242) for failures in browser_rules_shadowdom_slot_rules.js CLOSED TREE 2019-05-01 22:03:06 +03:00
inspector Bug 1547621 - Move all inline methods of nsIPresShell into mozilla::PresShell r=smaug 2019-04-30 01:52:53 +00:00
ipc Bug 1540785 - Part 1: Introduce nsDisplayItemBase r=mattwoodrow 2019-04-22 19:57:59 +00:00
mathml Backed out changeset 8c89fd37b79d (bug 1544242) for failures in browser_rules_shadowdom_slot_rules.js CLOSED TREE 2019-05-01 22:03:06 +03:00
media
painting Bug 608812 - GetTransformForRendering() should have the same rounding behavior r=emilio 2019-05-01 15:20:31 +00:00
printing Bug 1544343 - part 3: Make layout use mozilla::PresShell instead of nsIPresShell as far as possible r=emilio 2019-04-16 07:25:10 +00:00
reftests Bug 608812 - GetTransformForRendering() should have the same rounding behavior r=emilio 2019-05-01 15:20:31 +00:00
style Backed out changeset 8c89fd37b79d (bug 1544242) for failures in browser_rules_shadowdom_slot_rules.js CLOSED TREE 2019-05-01 22:03:06 +03:00
svg Bug 1539318 - Prevent getComputedTextLength() from working on non-display SVG text elements. r=jwatt 2019-05-02 01:08:39 +00:00
tables Merge mozilla-central to autoland. on a CLOSED TREE 2019-05-01 19:05:19 +03:00
tools Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
xul Bug 1547535 - Move all a11y code in nsIPresShell to mozilla::PresShell r=Jamie 2019-04-30 07:53:20 +00:00
moz.build Bug 1521673 - Go through layout/tools/layout-debug even when tests are disabled. r=dmajor 2019-01-22 14:30:39 +00:00