Closed
Bug 1819211
Opened 2 years ago
Closed 2 years ago
Minor clean up for Baseline.h
Categories
(Core :: Layout: Block and Inline, task)
Core
Layout: Block and Inline
Tracking
()
RESOLVED
FIXED
112 Branch
Tracking | Status | |
---|---|---|
firefox112 | --- | fixed |
People
(Reporter: TYLin, Assigned: TYLin)
References
Details
Attachments
(2 files)
See the upcoming patch for the detail.
Assignee | ||
Comment 1•2 years ago
|
||
It is because Baseline
is a utility class under namespace mozilla
.
Also change the include guard to match the coding style.
https://firefox-source-docs.mozilla.org/code-quality/coding-style/coding_style_cpp.html#header-files
Updated•2 years ago
|
Assignee: nobody → aethanyc
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•2 years ago
|
||
The documentation for these functions might be missed when these functions was
moved from nsIFrame.h to Baseline.h in
https://hg.mozilla.org/mozilla-central/rev/fbf495c37e23.
I also revise the documentation because the old ones might be wrong. Here are
some corrections.
- An alphabetical "first"/"last" baseline should be at the "end"/"start" edge
of a margin/border/content-box. - SynthesizeBOffsetFromBorderBox() works when aFrame's writing-mode is
orthogonal to aWM, but the other two functions are not.
Depends on D171162
Pushed by aethanyc@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/d214e7da664e
Export Baseline.h under mozilla. r=emilio
https://hg.mozilla.org/integration/autoland/rev/c8925446ab89
Revise documentation in Baseline.h. r=emilio
Comment 4•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/d214e7da664e
https://hg.mozilla.org/mozilla-central/rev/c8925446ab89
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox112:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 112 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•