mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +01:00
Set the dirty flag of DeclarationBlock when the DeclarationBlock is modified and clear the flag when it's resyled.
This commit is contained in:
parent
011a7adf56
commit
636c47da29
3 changed files with 16 additions and 0 deletions
|
@ -329,6 +329,11 @@ pub trait TElement : Eq + PartialEq + Debug + Hash + Sized + Copy + Clone +
|
|||
/// Get this element's style attribute.
|
||||
fn style_attribute(&self) -> Option<&Arc<Locked<PropertyDeclarationBlock>>>;
|
||||
|
||||
/// Unset the style attribute's dirty bit.
|
||||
/// Servo doesn't need to manage ditry bit for style attribute.
|
||||
fn unset_dirty_style_attribute(&self) {
|
||||
}
|
||||
|
||||
/// Get this element's SMIL override declarations.
|
||||
fn get_smil_override(&self) -> Option<&Arc<Locked<PropertyDeclarationBlock>>> {
|
||||
None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue