mirror of
https://github.com/servo/servo.git
synced 2025-10-04 02:29:12 +01:00
style: Fix elements not being query containers for the pseudo-element they originate. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D164807
This commit is contained in:
parent
c511b9c3f9
commit
661e7d5c48
5 changed files with 129 additions and 50 deletions
|
@ -281,7 +281,7 @@ where
|
|||
};
|
||||
|
||||
let is_root_element = pseudo.is_none() && element.map_or(false, |e| e.is_root());
|
||||
let container_size_query = ContainerSizeQuery::for_option_element(element);
|
||||
let container_size_query = ContainerSizeQuery::for_option_element(element, None);
|
||||
|
||||
let mut context = computed::Context::new(
|
||||
// We'd really like to own the rules here to avoid refcount traffic, but
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue