mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
style: Invalidate parts in nested shadow trees correctly.
Differential Revision: https://phabricator.services.mozilla.com/D54010
This commit is contained in:
parent
e3009a4de9
commit
f8ceb5cb84
6 changed files with 104 additions and 43 deletions
|
@ -523,6 +523,9 @@ pub trait TElement:
|
|||
/// Returns whether this element has a `part` attribute.
|
||||
fn has_part_attr(&self) -> bool;
|
||||
|
||||
/// Returns whether this element exports any part from its shadow tree.
|
||||
fn exports_any_part(&self) -> bool;
|
||||
|
||||
/// The ID for this element.
|
||||
fn id(&self) -> Option<&WeakAtom>;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue