RE: Custom Elements: is=""

From: Bruce Lawson [mailto:brucel@opera.com] 
Sent: 13 June 2015 16:34

On 13 June 2015 at 15:30, Léonie Watson <lwatson@paciellogroup.com> wrote:
> why not use the extends= syntax you mentioned?
>
> <my-button extends="button" attributes>Push</my-button>

because browsers that don't know about web components wouldn't pay any attention to <my-button>, and render "Push" as plain text.

Of course! I should have thought of that.

Léonie.


-- 
Léonie Watson - Senior accessibility engineer
@LeonieWatson @PacielloGroup PacielloGroup.com

Received on Saturday, 13 June 2015 23:49:52 UTC