You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 5ee3f70
Browse filesBrowse the repository at this point in the historyBrowse files
fix(css): take out the declaration a lowered shorthand writes over (#22270)
* fix(css): take out the declaration a lowered shorthand writes over
A shorthand the target cannot read is lowered into the line it keeps plus
the longhands beside it, and that line is a value every target reads. The
drop read the shorthand by its source spelling, so an earlier declaration of
the property looked like the fallback the author wrote and stayed:
`text-decoration:underline;text-decoration:underline dotted` kept both where
a second pass took one out. Read by what is written instead.
* fix(css): ask only the shorthand whose lowering keeps it
`_writtenValue` reads the value off the first declaration the lowering wrote,
which is the shorthand only where the lowering keeps it. `inset`, `place-*`
and the pair shorthands are written as longhands alone, so it would have read
a longhand's value under the shorthand's name. Nothing consumed it, the drop
declining those for its own reasons, but the answer was wrong. Asked about
`text-decoration` alone now.
0 commit comments