gecko-dev/layout
cku 66ee16b6b0 Bug 1224207 - Part 7. (Main) Pass frame transform info down to nsFilterInstance. r=mstange
The biggest change is located in
nsFilterInstance::ComputeUserSpaceToFilterSpaceScale.

Originally, nsSVGUtils::GetCanvasTM is used. This function returns combination
of svg-transform, e.g. <rect transform="translate(30,40)" />, and
css-to-dev-scale-transform. That why we do not see this bug in a transformed
svg element.

For example, the following svg can be rendered correctly on FF:
<svg xmlns="http://www.w3.org/2000/svg">
<defs>
  <filter id="blurMe">
    <feGaussianBlur in="SourceGraphic" stdDeviation="1"/>
  </filter>
</defs>
  <!-- nsSVGUtils::GetCanvasTM return transform="scale(3)" correctly -->
  <text x="0" y="35" font-size="35" transform="scale(3)" filter="url(#blurMe)">
    Hello, out there
  </text>
</svg>

Unfortunately, this function does not report css-transform at all. So, I
replaced it by mPaintTransfom, which is passed from the caller. So now it's the
caller's responsibility to pass a UserSpace-To-DeviceSpace transform into
nsFilterInstance. And, we actually change the meaning of mPaintTransform in this
patch. Before this patch, mPaintTransform means css-to-dev-px scaling transform;
After this patch it means "userspace-to-filterspace-scaling * css-to-dev-scaling"
transform.

All the other modifictions are to respect the change in
nsFilterInstance::ComputeUserSpaceToFilterSpaceScale.

MozReview-Commit-ID: LwNUAMo98M

--HG--
extra : rebase_source : 4ed9fbd1493decef43b6d606d78c4dd23e975146
2017-02-07 11:51:34 +08:00
..
base Merge mozilla-central to autoland 2017-02-08 11:32:21 +01:00
build Backed out 2 changesets (bug 1336345) for gtest timeouts and crashes in test_data_protocol_registration.js 2017-02-05 20:40:19 -08:00
doc
forms Bug 1334768 - stylo: Adjust a bunch of reftest expectations. r=me on a CLOSED TREE 2017-01-31 17:38:24 +01:00
generic Merge m-c to inbound, a=merge 2017-02-07 16:55:50 -08:00
inspector Bug 851892 part 8. Get rid of css::Rule::GetDOMRule. r=heycam 2017-01-13 10:41:03 -05:00
ipc Bug 1331706 - Make vsync non-prioritized for now. r=billm 2017-01-22 18:34:27 +02:00
mathml Bug 1335124 - Remove mathfontSymbol.properties. r=karl 2017-01-30 12:06:00 +01:00
media
painting Bug 1336311 - Change code comments with http://hg.mozilla.org to https://. r=gps 2017-02-07 17:52:56 +01:00
printing Bug 1334768 - stylo: Back out 800030115d2e and 404506488cfb for being completely wrong due to bug 1334938. 2017-01-30 16:49:54 +08:00
reftests Backed out 8 changesets (bug 1224207) for Win8 Reftest failures 2017-02-08 17:53:07 +08:00
style Bug 1337637 - Release rule when deleting from ServoCSSRuleList. r=heycam 2017-02-08 14:19:08 +11:00
svg Bug 1224207 - Part 7. (Main) Pass frame transform info down to nsFilterInstance. r=mstange 2017-02-07 11:51:34 +08:00
tables Bug 1334768 - stylo: Back out 800030115d2e and 404506488cfb for being completely wrong due to bug 1334938. 2017-01-30 16:49:54 +08:00
tools Bug 1334209 - Activate mozharness virtualenv in-process from one click loaner mach commands, r=jmaher 2017-01-31 11:53:36 -05:00
xul Bug 1336768. Use the right element to get our tree box object from; fixes problem introduced in <https://hg.mozilla.org/integration/mozilla-inbound/rev/d4cafa51586a>. r=smaug 2017-02-06 17:00:41 -05:00
moz.build Bug 1318805 - Move the code for the Web Painting module to layout/painting; r=mattwoodrow 2016-11-21 20:01:15 -05:00