This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 24761 - "The term # SVG layout box refers to the same te..."
Summary: "The term # SVG layout box refers to the same te..."
Status: NEW
Alias: None
Product: CSS
Classification: Unclassified
Component: CSSOM View (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: Simon Pieters
QA Contact: public-css-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-21 09:47 UTC by Erik Dahlström
Modified: 2015-09-09 11:55 UTC (History)
0 users

See Also:


Attachments

Description Erik Dahlström 2014-02-21 09:47:10 UTC
http://dev.w3.org/csswg/cssom-view/#terminology

[[
The term # SVG layout box refers to the same term in SVG.
]]

This needs to be clarified. 

The stroke-width influenced the box in IE11, but not in the other browsers. TC: http://jsfiddle.net/N6wF7/

A clip-path did not influence the reported box in any of the implementations, TC: http://jsfiddle.net/zxYp6/.

Markers influenced the reported box in Firefox and IE, but not in Presto or Chrome. Note that IE reports a different box than Firefox, even though the rendering looks the same. TC: http://jsfiddle.net/bp59B/

It should be possible to define this term by using the new getBBox method in SVG2: https://svgwg.org/svg2-draft/types.html#SVGBoundingBoxOptions. 

Browsers tested: Chrome 34.0.1788.0 dev, Opera 12.16 (Presto), Firefox Nightly 29.0a1 (2014-01-08), IE 11.0.9600.16438.
Comment 1 Simon Pieters 2015-09-09 11:55:43 UTC
fs says what Gecko does now seems closer to SVG's "decorated bounding box"