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
|
@ -845,7 +845,7 @@ where
|
|||
//
|
||||
// By consequence, any element without data has no descendants with
|
||||
// data.
|
||||
if kid.get_data().is_some() {
|
||||
if kid.has_data() {
|
||||
kid.clear_data();
|
||||
parents.push(kid);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue