mirror of
https://github.com/servo/servo.git
synced 2025-08-10 16:05:43 +01:00
Format style component.
This commit is contained in:
parent
31fc6cd565
commit
8dab4d659a
120 changed files with 2207 additions and 1417 deletions
|
@ -683,8 +683,13 @@ fn parse_self_position<'i, 't>(
|
|||
|
||||
fn list_self_position_keywords(f: KeywordsCollectFn, axis: AxisDirection) {
|
||||
f(&[
|
||||
"start", "end", "flex-start", "flex-end",
|
||||
"center", "self-start", "self-end",
|
||||
"start",
|
||||
"end",
|
||||
"flex-start",
|
||||
"flex-end",
|
||||
"center",
|
||||
"self-start",
|
||||
"self-end",
|
||||
]);
|
||||
if axis == AxisDirection::Inline {
|
||||
f(&["left", "right"]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue