From 48714e905ed328f77062034a3185d4348f925e0b Mon Sep 17 00:00:00 2001 From: Boris Chiou Date: Mon, 4 Mar 2024 22:39:08 +0000 Subject: [PATCH] Break the cyclic dependency if any of the desendants uses non-scaling-stroke. While we are computing the transform-box:stroke-box, for CSS Transforms or Motion path Transforms, we have to avoid the cyclic dependency not only for the SVG geometry frame itself, but also for the desendants of the SVG container frame. Therefore, we just compute its fill-box (i.e. make |getStroke| be false). https://github.com/w3c/csswg-drafts/issues/9640 Differential Revision: https://phabricator.services.mozilla.com/D203184 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1870200 gecko-commit: ec44194caefb41931247d18ad886326cf6d89a93 gecko-reviewers: emilio --- .../transform-box/svgbox-stroke-box-005.html | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 css/css-transforms/transform-box/svgbox-stroke-box-005.html diff --git a/css/css-transforms/transform-box/svgbox-stroke-box-005.html b/css/css-transforms/transform-box/svgbox-stroke-box-005.html new file mode 100644 index 000000000000000..c1a741b7411e4db --- /dev/null +++ b/css/css-transforms/transform-box/svgbox-stroke-box-005.html @@ -0,0 +1,24 @@ + +transform-box: border-box, stroke with vector-effect: non-scaling-stroke + + + + + + + + + + +