mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +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
|
@ -262,6 +262,8 @@ impl ElementData {
|
|||
}
|
||||
|
||||
let mut xbl_stylists = SmallVec::<[_; 3]>::new();
|
||||
// FIXME(emilio): This is wrong, needs to account for ::slotted rules
|
||||
// that may apply to elements down the tree.
|
||||
let cut_off_inheritance =
|
||||
element.each_applicable_non_document_style_rule_data(|data, quirks_mode| {
|
||||
xbl_stylists.push((data, quirks_mode))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue