Modernize nsOverflowAreas
Categories
(Core :: Layout, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox85 | --- | fixed |
People
(Reporter: TYLin, Assigned: TYLin)
References
Details
Attachments
(4 files)
Ideas including:
- Support range-based for-loop to iterate over ink and scrollable overflow types.
- Convert
nsOverflowType
to a enum class. - Move
nsOverflowArea
intomozilla
namespace.
Assignee | ||
Comment 1•4 years ago
|
||
The existing nsOverflowType will be removed in the next part.
Also, I change UnionRectIncludeEmpty
to UnionRectEdges
in two FIXME
comments because the method is renamed in Bug 641426 Part 5
https://hg.mozilla.org/mozilla-central/rev/90e46b3e8e6f
Assignee | ||
Comment 2•4 years ago
|
||
In the next part, we are going to remove nsOverflowType
in
OverflowAreas' implementation.
Depends on D97232
Assignee | ||
Comment 3•4 years ago
|
||
I believe we store the rects in an array so that
NS_FOR_FRAME_OVERFLOW_TYPES
could be implemented easily. Now the macro
is removed in Part 1, we could store the rects in two separate rects for
clarity.
Depends on D97233
Assignee | ||
Comment 4•4 years ago
|
||
Depends on D97234
Pushed by aethanyc@gmail.com: https://hg.mozilla.org/integration/autoland/rev/73b445d83a72 Part 1 - Add an enum class mozilla::OverflowType, and remove NS_FOR_FRAME_OVERFLOW_TYPES. r=layout-reviewers,emilio https://hg.mozilla.org/integration/autoland/rev/205e309a1fdb Part 2 - Remove all external users of the obsolete nsOverflowType. r=layout-reviewers,emilio https://hg.mozilla.org/integration/autoland/rev/988cd6a2d19f Part 3 - Store ink overflow and scrollable overflow in separate rects in nsOverflowAreas. r=layout-reviewers,emilio https://hg.mozilla.org/integration/autoland/rev/64a43ed745a1 Part 4 - Rename nsOverflowAreas to OverflowAreas, and move it into mozilla namespace. r=layout-reviewers,emilio
Comment 6•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/73b445d83a72
https://hg.mozilla.org/mozilla-central/rev/205e309a1fdb
https://hg.mozilla.org/mozilla-central/rev/988cd6a2d19f
https://hg.mozilla.org/mozilla-central/rev/64a43ed745a1
Description
•