When style.backgroundColor is applied, all background related rules are written inline #48
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
On any demo with shift-click = change background color or when something like
d.querySelector('#c-0').style.backgroundColor = 'black'is executed, all the background related CSS rules are written in the tag.background-image: ; background-position-x: ; background-position-y: ; background-size: ; background-repeat-x: ; background-repeat-y: ; background-attachment: ; background-origin: ; background-clip: ; background-color: black;mentioned in commit
732d2c68bcThis is due to the background properties being set up with background: red, instead of background-color: red. I have updated the demos to take this into account, but each individual html file should be update in order to completely remove the bug
/
732d2c6