Automatic update from web-platform-tests
[css-text-decor-4] Fix the expected serialization of text-decoration.
We add some test cases for `text-decoration-thickness` in `text-decoration`.
Conceptually the process of serializing a shorthand in getComputedStyle
should be something like:
* Calling to_resolved_value() on all the values for the properties of the
shorthand. This should turn the color as an rgb(a) thing, as colors are
always serialized as resolved from getComputedStyle().
* Going from the resolved value al the way to the specified value. This makes
the color still an rgba color, not currentColor.
* Serialize the same way we serialize specified shorthands.
So we always serizlize `text-decoration-color` because it is impossible to be
`currentColor`. For other keywords, if they are initial values, we omit them.
--
[css-text-decor-4] Fix text-decoration-serialization.tentative.html and variable-presentation-attribute.html.
text-decoration-serialization should be updated because we would like to
update the serialization of text-decoration.
variable-presentation-attribute.html tests CSS variable and SVG
presentation attributes. In SVG2, the text decoration is determined
respectively by the text-decoration-line and text-decoration-style, so we
test these two longhands instead, to avoid hitting the change of the
serialization of text-decoration.
--
wpt-commits: e401dc10f827102d7db16b46e9f4ec754da0fd39, 28cd992bac1b3d099f53be7126c3b19c8beb16aa
wpt-pr: 18866