[css-shapes-2] Implement shape() function for offset-path
Categories
(Core :: CSS Parsing and Computation, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox126 | --- | fixed |
People
(Reporter: boris, Assigned: boris)
References
(Blocks 1 open bug)
Details
(Keywords: dev-doc-complete)
Attachments
(1 file)
Assignee | ||
Comment 1•6 months ago
|
||
We treat it as other basic shapes (excluding path(), which has some
special handling and it doesn't rely on the current layout position).
Therefore, we don't have any implementation for caching and we would like to
leave this part to Bug 1837042.
Also, add some more simple tests in css/motion to make sure we render it
properly.
Assignee | ||
Updated•6 months ago
|
Pushed by bchiou@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/232a3ceaa406 Support shape() for offset-path and render it. r=layout-reviewers,emilio
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/45389 for changes under testing/web-platform/tests
Comment 4•6 months ago
|
||
bugherder |
Upstream PR merged by moz-wptsync-bot
Comment 6•6 months ago
|
||
:boris could you consider nominating this for a release note? (Process info)
We could include it in the nightly release notes.
Assignee | ||
Comment 7•6 months ago
|
||
Release Note Request (optional, but appreciated)
[Why is this notable]: This is a new feature on Firefox. We support shape() function on offset-path property now. It provides a better CSS syntax for path commands (compared with path(), which uses SVG Path string syntax).
[Affects Firefox for Android]: Yes
[Suggested wording]: Support shape()
function on offset-path
property.
[Links (documentation, blog post, etc)]:
https://drafts.csswg.org/css-shapes-2/#shape-function
https://drafts.fxtf.org/motion-1/#offset-path-property
Comment 8•5 months ago
|
||
Thanks, added to the Fx126 nightly release notes, please allow 30 minutes for the site to update.
Keeping the relnote-firefox flag as ? to keep it on the radar for inclusion in the final Fx126 release notes.
Hi Boris, could you confirm if the support for the shape()
function in offset-path
and in clip-path
will be available only in Nightly starting from release 126 (behind the layout.css.basic-shape-shape.enabled
preference)?
Assignee | ||
Comment 10•5 months ago
|
||
(In reply to Dipika from comment #9)
Hi Boris, could you confirm if the support for the
shape()
function inoffset-path
and inclip-path
will be available only in Nightly starting from release 126 (behind thelayout.css.basic-shape-shape.enabled
preference)?
Yes. Since Fx126, and until now, we support shape function only on Nightly, behind layout.css.basic-shape-shape.enabled
.
Updated•5 months ago
|
Comment 11•3 months ago
|
||
MDN docs have been updated and the shape()
function documentation is now available. The related work can be tracked via the doc issue https://github.com/mdn/content/issues/33081.
Thanks a lot Boris for your timely help with all my questions!
Comment 12•7 days ago
|
||
Removing from the Nightly release notes as this has been included for more than 3 cycles now.
Description
•