Re: [editorial] HTML spec style switcher

Some questions:
if something is seen as being "for developers only", why is there a
visible link to something not-for-developers? Maybe it needs to be revisited
what a developer would consider useful and what they wouldn't?

or, should those links be hidden when in "developer view"? (I don't 
like this idea really)

or, if the destination really shouldn't be shown in "developer view"
but is requested, maybe that element with the impl class should lose
the impl class so long as its destination is the :target (css target)? 
without taking the entire page out of "developer view"?


I thought the style switcher was merely to make reading easier for
readers who didn't care about implementation details meant for
vendors.

-Mallory

On Mon, Jan 06, 2014 at 03:34:31PM +0000, Steve Faulkner wrote:
> a few months back, thanks to WG member Mallory AKA @stommepoes), there is a
> feature was added to the HTML spec to hide implementation specific content,
> so web authors/developers can have a view the content most relevant to
> their needs.
> 
> The 'developer view' style switcher can be operated via a button (top right
> of view port)
> 
> What it does, essentially, is apply CSS display:none style to any element
> that has a class="impl".
> 
> It also reduces limits the number of characters per line to take into
> account WCAG 2.0 advice on line length.
> 
> Note: If a user follows a link while in developer view, that points to
> content that has class="impl" the developer view is disabled.
> 
> any comments/feedback on this feature are welcome
> --
> 
> Regards
> 
> SteveF
> HTML 5.1 <http://www.w3.org/html/wg/drafts/html/master/>

Received on Monday, 6 January 2014 16:33:15 UTC