I created a div
element and tried to change its background-size
property to 100% auto, but it didn't work (I'm currently using chrome 47). Why can't I do this? How can I fix it?
Fiddle
Example code above changes background-size properties of two elements to auto 100%
and 100% auto
. My code prints
First element's background-size property after change:
auto 100% - Matches with auto 100%
Second element's background-size property after change:
100% - Does not match with 100% auto