@overholt not sure you could give me an answer but is it somehow possible in the web to invent a custom css-attribute as a none browser vendor? Eg for my custom webcomponent?
1
1
The link gives me not found but if it should have been developer.mozilla.org/en-US/… then this only allows me to read data but not set a custom attribute on a node
1
1
Replying to @tomsontom @overholt
Have a look at drafts.csswg.org/css-variabl… . I'd give you an MDN link, but @Twitter breaks it since it ends with a *.

Dec 9, 2017 · 7:48 PM UTC

1
may I come back to this old thread - I'm afraid it is not really what I'm looking for. Imaging I write my own web-component (a drop-down) and I want to control via css the number of items visible in the popup-list - wanted to write .my-dropdown { --my-visible-items: 10 }
1