color-js / elements

WIP
14 stars 1 forks source link

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

Closed LeaVerou closed 6 months ago

LeaVerou commented 6 months ago

Ideally it should just display the current color.

image
LeaVerou commented 6 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.