style: Support Grid/Flex/Table/Column layout for the rendered legend of a fieldset.

Differential Revision: https://phabricator.services.mozilla.com/D101555
This commit is contained in:
Mats Palmgren 2021-01-30 13:47:10 +00:00 committed by Emilio Cobos Álvarez
parent 4d8f55a7cb
commit 84cabf2416

View file

@ -266,6 +266,12 @@ impl Display {
.unwrap()
}
/// Returns the raw underlying u16 value.
#[inline]
pub const fn to_u16(&self) -> u16 {
self.0
}
/// Whether this is `display: inline` (or `inline list-item`).
#[inline]
pub fn is_inline_flow(&self) -> bool {