mirror of
https://github.com/servo/servo.git
synced 2025-08-09 07:25:35 +01:00
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:
parent
4d8f55a7cb
commit
84cabf2416
1 changed files with 6 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue