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

Re: Style sheet that hides UA-specific requirements

From: Simon Pieters <zcorpan@gmail.com>
Date: Wed, 02 May 2007 15:26:23 +0200
To: "Sander Tekelenburg" <st@isoc.nl>, public-html@w3.org
Message-ID: <op.trpbl9yd7a8kvn@hp-a0a83fcd39d2>

On Wed, 02 May 2007 07:41:10 +0200, Sander Tekelenburg <st@isoc.nl> wrote:

> At 23:53 +0200 UTC, on 2007-05-01, Simon Pieters wrote:
>
> [...]
>
>> For what it's worth... I've been working on a style sheet for the HTML5
>> spec that selects everything that does not apply to authors. [...]
>>     http://simon.html5.org/temp/author-view-of-html5.css
>
> Thanks. Good idea!
>
> While Maciej may well be right that it would be difficult to truly  
> separate
> UA and author requirements, such a separation seems a necessity to me if  
> we
> hope authors will actually try to read the spec. If this split can  
> indeed be
> achieved reliably through CSS that would be great!

I thought so too. :-)

> It could be done much easier and more reliably though if the HTML would
> indicate UA-specificness with something like class="ua-only" ;)

That would put the burden on the editor(s), and I think their time is  
better spent on actually editing the spec.

> Of course I
> don't know how the WHATWG spec is currently generated so I can't judge  
> how
> much work that would be.
>
> If this approach works, then this Style Sheet should probably be served  
> with
> the spec, as an alternate Style Sheet. And  given that there is a  
> multipage
> version, there would then need to be a mechanism to allow the choice for  
> an
> alternate Style Sheet to be persistent.

Indeed.

-- 
Simon Pieters
Received on Wednesday, 2 May 2007 13:26:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:15:58 GMT