W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2007

[whatwg] Presentational safety valves

From: Henri Sivonen <hsivonen@iki.fi>
Date: Fri, 5 Jan 2007 12:15:06 +0200
Message-ID: <B34CF76C-8224-418C-A55A-61AD869D056F@iki.fi>
Disclaimer: This is based on reasoning from the spec--not on  
observing implementations.

On Jan 5, 2007, at 01:03, Ian Hickson wrote:

> Sorry for the confusion. By semantics I meant what should happen  
> for DOMs
> like:
>
>    <p> ... <rp> ... </rp> ... </p>

Presumably a CSS-based ruby-aware UA would have rp { display: none; }  
in the UA style sheet, so the above would display the way
<p> ...  ... </p>
would display.

>    <p> ... <rb> ... <rt> ... </rt> </rb> </p>

This one is hard.

>    <p> ... <ruby> ... </ruby> </p>

Since <ruby> and <rb> don't themselves establish off-baseline text or  
differently sized text, I'd expect that to render the same way as
<p> ...  ...  </p>

>    <p> ... <ruby> ... <rb> ... <rp> ... <rt> ... <rt> </rp> </rb> </ 
> ruby> </p>

Again, this is hard. It seems to me the error handling in this case  
isn't an HTML meaning issue but a CSS formatter issue.

-- 
Henri Sivonen
hsivonen at iki.fi
http://hsivonen.iki.fi/
Received on Friday, 5 January 2007 02:15:06 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:31 UTC