color-js / elements

WIP
12 stars 1 forks source link

`<color-swatch>` No color shown if `color` attribute is used and element contents are empty #76

Closed LeaVerou closed 3 months ago

LeaVerou commented 3 months ago

Ideally it should just display the current color.

image
LeaVerou commented 3 months ago

Actually, upon second thought, I think this may be ok. Addressing it will be extraordinarily complex (we'll need to keep track of where the element content is coming from) and not sure the cost-benefit is worth it.