[css-houdini-drafts] [css-properties-values-api] is registerProperty <image> not implemented in Blink ? (#925)

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 &lt;image&gt; to work
Using &lt;url&gt; 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