mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-04 22:37:29 +09:00
Issue #1641 - Implement CSS flow-root keyword
This is just a clean port of 1322191 and follow-up 1325970. It really seems to add create a new way to access existing code relating to block formatting and floating elements rather than implementing new functionality, and it is mercifully straightforwards.
This commit is contained in:
parent
0af26afc22
commit
9532970df5
15 changed files with 68 additions and 16 deletions
|
|
@ -2890,7 +2890,8 @@ struct MOZ_NEEDS_MEMMOVABLE_MEMBERS nsStyleDisplay
|
|||
return mozilla::StyleDisplay::Block == mDisplay ||
|
||||
mozilla::StyleDisplay::ListItem == mDisplay ||
|
||||
mozilla::StyleDisplay::InlineBlock == mDisplay ||
|
||||
mozilla::StyleDisplay::TableCaption == mDisplay;
|
||||
mozilla::StyleDisplay::TableCaption == mDisplay ||
|
||||
mozilla::StyleDisplay::FlowRoot == mDisplay;
|
||||
// Should TABLE_CELL be included here? They have
|
||||
// block frames nested inside of them.
|
||||
// (But please audit all callers before changing.)
|
||||
|
|
@ -2902,7 +2903,8 @@ struct MOZ_NEEDS_MEMMOVABLE_MEMBERS nsStyleDisplay
|
|||
mozilla::StyleDisplay::WebkitBox == mDisplay ||
|
||||
mozilla::StyleDisplay::Grid == mDisplay ||
|
||||
mozilla::StyleDisplay::ListItem == mDisplay ||
|
||||
mozilla::StyleDisplay::Table == mDisplay;
|
||||
mozilla::StyleDisplay::Table == mDisplay ||
|
||||
mozilla::StyleDisplay::FlowRoot == mDisplay;
|
||||
}
|
||||
|
||||
static bool IsDisplayTypeInlineOutside(mozilla::StyleDisplay aDisplay) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue