Closed
Bug 1916026
Opened 1 year ago
Closed 1 year ago
Minor improvement to WritingModes.h
Categories
(Core :: Layout, task)
Core
Layout
Tracking
()
RESOLVED
FIXED
132 Branch
| Tracking | Status | |
|---|---|---|
| firefox132 | --- | fixed |
People
(Reporter: TYLin, Assigned: TYLin)
Details
Attachments
(2 files)
See the patches for details.
| Assignee | ||
Comment 1•1 year ago
|
||
Rewrite PhysicalAxis() to avoid bit manipulation and remove the dependency on
the numeric values of PhysicalAxis and LogicalAxis enums.
This doesn't change behavior.
Updated•1 year ago
|
Assignee: nobody → aethanyc
Status: NEW → ASSIGNED
| Assignee | ||
Comment 2•1 year ago
|
||
Many classes contain a WritingMode member variable that may not be initialized
immediately upon construction but rather during later computations. Therefore,
having a default constructor providing a default writing mode remains necessary.
WritingMode::SetDirectionFromBidiLevel()'s input argument was changed from
uint8_t to a helper class in
https://hg.mozilla.org/mozilla-central/rev/20965e0af9b3f8cc2689be5ba6ae323cb9af4436
Pushed by aethanyc@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/98e0ae8f9812
Part 1 - Improve the readability of WritingMode::PhysicalAxis(). r=layout-reviewers,jfkthame
https://hg.mozilla.org/integration/autoland/rev/2ffd311ab17c
Part 2 - Revise outdated comments in WritingModes.h. r=layout-reviewers,jfkthame
Comment 4•1 year ago
|
||
Flags: needinfo?(aethanyc)
| Assignee | ||
Updated•1 year ago
|
Flags: needinfo?(aethanyc)
Pushed by aethanyc@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/7fbeccad4edc
Part 1 - Improve the readability of WritingMode::PhysicalAxis(). r=layout-reviewers,jfkthame
https://hg.mozilla.org/integration/autoland/rev/fb64cdaf7a5c
Part 2 - Revise outdated comments in WritingModes.h. r=layout-reviewers,jfkthame
Comment 6•1 year ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/7fbeccad4edc
https://hg.mozilla.org/mozilla-central/rev/fb64cdaf7a5c
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
status-firefox132:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 132 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•