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:
Anthony Ramine 2020-04-03 14:34:37 +02:00
parent 4c61baee30
commit 516e8e0aa6
9 changed files with 67 additions and 42 deletions

View file

@ -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);
}