LibWeb: Align position-area values with the specification
Some checks are pending
CI / macOS, arm64, Sanitizer, Clang (push) Waiting to run
CI / Linux, x86_64, Fuzzers, Clang (push) Waiting to run
CI / Linux, x86_64, Sanitizer, GNU (push) Waiting to run
CI / Linux, x86_64, Sanitizer, Clang (push) Waiting to run
Package the js repl as a binary artifact / Linux, arm64 (push) Waiting to run
Package the js repl as a binary artifact / macOS, arm64 (push) Waiting to run
Package the js repl as a binary artifact / Linux, x86_64 (push) Waiting to run
Run test262 and test-wasm / run_and_update_results (push) Waiting to run
Lint Code / lint (push) Waiting to run
Label PRs with merge conflicts / auto-labeler (push) Waiting to run
Push notes / build (push) Waiting to run

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:
Tim Ledbetter 2025-10-04 02:05:20 +01:00 committed by Sam Atkins
commit 51ea4a7e2a
Notes: github-actions[bot] 2025-10-05 14:49:24 +00:00
7 changed files with 828 additions and 828 deletions

View file

@ -4206,10 +4206,10 @@ RefPtr<StyleValue const> Parser::parse_position_area_value(TokenStream<Component
case Keyword::XEnd:
case Keyword::SpanXStart:
case Keyword::SpanXEnd:
case Keyword::XSelfStart:
case Keyword::XSelfEnd:
case Keyword::SpanXSelfStart:
case Keyword::SpanXSelfEnd:
case Keyword::SelfXStart:
case Keyword::SelfXEnd:
case Keyword::SpanSelfXStart:
case Keyword::SpanSelfXEnd:
case Keyword::SpanAll:
return true;
default:
@ -4229,10 +4229,10 @@ RefPtr<StyleValue const> Parser::parse_position_area_value(TokenStream<Component
case Keyword::YEnd:
case Keyword::SpanYStart:
case Keyword::SpanYEnd:
case Keyword::YSelfStart:
case Keyword::YSelfEnd:
case Keyword::SpanYSelfStart:
case Keyword::SpanYSelfEnd:
case Keyword::SelfYStart:
case Keyword::SelfYEnd:
case Keyword::SpanSelfYStart:
case Keyword::SpanSelfYEnd:
case Keyword::SpanAll:
return true;
default: