mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Don't expose any AtomicRefCell directly from style traits
This lets us experiment with how we store this data on the DOM side.
This commit is contained in:
parent
4c61baee30
commit
516e8e0aa6
9 changed files with 67 additions and 42 deletions
|
@ -761,7 +761,7 @@ pub fn process_resolved_style_request<'dom>(
|
|||
|
||||
// We call process_resolved_style_request after performing a whole-document
|
||||
// traversal, so in the common case, the element is styled.
|
||||
if element.get_data().is_some() {
|
||||
if element.has_data() {
|
||||
return process_resolved_style_request_internal(node, pseudo, property, layout_root);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue