mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 09:45:41 +00:00
746b9cb867
1. Use Nothing() for motion path in IncrementScaleResytleCountIfNeeded. Since motion path only produces 2d translate and 2d rotate, so it shouldn't have any impact on BaseMatrix::ScaleFactors(). We use Nothing() to avoid any redundant calculation. 2. Drop SVGTextFrame::DidSetComputedStyle() because nsFrame::DidSetComputedStyle() should have handled ScheduleReflowSVGNonDisplayText well. 3. Let nsSVGForeignObjectFrame::DidSetComputedStyle() call their parents' DidSetComputedStyle. This makes sure we update the frame properly. Differential Revision: https://phabricator.services.mozilla.com/D52290 --HG-- extra : moz-landing-system : lando
14 lines
279 B
HTML
14 lines
279 B
HTML
<script>
|
|
window.onload = () => {
|
|
a.style.setProperty("scale", "3")
|
|
a.clientTop
|
|
a.style.setProperty("offset", "path('M1 6')0deg")
|
|
|
|
b.style.setProperty("offset", "path('M100 6')0deg")
|
|
}
|
|
</script>
|
|
<svg>
|
|
<text id="a"></text>
|
|
<foreignObject id="b"></foreignObject>
|
|
</svg>
|