Emilio Cobos Álvarez
4c44dbe784
Bug 1917604 - Fix non-scaling-stroke on inner <svg>. r=longsonr
...
Weird no test caught this.
Differential Revision: https://phabricator.services.mozilla.com/D221515
2024-09-09 20:51:16 +00:00
longsonr
aa03e8668b
Bug 1917192 - Make SVG text position react to CSS zoom r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D221292
2024-09-06 11:53:14 +00:00
longsonr
d9063b20e8
Bug 1916111 - zoom polygons and polylines r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D221079
2024-09-05 07:27:36 +00:00
Emilio Cobos Álvarez
8a62f66450
Bug 1915971 - Simplify PrependLocalTransformsTo. r=longsonr
...
Now that there's only one transform kind seems worth doing this.
Differential Revision: https://phabricator.services.mozilla.com/D220733
2024-09-02 17:26:21 +00:00
Emilio Cobos Álvarez
0d05060885
Bug 1915971 - Remove the concept of eUserSpaceToParent transforms. r=longsonr
...
After mapping the transform attribute we don't use it, it always returns
the input matrix.
Differential Revision: https://phabricator.services.mozilla.com/D220732
2024-09-02 17:26:20 +00:00
Emilio Cobos Álvarez
fa8ab09ae0
Bug 1915971 - Remove some no longer needed code to handle transform attribute changes. r=longsonr
...
These are handled as part of the transform property changing now.
Differential Revision: https://phabricator.services.mozilla.com/D220729
2024-09-02 17:26:20 +00:00
Emilio Cobos Álvarez
6e8da4e110
Bug 1914221 - Map pattern/gradientTransform to the transform property. r=longsonr
...
And fix a typo in a test which got me confused.
Differential Revision: https://phabricator.services.mozilla.com/D220728
2024-09-02 17:26:20 +00:00
Butkovits Atila
8b044eeb9c
Backed out 4 changesets (bug 1914221, bug 1915971) for causing failures at anim-pattern-attr-presence-01.svg. CLOSED TREE
...
Backed out changeset 7c8cd02e4dd7 (bug 1915971)
Backed out changeset 7174d7871cce (bug 1915971)
Backed out changeset 3985054aeea4 (bug 1915971)
Backed out changeset e748e0d3a446 (bug 1914221)
2024-09-02 18:58:50 +03:00
Olli Pettay
e1fad67026
Bug 1914513 - Add a pref to disable mutation events, r=masayuki
...
Differential Revision: https://phabricator.services.mozilla.com/D219934
2024-09-02 13:29:57 +00:00
Emilio Cobos Álvarez
6b44952143
Bug 1915971 - Simplify PrependLocalTransformsTo. r=longsonr
...
Now that there's only one transform kind seems worth doing this.
Differential Revision: https://phabricator.services.mozilla.com/D220733
2024-09-02 13:15:09 +00:00
Emilio Cobos Álvarez
a90731978c
Bug 1915971 - Remove the concept of eUserSpaceToParent transforms. r=longsonr
...
After mapping the transform attribute we don't use it, it always returns
the input matrix.
Differential Revision: https://phabricator.services.mozilla.com/D220732
2024-09-02 13:15:09 +00:00
Emilio Cobos Álvarez
5a07e6b173
Bug 1915971 - Remove some no longer needed code to handle transform attribute changes. r=longsonr
...
These are handled as part of the transform property changing now.
Differential Revision: https://phabricator.services.mozilla.com/D220729
2024-09-02 13:15:08 +00:00
Emilio Cobos Álvarez
f6960b2b66
Bug 1914221 - Map pattern/gradientTransform to the transform property. r=longsonr
...
And fix a typo in a test which got me confused.
Differential Revision: https://phabricator.services.mozilla.com/D220728
2024-09-02 13:15:08 +00:00
Butkovits Atila
5092c79785
Backed out 4 changesets (bug 1914221, bug 1915971) for causing failures at pattern-transform-presence-01.svg. CLOSED TREE
...
Backed out changeset 3071e3421b42 (bug 1915971)
Backed out changeset b80fe7906441 (bug 1915971)
Backed out changeset 0a2beb7878df (bug 1915971)
Backed out changeset 8b2fd5bd4301 (bug 1914221)
2024-09-02 15:36:54 +03:00
Emilio Cobos Álvarez
748004681d
Bug 1915971 - Simplify PrependLocalTransformsTo. r=longsonr
...
Now that there's only one transform kind seems worth doing this.
Differential Revision: https://phabricator.services.mozilla.com/D220733
2024-09-02 11:05:34 +00:00
Emilio Cobos Álvarez
1996897f14
Bug 1915971 - Remove the concept of eUserSpaceToParent transforms. r=longsonr
...
After mapping the transform attribute we don't use it, it always returns
the input matrix.
Differential Revision: https://phabricator.services.mozilla.com/D220732
2024-09-02 11:05:34 +00:00
Emilio Cobos Álvarez
9b7f4dcfcd
Bug 1915971 - Remove some no longer needed code to handle transform attribute changes. r=longsonr
...
These are handled as part of the transform property changing now.
Differential Revision: https://phabricator.services.mozilla.com/D220729
2024-09-02 11:05:33 +00:00
Emilio Cobos Álvarez
5bc6c02648
Bug 1914221 - Map pattern/gradientTransform to the transform property. r=longsonr
...
And fix a typo in a test which got me confused.
Differential Revision: https://phabricator.services.mozilla.com/D220728
2024-09-02 11:05:33 +00:00
Emilio Cobos Álvarez
fe940af53e
Bug 1915206 - Simplify SVG transforms a bit more. r=longsonr
...
We no longer need the concept of "local" transforms after bug 878346.
Local transforms that we'd need in the future could be represented via
attribute mapping.
We still need the viewbox transform shenanigans which applies to
children only, tho.
Differential Revision: https://phabricator.services.mozilla.com/D220290
2024-08-27 21:14:28 +00:00
longsonr
d0a85b9aaa
Bug 1914345 Part 1 - create a pref to allow using moz2d to determine stroke bounds r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D220060
2024-08-27 16:20:35 +00:00
Norisz Fay
e4a6f2c462
Backed out changeset 03bd6b90ec89 (bug 1914345) for causing reftest failure on 1662062-1-no-blurry.html CLOSED TREE
2024-08-27 13:12:52 +03:00
longsonr
c7184830cf
Bug 1914345 Part 1 - create a pref to allow using moz2d to determine stroke bounds r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D220060
2024-08-27 08:40:40 +00:00
Stanca Serban
22148cc042
Backed out 2 changesets (bug 1914345) for causing reftests failures.
...
Backed out changeset 92acbb3b404d (bug 1914345)
Backed out changeset 3d7bad39c3f0 (bug 1914345)
2024-08-27 01:55:16 +03:00
longsonr
d8b6c112d6
Bug 1914345 Part 1 - create a pref to allow using moz2d to determine stroke bounds r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D220060
2024-08-26 19:09:34 +00:00
Stanca Serban
3c6ee21d7c
Backed out 2 changesets (bug 1914345) for causing Android reftests failures. CLOSED TREE
...
Backed out changeset c0f325a58cd9 (bug 1914345)
Backed out changeset 6ffabd992e4e (bug 1914345)
2024-08-26 21:39:52 +03:00
longsonr
873d1857eb
Bug 1914345 Part 1 - create a pref to allow using moz2d to determine stroke bounds r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D220060
2024-08-26 16:29:43 +00:00
Emilio Cobos Álvarez
4aa1ad81ba
Bug 878346 - Make transform a mapped attribute for SVG. r=longsonr,firefox-style-system-reviewers,zrhoffman
...
The tricky bit is rotate() which in SVG means something different if
there's an origin (you translate-then-untranslate it).
But this seems to work off-hand, and fix the reminder of bug 1906261.
Differential Revision: https://phabricator.services.mozilla.com/D215788
2024-08-21 15:00:48 +00:00
longsonr
e9fb50ad98
Bug 1910842 - fix non-scaling-stroke when outer svg element has a CSS transform r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D218374
2024-08-17 13:58:27 +00:00
longsonr
0db2cc0e57
Bug 1843878 - just wait for focus r=dholbert
...
Differential Revision: https://phabricator.services.mozilla.com/D219239
2024-08-16 09:59:02 +00:00
longsonr
1a6144677a
Bug 1912334 - Use kFallbackIntrinsicWidthInPixels and kFallbackIntrinsicHeightInPixels r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D218864
2024-08-08 22:43:04 +00:00
Norisz Fay
7a99a6d5c5
Backed out changeset daa273f24110 (bug 1910842) for causing dt failures on browser_inspector_highlighter-cssshape_offset-path.js CLOSED TREE
2024-08-02 17:26:54 +03:00
longsonr
0fb697cb51
Bug 1910842 - fix non-scaling-stroke when outer svg element has a CSS transform r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D218374
2024-08-02 12:57:16 +00:00
Emilio Cobos Álvarez
198c331213
Bug 1910698 - Add a struct to represent JS caller location and more general warning source location. r=smaug,necko-reviewers,anti-tracking-reviewers,dom-storage-reviewers,pbz,kershaw,janv
...
Use it liberally across the tree. This could be cleaned up even more in the future.
Differential Revision: https://phabricator.services.mozilla.com/D218114
2024-08-01 17:12:48 +00:00
longsonr
f50be4f65a
Bug 1908625 - SVG image elements should update if their href is removed r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D217040
2024-07-19 20:11:01 +00:00
Sylvestre Ledru
45030f6970
Bug 1519636 - Reformat recent changes to the Google coding style r=emilio,necko-reviewers,geckoview-reviewers,application-update-reviewers,media-playback-reviewers,devtools-reviewers,anti-tracking-reviewers,profiler-reviewers,win-reviewers,migration-reviewers,padenot,mconley,nchevobbe,kershaw,gstoll,mstange,bytesized,m_kato
...
This new version of clang 17 also slightly changed the formatting.
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D215914
2024-07-17 11:15:31 +00:00
longsonr
eb930ea2bb
Bug 1903546 - fix non-scaling-stroke r=emilio
...
This implements https://github.com/w3c/svgwg/issues/582 and therefore mostly reverts bug 1904891
Differential Revision: https://phabricator.services.mozilla.com/D216303
2024-07-11 20:10:36 +00:00
Olli Pettay
52d243341c
Bug 1856460, rename nsContentUtils::HasMutationListeners, r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D215845
2024-07-08 20:39:43 +00:00
Emilio Cobos Álvarez
8da9ffec8f
Bug 1906310 - Some some dead SVGPath code. r=longsonr
...
And do some minor clean-up while at it.
Differential Revision: https://phabricator.services.mozilla.com/D215789
2024-07-04 16:59:22 +00:00
Emilio Cobos Álvarez
2875c51e44
Bug 1906270 - Account for CSS zoom in SVGPathElement::GetAsSimplePath. r=longsonr
...
This fixes most of the rendering in the blocked bug. The other issue is
transforms, which ideally would be auto-magically fixed by bug 878346...
Differential Revision: https://phabricator.services.mozilla.com/D215742
2024-07-04 13:37:13 +00:00
longsonr
9416db8add
Bug 1904891 - Support viewport and screen options for non-scaling-stroke r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D215138
2024-07-03 17:42:10 +00:00
longsonr
03b674d7e6
Bug 1905023 - viewBox values need to be adjusted in the presence of CSS zoom r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D215300
2024-07-03 15:42:09 +00:00
Emilio Cobos Álvarez
3eadcfef57
Bug 1903361 - Make SVG paths respect zoom. r=longsonr
...
Differential Revision: https://phabricator.services.mozilla.com/D214175
2024-06-27 11:12:47 +00:00
Emilio Cobos Álvarez
b1a45fd599
Bug 1714238 - Use a single SVG path representation. r=boris,longsonr,webidl,smaug
...
This removes a bunch of special and complex code from the SVG path code,
and simplifies fixing stuff like bug 1903361.
Differential Revision: https://phabricator.services.mozilla.com/D214411
2024-06-21 16:16:01 +00:00
longsonr
6f3d23cb3a
Bug 1903352 - SVG attribute values should not be zoomed r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D214286
2024-06-20 14:56:29 +00:00
Stanca Serban
8893878367
Backed out changeset 031c8a5d110b (bug 1903352) as requested for causing android failures. CLOSED TREE
2024-06-20 15:14:25 +03:00
longsonr
51a0a02f4b
Bug 1903352 - SVG attribute values should not be zoomed r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D214286
2024-06-20 10:41:02 +00:00
Emilio Cobos Álvarez
597601a294
Bug 1745149 - Remove SVGPathSeg APIs and related code. r=longsonr,boris,webidl,devtools-reviewers,smaug,nchevobbe
...
These were unshipped a long time ago...
Differential Revision: https://phabricator.services.mozilla.com/D214278
2024-06-20 09:44:00 +00:00
longsonr
7f782f44d5
Bug 1858806 - Add crashtest r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D214171
2024-06-18 23:39:38 +00:00
longsonr
0d068a2c72
Bug 1902675 - animations should not run in inactive switch children or if they are children of elements that have failed conditional processing tests r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D213848
2024-06-17 16:40:41 +00:00
longsonr
b6755e5ca8
Bug 1019326 - fix some issues with svg.new-getBBox.enabled r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D212772
2024-06-07 11:29:08 +00:00