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

Re: Custom Elements: is=""

From: Bruce Lawson <brucel@opera.com>
Date: Sat, 13 Jun 2015 16:33:34 +0100
Message-ID: <CAAFGRee8WevigW8d8shVgedf-VZz3QyvxT53AXLYJowz9euUzw@mail.gmail.com>
To: lwatson@paciellogroup.com
Cc: Tobie Langel <tobie@codespeaks.com>, WebApps WG <public-webapps@w3.org>
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.

 Browsers that don't know about web components will fall back to
<button> with <button
this-is-made-much-more-marvellous-by="my-button"> (or whatever)

Received on Saturday, 13 June 2015 15:34:02 UTC

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