mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 07:18:39 +09:00
Issue #146 - Part 5: Treat table row groups as containing blocks.
This aligns our behavior with Gecko/Blink.
This commit is contained in:
parent
babd256e10
commit
af75c920b0
2 changed files with 11 additions and 0 deletions
|
|
@ -6629,6 +6629,9 @@ GetNearestBlockContainer(nsIFrame* frame)
|
|||
// Since the parent of such a block is either a normal block or
|
||||
// another such pseudo, this shouldn't cause anything bad to happen.
|
||||
// Also the anonymous blocks inside table cells are not containing blocks.
|
||||
//
|
||||
// If we ever start skipping table row groups from being containing blocks,
|
||||
// we need to remove the containing block assignment in StickyScrollContainer .
|
||||
while (frame->IsFrameOfType(nsIFrame::eLineParticipant) ||
|
||||
frame->IsBlockWrapper() ||
|
||||
// Table rows are not containing blocks either
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue