Skip to content

Commit

Permalink
Bug 1871221 [wpt PR 43766] - Text spacing trim revamp, a=testonly
Browse files Browse the repository at this point in the history
Automatic update from web-platform-tests
Adjust syntax of text-spacing[-trim] to match CSSWG resolution

See w3c/csswg-drafts#9511

--
Adjust behavior of existing tests to match CSS spec change

See w3c/csswg-drafts#9511

--

wpt-commits: 028df8b0a1712346fe9cf95757d35b277031a167, b12ce07e54c644455dcf088584e586783e002871
wpt-pr: 43766

UltraBlame original commit: 691e2ee7a1d61dc28a1d13dd8c43b99bc4a4ab5d
  • Loading branch information
marco-c committed Jan 1, 2024
1 parent 44af412 commit b2e3699
Show file tree
Hide file tree
Showing 10 changed files with 979 additions and 221 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -217,12 +217,9 @@
spacing
"
"
space
trim
-
first
"
"
normal
start
"
)
;
Expand All @@ -242,54 +239,6 @@
;
/
/
Two
values
syntax
.
test_computed_value
(
"
text
-
spacing
"
"
allow
-
end
space
-
first
"
)
;
test_computed_value
(
"
text
-
spacing
"
"
space
-
first
allow
-
end
"
"
allow
-
end
space
-
first
"
)
;
/
/
text
-
autospace
Expand All @@ -311,9 +260,7 @@
no
-
autospace
space
-
first
normal
"
"
no
Expand Down Expand Up @@ -357,9 +304,7 @@
spacing
"
"
space
-
first
normal
no
-
autospace
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,6 @@
of
[
'
normal
'
'
none
'
'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,7 @@
trim
"
"
space
-
all
normal
"
)
;
Expand All @@ -187,9 +185,9 @@
trim
"
"
trim
space
-
auto
all
"
)
;
Expand All @@ -205,7 +203,7 @@
"
trim
-
all
auto
"
)
;
Expand All @@ -219,25 +217,9 @@
trim
"
"
allow
-
end
"
)
;
test_computed_value
(
"
text
-
spacing
-
trim
"
"
space
-
first
all
"
)
;
Expand All @@ -251,12 +233,9 @@
trim
"
"
allow
-
end
space
trim
-
first
start
"
)
;
Expand All @@ -273,17 +252,6 @@
space
-
first
allow
-
end
"
"
allow
-
end
space
-
first
"
)
;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@
trim
"
"
normal
none
"
)
;
Expand Down Expand Up @@ -223,6 +223,60 @@
"
)
;
test_invalid_value
(
"
text
-
spacing
-
trim
"
"
allow
-
end
"
)
;
test_invalid_value
(
"
text
-
spacing
-
trim
"
"
allow
-
end
space
-
first
"
)
;
test_invalid_value
(
"
text
-
spacing
-
trim
"
"
space
-
first
allow
-
end
"
)
;
<
/
script
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,23 +151,7 @@
trim
"
"
auto
"
)
;
test_valid_value
(
"
text
-
spacing
-
trim
"
"
space
-
all
normal
"
)
;
Expand All @@ -181,8 +165,6 @@
trim
"
"
trim
-
auto
"
)
Expand All @@ -197,7 +179,7 @@
trim
"
"
trim
space
-
all
"
Expand All @@ -213,9 +195,9 @@
trim
"
"
allow
trim
-
end
auto
"
)
;
Expand All @@ -229,9 +211,9 @@
trim
"
"
space
trim
-
first
all
"
)
;
Expand All @@ -245,12 +227,9 @@
trim
"
"
allow
-
end
space
trim
-
first
start
"
)
;
Expand All @@ -267,9 +246,6 @@
space
-
first
allow
-
end
"
)
;
Expand Down

0 comments on commit b2e3699

Please sign in to comment.