mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
style: Add a couple FIXMEs I've noticed while working on this.
::slotted is hard.
This commit is contained in:
parent
cb1a951477
commit
14661e470f
2 changed files with 5 additions and 0 deletions
|
@ -505,6 +505,9 @@ where
|
|||
DescendantInvalidationKind::Slotted,
|
||||
);
|
||||
|
||||
// FIXME(emilio): Need to handle nested slotted nodes if `element`
|
||||
// is itself a <slot>.
|
||||
|
||||
debug_assert!(
|
||||
sibling_invalidations.is_empty(),
|
||||
"::slotted() shouldn't have sibling combinators to the right, \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue