- From: shans via GitHub <sysbot+gh@w3.org>
- Date: Wed, 17 Aug 2016 22:35:27 +0000
- To: public-houdini-archive@w3.org
There's a problem here. ```background: currentcolor;``` will repaint when color changes from red to green; but ```background: paint(foo); --background-color: currentcolor; ... registerPaint(“foo”, …, [“--background-color”]);``` will not repaint when color changes, because currentcolor is computationally idempotent. You could just add color to the list of sensitivities in registerPaint, but that seems like a bit of a hack given that currentcolor is valid all over the shop. Would it make sense to special-case currentcolor instead? This would require --background-color to be registered as a color property. -- GitHub Notification of comment by shans Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/247#issuecomment-240570262 using your GitHub account
Received on Wednesday, 17 August 2016 22:35:34 UTC