Closed Bug 1854424 Opened 8 months ago Closed 8 months ago

Add a LogicalMargin method returning an offset to start-sides

Categories

(Core :: Layout, task)

task

Tracking

()

RESOLVED FIXED
119 Branch
Tracking Status
firefox119 --- fixed

People

(Reporter: TYLin, Assigned: TYLin)

Details

Attachments

(1 file, 4 obsolete files)

We have use cases where we need an offest LogicalPoint formed from a LogicalMargin's IStart() and BStart(). Here are examples:

I feel it would be convenient to have a LogicalMargin method such that we don't need to specify IStart() and BStart() separately.

Attachment #9354383 - Attachment is obsolete: true
Attachment #9354384 - Attachment is obsolete: true
Attachment #9354385 - Attachment is obsolete: true
Attachment #9354386 - Attachment is obsolete: true
Attachment #9354382 - Attachment is obsolete: true
Attachment #9354382 - Attachment is obsolete: false
Pushed by aethanyc@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/870b7352689d
Add a LogicalMargin method returning an offset to start-sides. r=layout-reviewers,jfkthame
Status: NEW → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → 119 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: