mirror of
https://github.com/servo/servo.git
synced 2025-08-09 23:45:35 +01:00
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:
parent
6c02e9fdaa
commit
647d813c6b
3 changed files with 17 additions and 16 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue