style: @container(width:0) shouldn't match elements with no box

Depends on D163879

Differential Revision: https://phabricator.services.mozilla.com/D163844
This commit is contained in:
Oriol Brufau 2022-12-06 12:57:50 +00:00 committed by Martin Robinson
parent 6c02e9fdaa
commit 647d813c6b
3 changed files with 17 additions and 16 deletions

View file

@ -944,7 +944,7 @@ pub trait TElement:
-> &<SelectorImpl as selectors::parser::SelectorImpl>::BorrowedNamespaceUrl;
/// Returns the size of the primary box of the element.
fn primary_content_box_size(&self) -> euclid::default::Size2D<app_units::Au>;
fn primary_content_box_size(&self) -> euclid::default::Size2D<Option<app_units::Au>>;
}
/// TNode and TElement aren't Send because we want to be careful and explicit