mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 23:38:38 +09:00
Issue #146 - Part 6: Allow position: sticky on table elements.
This commit is contained in:
parent
af75c920b0
commit
d26e13657b
4 changed files with 7 additions and 20 deletions
|
|
@ -562,15 +562,12 @@ nsFrame::Init(nsIContent* aContent,
|
|||
}
|
||||
if (disp->mPosition == NS_STYLE_POSITION_STICKY &&
|
||||
!aPrevInFlow &&
|
||||
!(mState & NS_FRAME_IS_NONDISPLAY) &&
|
||||
!disp->IsInnerTableStyle()) {
|
||||
!(mState & NS_FRAME_IS_NONDISPLAY)) {
|
||||
// Note that we only add first continuations, but we really only
|
||||
// want to add first continuation-or-ib-split-siblings. But since we
|
||||
// don't yet know if we're a later part of a block-in-inline split,
|
||||
// we'll just add later members of a block-in-inline split here, and
|
||||
// then StickyScrollContainer will remove them later.
|
||||
// We don't currently support relative positioning of inner table
|
||||
// elements (bug 35168), so exclude them from sticky positioning too.
|
||||
StickyScrollContainer* ssc =
|
||||
StickyScrollContainer::GetStickyScrollContainerForFrame(this);
|
||||
if (ssc) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue