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 cda7bbf
Browse filesBrowse the repository at this point in the historyBrowse files
fix(core): make background: none clear the background color
`background: none` left background-color unset, so a native control such
as a button kept its own background. The shorthand parser did not accept
the `none` keyword at all, so the declaration failed to expand and none of
the background longhands changed.
The background parser now reads `none` as the image component, and the
`background` shorthand maps it to no image and, unless the declaration
also gives a color, to a transparent background-color, the initial value
CSS resets it to. Shorthands that only give an image, repeat or position
still leave background-color unset, so views keep their native default
background behind an image.
0 commit comments