mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
style: Get rid of GetParentAllowServo in implementation of CSS 'justify-items' property.
Bug: 1384542 Reviewed-by: heycam MozReview-Commit-ID: 4qydjqSoVXs
This commit is contained in:
parent
06e2997d28
commit
2d9255bff1
7 changed files with 163 additions and 45 deletions
|
@ -292,6 +292,12 @@ impl JustifyItems {
|
|||
JustifyItems(ALIGN_AUTO)
|
||||
}
|
||||
|
||||
/// The value 'normal'
|
||||
#[inline]
|
||||
pub fn normal() -> Self {
|
||||
JustifyItems(ALIGN_NORMAL)
|
||||
}
|
||||
|
||||
/// Whether this value has extra flags.
|
||||
#[inline]
|
||||
pub fn has_extra_flags(self) -> bool {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue