[motion-1] Support offset-path: <url>
Categories
(Core :: CSS Transitions and Animations, enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox118 | --- | fixed |
People
(Reporter: boris, Assigned: boris)
References
(Blocks 4 open bugs, Regressed 1 open bug, )
Details
(Keywords: dev-doc-complete)
Attachments
(4 files)
Implement <url> for offset-path
.
Assignee | ||
Updated•5 years ago
|
Updated•2 years ago
|
Comment 1•11 months ago
|
||
This bug will presumably fix this interop-2023 test:
https://wpt.fyi/results/css/motion/offset-path-url.html
Assignee | ||
Updated•9 months ago
|
Assignee | ||
Comment 2•9 months ago
|
||
Assignee | ||
Comment 3•9 months ago
|
||
In layout, we build a default path("m 0 0")
for now. We will implement
it later.
Besides, we don't support compositor animations for url().
Assignee | ||
Comment 4•9 months ago
|
||
Assignee | ||
Comment 5•9 months ago
|
||
Also, rename mIsClosedIntervals
as mIsClosedLoop
(and some other
similar renamings) to match the spec words.
Note: I also update offset-path-url-001.html because it seems its ref
html is incorrect per the current spec. We are using its <coord-box>
(i.e.
the reference box of its containing block) as the viewport and user coordinate
system, so its offset-starting-position should be independent from its
current position from CSS reflow. The SVG shape element always provide the
offset starting position.
So I tweak offset-path-url-001.html a little bit to make it passed for all
browsers, and add some other tests to cover the case I mention above and
other cases.
Updated•9 months ago
|
Updated•9 months ago
|
Pushed by bchiou@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/852440ba437b Rename offset-path-url.html as offset-path-url-001.html. r=emilio https://hg.mozilla.org/integration/autoland/rev/a48fa41db5cf Support offset-path:url() in style. r=devtools-reviewers,emilio https://hg.mozilla.org/integration/autoland/rev/f0f94c408338 Add IsClosedLoop() for SVGGeometryElement. r=emilio https://hg.mozilla.org/integration/autoland/rev/aee04f35d4b0 Resolve URL to SVG shape elements. r=emilio
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/41375 for changes under testing/web-platform/tests
Comment 8•9 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/852440ba437b
https://hg.mozilla.org/mozilla-central/rev/a48fa41db5cf
https://hg.mozilla.org/mozilla-central/rev/f0f94c408338
https://hg.mozilla.org/mozilla-central/rev/aee04f35d4b0
Upstream PR merged by moz-wptsync-bot
Comment 10•7 months ago
|
||
MDN doc updates for this feature can be tracked via this GitHub issue: https://github.com/mdn/content/issues/28846
Description
•