- From: Laurent Perez via GitHub <sysbot+gh@w3.org>
- Date: Wed, 07 Aug 2019 21:43:42 +0000
- To: public-houdini-archive@w3.org
laurentperez has just created a new issue for https://github.com/w3c/css-houdini-drafts:
== [css-properties-values-api] is registerProperty <image> not implemented in Blink ? ==
* UA
Chrome Canary 78.0.3875.0
* Context
Trying to registerProperty as <image>
``
--im:url('fla.jpg');
CSS.registerProperty({
name: '--im',
syntax: '<image>',
inherits: false,
initialValue: 'none'
});``
* Result
The syntax provided is not a valid custom property syntax.
I can use the image loading trick list-style-image: var(--im); to get the image in the canvas.
However, I was expecting <image> to work
Using <url> syntax loads as a string, not as a CSSImage
Any advice ? Thanks
Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/925 using your GitHub account
Received on Wednesday, 7 August 2019 21:43:44 UTC