Re: [cssom-view] Definition of svg layout box

Any comments from the editors?

Greetings,
Dirk

On Sep 22, 2013, at 4:25 AM, Dirk Schulze <dschulze@adobe.com> wrote:

> Adding links to definitions at end of mail.
> 
> On Sep 22, 2013, at 3:58 AM, Dirk Schulze <dschulze@adobe.com> wrote:
> 
>> Hi,
>> 
>> I think there is a problem with the term "SVG layout box". Since SVG does not have something like layout that is comparable with the CSS boxing model, it is hard to define this term. What is the intention to have a definition for SVG layout box? In which context will it be used?
>> 
>> Note that the specification does unify CSS layout box and SVG layout box to just layout box, but still heavily uses the former term.
>> 
>> To differ between CSS layout and SVG rendering, we often use the following text in other specifications (definition of "bounding client rect" in CSS Masking):
>> 
>> ""
>> * bounding client rect
>> The union of all border boxes for the element that has an associated CSS layout box and is not in the 'http://www.w3.org/2000/svg' namespace and its descendant elements. Or the object bounding box [SVG11], if the element does not have an associated CSS layout box and is in the 'http://www.w3.org/2000/svg' namespace. (See getBoundingClientRect [CSSOM-VIEW].)
>> ""
>> 
>> This explicit definition is caused by the <svg> element which is kind of a hybrid. As root SVG element in an HTML document, it is an HTML element with associated CSS layout box. As document root, it has no CSS layout box and is no HTML element. All other SVG elements do not have an associated CSS layout box.
>> 
>> Greetings,
>> Dirk
> 
> SVG layout box: http://dev.w3.org/csswg/cssom-view/#svg-layout-box
> CSS layout box: http://dev.w3.org/csswg/cssom-view/#css-layout-box
> layout box: http://dev.w3.org/csswg/cssom-view/#layout-box
> bounding client rect (CSS Masking): https://dvcs.w3.org/hg/FXTF/raw-file/tip/masking/index.html#bounding-client-rect
> 
> Greetings,
> Dirk

Received on Friday, 20 December 2013 17:07:27 UTC