mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Fix initial value of align-content and justify-content
This commit is contained in:
parent
34fb10bd40
commit
4c27304541
2 changed files with 5 additions and 5 deletions
|
@ -117,10 +117,10 @@ const ALIGN_ALL_SHIFT: u32 = structs::NS_STYLE_ALIGN_ALL_SHIFT;
|
|||
pub struct AlignJustifyContent(u16);
|
||||
|
||||
impl AlignJustifyContent {
|
||||
/// The initial value 'auto'
|
||||
/// The initial value 'normal'
|
||||
#[inline]
|
||||
pub fn auto() -> Self {
|
||||
Self::new(ALIGN_AUTO)
|
||||
pub fn normal() -> Self {
|
||||
Self::new(ALIGN_NORMAL)
|
||||
}
|
||||
|
||||
/// Construct a value with no fallback.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue