Closed Bug 1581237 Opened 7 years ago Closed 3 years ago

[motion-1] Use the correct containing box for ray()

Categories

(Core :: CSS Transitions and Animations, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
116 Branch
Tracking Status
firefox116 --- fixed

People

(Reporter: boris, Assigned: boris)

References

(Blocks 1 open bug, )

Details

Attachments

(1 file, 1 obsolete file)

The definition of the containing box for ray() is not clear in the spec. Once the spec issue is resolved or we got a conclusion, we should update the implementation in Bug 1480665.

Assignee: boris.chiou → nobody
Severity: normal → S3
Depends on: 1821455
Assignee: nobody → boris.chiou

So now we use <coord-box> to decide which box we should use. Also, we
have to tweak the calculation of path length to take the top left point
into consideration, for padding-box and content-box.

Note:
offset-path-ray-011.html
offset-path-ray-012.html
offset-path-ray-013.html
offset-path-ray-014.html
are in the upstream repo, so the test number starts from 015.

Also, border-box is the default value, so other tests should cover it.

The data in PathReferenceData could be used for basic shape as well, so
I'd like to rename it. Also, use nsPoint for the current position and
use nsRect for the rect of containing block so we can reuse some
functions in ShapeUtils without redundant conversions, for Bug 1598156.

Also, fix the missing serialization of mBorderBox in layers message.

Comment on attachment 9339188 [details]
Bug 1581237 - Rename RayReferenceData as PathReferenceData.

Revision D181008 was moved to bug 1598156. Setting attachment 9339188 [details] to obsolete.

Attachment #9339188 - Attachment is obsolete: true
Pushed by bchiou@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a3c49585335c Use <coord-box> as the reference box of the containing block for ray(). r=emilio
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/40604 for changes under testing/web-platform/tests
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 116 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: