Closed
Bug 1898083
Opened 1 year ago
Closed 1 year ago
Fix documentation for HidesContentForLayout
Categories
(Core :: Layout, task)
Core
Layout
Tracking
()
RESOLVED
FIXED
128 Branch
| Tracking | Status | |
|---|---|---|
| firefox128 | --- | fixed |
People
(Reporter: dholbert, Assigned: dholbert)
Details
Attachments
(1 file)
|
48 bytes,
text/x-phabricator-request
|
Details |
Quoting our documentation:
/**
* Whether this frame hides its contents via the `content-visibility`
* property.
* @param aInclude specifies what kind of `content-visibility` to include.
*/
bool HidesContent(const mozilla::EnumSet<IncludeContentVisibility>& =
IncludeAllContentVisibility()) const;
/**
* Whether this frame hides its contents via the `content-visibility`
* property, while doing layout. This might be true when `HidesContent()` is
* true in the case that hidden content is being forced to lay out by position
* or size queries from script.
*/
bool HidesContentForLayout() const;
In the HidesContentForLayout documentation, the phrase 'This might be true when HidesContent() is true' sounds like maybe it's got its words mixed up -- I suspect it really wants to say "...is false "This might be false" (i.e. we're trying to call out the case where the two functions return different answers), right?
[EDIT: Clarified to swap which part of the comment was actually wrong, per phabricator]
Flags: needinfo?(emilio)
| Assignee | ||
Comment 2•1 year ago
|
||
DONTBUILD because comment-only change
Updated•1 year ago
|
Assignee: nobody → dholbert
Status: NEW → ASSIGNED
Pushed by dholbert@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9cfa01a4488e
Fix documentation for nsIFrame::HidesContentForLayout. r=emilio
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
status-firefox128:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 128 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•