W3C home > Mailing lists > Public > public-html@w3.org > July 2007

Re: HTML Extensibility Through Script

From: Jon Barnett <jonbarnett@gmail.com>
Date: Tue, 10 Jul 2007 21:04:06 -0500
Message-ID: <bde87dd20707101904m78484469y5e78f83b96220a8b@mail.gmail.com>
To: "Doug Schepers" <doug.schepers@vectoreal.com>
Cc: public-html@w3.org
On 7/10/07, Doug Schepers <doug.schepers@vectoreal.com> wrote:
> Hi, Andrew-
> This seems to have drifted off-topic rather quickly... To refocus, I
> wasn't asking for a way to sniff browser strings, which is a brittle way
> to determine the featureset of the UA.  I intended this thread to
> discuss the possibility of conditional operators, either through a
> script API or (preferably) via a declarative markup or featurestring.

Is there a use case that isn't covered by DOMImplementation.hasFeature()?

For example, is there a UA that would render MathML, and support scripting,
but not respond correctly to .hasFeature("org.w3c.dom.mathml", null); ?

Andrew Fedoniouk wrote:
> What are the use cases for loading JS through CSS?  That strike me, at
> least superficially, as a bad design.

Well, there is XBL, which is a viable method of using a script to add
support for a foreign namespace.  But I guess that's not what you're asking.

And I guess in the case of conditionally binding an element with XBL, you'd
use scripting to do the binding instead of CSS.

Jon Barnett
Received on Wednesday, 11 July 2007 02:04:09 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:24 UTC