diff options
author | Oriol Brufau <oriol-bugzilla@hotmail.com> | 2022-12-06 12:57:50 +0000 |
---|---|---|
committer | Martin Robinson <mrobinson@igalia.com> | 2023-11-04 08:17:09 +0100 |
commit | 647d813c6b480b8f3f97d1447e20b2c844d0db83 (patch) | |
tree | 90705654ebe1598735f90ac2aff9a71635f53b2f /components/style/dom.rs | |
parent | 6c02e9fdaa541084ff8056d8e20bf1819e449c28 (diff) | |
download | servo-647d813c6b480b8f3f97d1447e20b2c844d0db83.tar.gz servo-647d813c6b480b8f3f97d1447e20b2c844d0db83.zip |
style: @container(width:0) shouldn't match elements with no box
Depends on D163879
Differential Revision: https://phabricator.services.mozilla.com/D163844
Diffstat (limited to 'components/style/dom.rs')
-rw-r--r-- | components/style/dom.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/style/dom.rs b/components/style/dom.rs index e89c662f89c..98246ae562c 100644 --- a/components/style/dom.rs +++ b/components/style/dom.rs @@ -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 |