Closed
Bug 1480665
Opened 7 years ago
Closed 6 years ago
[motion-1] Implement ray() function for offset-path
Categories
(Core :: CSS Parsing and Computation, enhancement, P3)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
mozilla71
Tracking | Status | |
---|---|---|
firefox71 | --- | fixed |
People
(Reporter: boris, Assigned: boris)
References
(Blocks 1 open bug, )
Details
(Keywords: dev-doc-complete)
Attachments
(2 files, 1 obsolete file)
Bug 1429298 implements offset-path and path() function, and according to the spec, we still need to support another shape-like function, ray() [1]. We could put all of them together into StyleShapeSource.
[1] https://drafts.fxtf.org/motion-1/#valdef-offsetpath-ray
Updated•7 years ago
|
Keywords: dev-doc-needed
Assignee | ||
Updated•6 years ago
|
Summary: Implement ray() function for offset-path → [motion-1] Implement ray() function for offset-path
Assignee | ||
Updated•6 years ago
|
Priority: P5 → P3
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → boris.chiou
Assignee | ||
Comment 1•6 years ago
|
||
The spec issue to explain contain
in ray()
: https://github.com/w3c/fxtf-drafts/issues/363.
Assignee | ||
Comment 2•6 years ago
|
||
- Add
generics::motion::OffsetPath
, and use specifiedAngle
and
computedAngle
to define specifiedOffsetPath
and computedOffsetPath
. - Add
ray
function intoOffsetPath
.
Assignee | ||
Comment 3•6 years ago
|
||
Basically, the math calculation logic is from the github repo of the spec
author, Eric:
https://github.com/ewilligers/petrogale-purpureicollis/blob/20b7403d85d664eb943232e2a34bc95b6f4a8b62/ray.py#L311-L363
Assignee | ||
Comment 4•6 years ago
|
||
This is splitted from the first patch only for review.
I will merge this into the previous patch after review.
Assignee | ||
Updated•6 years ago
|
See Also: → https://github.com/w3c/fxtf-drafts/issues/369
Assignee | ||
Comment 5•6 years ago
•
|
||
A tool which generates the reference result, from Eric: https://petrogale-purpureicollis.appspot.com/ray/
Updated•6 years ago
|
Attachment #9086816 -
Attachment description: Bug 1480665 - Support ray() in offset-path. → Bug 1480665 - Support ray() in offset-path and make it animatable.
Updated•6 years ago
|
Attachment #9091211 -
Attachment is obsolete: true
Pushed by bchiou@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6db0fd0a2252
Support ray() in offset-path and make it animatable. r=emilio,birtles
https://hg.mozilla.org/integration/autoland/rev/6d6be499b832
Implement the contain flag for ray() function. r=birtles
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/19126 for changes under testing/web-platform/tests
Upstream web-platform-tests status checks passed, PR will merge once commit reaches central.
Comment 9•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/6db0fd0a2252
https://hg.mozilla.org/mozilla-central/rev/6d6be499b832
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox71:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
Upstream PR merged by moz-wptsync-bot
Updated•6 years ago
|
Keywords: dev-doc-needed → dev-doc-complete
You need to log in
before you can comment on or make changes to this bug.
Description
•