Closed
Bug 1669885
Opened 4 years ago
Closed 4 years ago
Minor improvements related to replaced element's intrinsic size
Categories
(Core :: Layout, task)
Core
Layout
Tracking
()
RESOLVED
FIXED
83 Branch
Tracking | Status | |
---|---|---|
firefox83 | --- | fixed |
People
(Reporter: TYLin, Assigned: TYLin)
Details
Attachments
(2 files)
No description provided.
Assignee | ||
Comment 1•4 years ago
|
||
Assignee | ||
Comment 2•4 years ago
|
||
GetIntrinsicSizeFor() is used to get intrinsic size only for images.
This patch removes the restriction by removing the function, and uses
nsIFrame::GetIntrinsicSize() directly to get intrinsic sizes for all
replaced elements.
1183431-orthogonal-modes-8a.html passes because we can now get
<iframe>'s intrinsic size in CalculateHypotheticalPosition().
Depends on D92873
Pushed by aethanyc@gmail.com: https://hg.mozilla.org/integration/autoland/rev/dfd3c3a2bb5f Part 1 - Add API to convert IntrinsicSize to nsSize, and remove nsImageFrame::GetIntrinsicImageSize. r=emilio https://hg.mozilla.org/integration/autoland/rev/51b297c41538 Part 2 - Support all replaced elements which have intrinsic sizes in CalculateHypotheticalPosition(). r=emilio
Comment 4•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/dfd3c3a2bb5f
https://hg.mozilla.org/mozilla-central/rev/51b297c41538
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox83:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•