Closed Bug 1531470 Opened 5 years ago Closed 5 years ago

Support position:sticky in OOP iframes

Categories

(Core :: Layout, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla67
Fission Milestone M4
Tracking Status
firefox67 --- fixed

People

(Reporter: jwatt, Assigned: hiro)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

There may be work we need to do to properly support position:sticky in OOP iframes. For example, IsStickyFrameActive in nsDisplayList.cpp using nsLayoutUtils::GetCrossDocParentFrame to walk up across document boundaries in a way that will not be possible in OOP iframes.

position:sticky should not stick to a scrollable frame in an ancestor document, I think. We should specify SCROLLABLE_SAME_DOC and SCROLLABLE_INCLUDE_HIDDEN flags just like we do in StickyScrollContainer.

Assignee: nobody → hikezoe
Status: NEW → ASSIGNED
Pushed by hikezoe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4f78b47f52b2
Use nsLayoutUtils::GetNearestScrollableFrame with SAME_DOC and INCLUDE_HIDDEN flags to get position:sticky target scrollable frame. r=kats
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67

Retroactively moving fixed bugs whose summaries mention "Fission" (or other Fission-related keywords) but are not assigned to a Fission Milestone to an appropriate Fission Milestone.

This will generate a lot of bugmail, so you can filter your bugmail for the following UUID and delete them en masse:

0ee3c76a-bc79-4eb2-8d12-05dc0b68e732

Fission Milestone: --- → M4
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: