mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-03 21:12:08 +02:00
LibWeb: Align position-area values with the specification
This change renames the following `position-area` values: x-self-start -> self-x-start x-self-end -> self-x-end y-self-start -> self-y-start y-self-end -> self-y-end span-x-self-start -> span-self-x-start span-x-self-end -> span-self-x-end span-y-self-start -> span-self-y-start span-y-self-end -> span-self-y-end
This commit is contained in:
committed by
Sam Atkins
parent
15eb80cb5a
commit
51ea4a7e2a
Notes:
github-actions[bot]
2025-10-05 14:49:24 +00:00
Author: https://github.com/tcl3 Commit: https://github.com/LadybirdBrowser/ladybird/commit/51ea4a7e2a1 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6387 Reviewed-by: https://github.com/AtkinsSJ ✅
@@ -20,10 +20,10 @@
|
||||
"x-end",
|
||||
"span-x-start",
|
||||
"span-x-end",
|
||||
"x-self-start",
|
||||
"x-self-end",
|
||||
"span-x-self-start",
|
||||
"span-x-self-end"
|
||||
"self-x-start",
|
||||
"self-x-end",
|
||||
"span-self-x-start",
|
||||
"span-self-x-end"
|
||||
];
|
||||
|
||||
const vertical = [
|
||||
@@ -35,10 +35,10 @@
|
||||
"y-end",
|
||||
"span-y-start",
|
||||
"span-y-end",
|
||||
"y-self-start",
|
||||
"y-self-end",
|
||||
"span-y-self-start",
|
||||
"span-y-self-end"
|
||||
"self-y-start",
|
||||
"self-y-end",
|
||||
"span-self-y-start",
|
||||
"span-self-y-end"
|
||||
];
|
||||
|
||||
// Keywords that refer to the logical block/inline axis.
|
||||
|
||||
@@ -66,11 +66,11 @@
|
||||
};
|
||||
|
||||
const horizontal = [ "left", "right", "span-left", "span-right", "x-start",
|
||||
"x-end", "span-x-start", "span-x-end", "x-self-start",
|
||||
"x-self-end", "span-x-self-start", "span-x-self-end" ];
|
||||
"x-end", "span-x-start", "span-x-end", "self-x-start",
|
||||
"self-x-end", "span-self-x-start", "span-self-x-end" ];
|
||||
const vertical = [ "top", "bottom", "span-top", "span-bottom", "y-start",
|
||||
"y-end", "span-y-start", "span-y-end", "y-self-start",
|
||||
"y-self-end", "span-y-self-start", "span-y-self-end" ];
|
||||
"y-end", "span-y-start", "span-y-end", "self-y-start",
|
||||
"self-y-end", "span-self-y-start", "span-self-y-end" ];
|
||||
const inline = [ "inline-start", "inline-end", "span-inline-start",
|
||||
"span-inline-end" ];
|
||||
const block = [ "block-start", "block-end", "span-block-start",
|
||||
|
||||
Reference in New Issue
Block a user