Re: SVG and MathML in text/html

On Mar 11, 2008, at 22:24, Ian Hickson wrote:

> What would be most useful at this point is more discussion on the use
> cases. That is, what workflows do people want to see enabled? What  
> is it
> you want to do that you can't do today?


Use case: Including a contextual icon whose height is synced with text  
size and that degrades into nothingness.

Details:
  * The icon depends on the adjacent text content. It isn't mere style  
from a template made by a designer ahead of time. It is something the  
author of the text pastes in with the a text article. (This is here to  
counter "it's presentational; use CSS" solutions. :-)
  * The icon must be pasteable from the source of a stand-alone SVG  
icon.
  * When SVG in text/html is supported, the height of the icon must be  
specifiable in ems. The width must come from the aspect ratio of the  
viewBox.
  * When SVG in text/html is not supported, the icon must degrade into  
nothingness.
    - There must not be a blank CSS box of the size of the icon.
    - If the icon contains SVG text, this text must not be visible  
when the SVG rendering is not there.

-- 
Henri Sivonen
hsivonen@iki.fi
http://hsivonen.iki.fi/

Received on Tuesday, 11 March 2008 20:49:20 UTC