W3C home > Mailing lists > Public > www-svg@w3.org > December 2005

[SVGMobile12] SVGT12-207: "positioning properties" and other incorrect prose regarding CSS

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 28 Dec 2005 15:14:45 +0000 (UTC)
To: www-svg@w3.org
Message-ID: <Pine.LNX.4.62.0512281507300.7669@dhalsim.dreamhost.com>


Section 7.2 The initial viewport says:

# the 'svg' element must be treated as a replaced element in a CSS context

This is good.

It also says:

# Under these conditions, [...] so the positioning properties establish 
# the viewport's width.
#
# Similarly, if CSS-compatible height properties [...] properties on the 
# referencing element (or rootmost svg element for inline SVG content), 
# then these positioning properties establish the viewport's height; 
# otherwise, the height attribute on the 'svg' element establishes the 
# viewport's height.

The root-most 'svg' element should be defined as being a replaced element 
in a CSS context at all times. This requirement covers all the rest of 
what this prose attempts to describe; it handles the sizing of the 
horizontal and vertical dimensions as one unit, it handles both the 
interaction of the "positioning" properties with SVG as well as the 
interaction of all the other layout-related properties, and so forth. The 
text that attempts to cover these cases in the SVG spec is therefore 
merely confusing.

Please remove all this text, or decouple it from the prose that describes 
the interaction with CSS, other than the initial statement quoted at the 
top of this e-mail. (It is fine if you need this text to cover 
XSL-specific situations, for instance, but it should not attempt to cover 
the CSS situations, since the CSS specs handle all of those.)

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 28 December 2005 15:15:22 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:32 GMT