W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2015

RE: Custom Elements: is=""

From: Léonie Watson <lwatson@paciellogroup.com>
Date: Sun, 14 Jun 2015 00:49:30 +0100
To: "'Bruce Lawson'" <brucel@opera.com>
Cc: "'Tobie Langel'" <tobie@codespeaks.com>, "'WebApps WG'" <public-webapps@w3.org>
Message-ID: <007401d0a633$981ec280$c85c4780$@paciellogroup.com>
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

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:27:31 UTC