W3C home > Mailing lists > Public > www-svg@w3.org > February 2014

Re: What should the bbox of a path without a d attribute be?

From: Cameron McCormack <cam@mcc.id.au>
Date: Thu, 27 Feb 2014 15:59:48 +1100
Message-ID: <530EC644.7020204@mcc.id.au>
To: Nikos Andronikos <nikos.andronikos@cisra.canon.com.au>
CC: Erik Dahlström <ed@opera.com>, www-svg@w3.org
Cameron McCormack wrote:
> Nikos Andronikos wrote:
>> My suggestion would change the meaning of d="" to the equivalent of
>> d="M0,0", and d=none would no longer exist.
>> d="L100 100" would also be valid as the "M0,0" would be inserted
>> automatically.
>> In all these cases
>> * the path would render
>> * the path would contribute to ancestor's bounding box (unless rendering
>> disabled via display:none or something)
>> But I hadn't thought about the requirement that d="" disables rendering.
>> This means my suggestion would not be backwards compatible and so
>> probably needs to be discarded.
> Yes I don't think we should do this, for that reason; we should make
> markers suddenly render at (0,0) when you write <path d=""/> or <path/>.

*shouldn't make
Received on Thursday, 27 February 2014 05:00:22 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:35 UTC