Only allow UA widgets as children of media elements

Do not allow pseudo-elements for replaced elements
This commit is contained in:
Fernando Jiménez Moreno 2019-05-13 17:29:23 +02:00
parent 618f528344
commit e344203c11
6 changed files with 16 additions and 11 deletions

View file

@ -490,4 +490,6 @@ pub trait ThreadSafeLayoutElement:
.clone(),
}
}
fn is_shadow_host(&self) -> bool;
}