mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 19:04:45 +00:00
servo: Merge #9378 - Invalidate node style after style property removed (from paulrouget:removeProperty); r=KiChjang
Fix #9377 Source-Repo: https://github.com/servo/servo Source-Revision: 8c0736211bf3e597b4d56a6efe6479a8c2d97c14
This commit is contained in:
parent
9a07334408
commit
0b5e2eda05
@ -329,6 +329,10 @@ impl CSSStyleDeclarationMethods for CSSStyleDeclaration {
|
||||
None => elem.remove_inline_style_property(&property),
|
||||
}
|
||||
|
||||
let document = document_from_node(elem);
|
||||
let node = elem.upcast();
|
||||
document.content_changed(node, NodeDamage::NodeStyleDamaged);
|
||||
|
||||
// Step 6
|
||||
Ok(value)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user