Closed Bug 1480665 Opened 6 years ago Closed 5 years ago

[motion-1] Implement ray() function for offset-path

Categories

(Core :: CSS Parsing and Computation, enhancement, P3)

enhancement

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
Summary: Implement ray() function for offset-path → [motion-1] Implement ray() function for offset-path
Priority: P5 → P3
Assignee: nobody → boris.chiou

The spec issue to explain contain in ray(): https://github.com/w3c/fxtf-drafts/issues/363.

  1. Add generics::motion::OffsetPath, and use specified Angle and
    computed Angle to define specified OffsetPath and computed OffsetPath.
  2. Add ray function into OffsetPath.
Blocks: 1579294
Attached file Bug 1480665 - Make ray() animatable. (obsolete) —

This is splitted from the first patch only for review.

I will merge this into the previous patch after review.

A tool which generates the reference result, from Eric: https://petrogale-purpureicollis.appspot.com/ray/

Blocks: 1581237
Attachment #9086816 - Attachment description: Bug 1480665 - Support ray() in offset-path. → Bug 1480665 - Support ray() in offset-path and make it animatable.
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.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
Upstream PR merged by moz-wptsync-bot
Blocks: 1582554
Regressions: 1590542
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: