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)
Core
Layout
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:
- https://searchfox.org/mozilla-central/rev/077fc34d03b85b09add26b5f99f1a3a3a72c8720/layout/forms/nsDateTimeControlFrame.cpp#138-140
- https://searchfox.org/mozilla-central/rev/077fc34d03b85b09add26b5f99f1a3a3a72c8720/layout/generic/nsFlexContainerFrame.cpp#5403-5404
I feel it would be convenient to have a LogicalMargin
method such that we don't need to specify IStart()
and BStart()
separately.
Assignee | ||
Comment 1•8 months ago
|
||
Assignee | ||
Comment 2•8 months ago
|
||
Assignee | ||
Comment 3•8 months ago
|
||
Assignee | ||
Comment 4•8 months ago
|
||
Assignee | ||
Comment 5•8 months ago
|
||
Updated•8 months ago
|
Attachment #9354383 -
Attachment is obsolete: true
Updated•8 months ago
|
Attachment #9354384 -
Attachment is obsolete: true
Updated•8 months ago
|
Attachment #9354385 -
Attachment is obsolete: true
Updated•8 months ago
|
Attachment #9354386 -
Attachment is obsolete: true
Updated•8 months ago
|
Attachment #9354382 -
Attachment is obsolete: true
Updated•8 months ago
|
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
Comment 7•8 months ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 8 months ago
status-firefox119:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 119 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•