W3C home > Mailing lists > Public > www-svg@w3.org > April 2010

Elliptical arc minimal syntax

From: Jeff Schiller <codedread@gmail.com>
Date: Mon, 5 Apr 2010 07:49:19 -0500
Message-ID: <k2sda131fde1004050549if31dde59waa1a278075852939@mail.gmail.com>
To: www-svg <www-svg@w3.org>
<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"
  <title>Layer 1</title>
  <path id="svgbar" d="m23,45a7,7 0 1 00,10h54a7,7 0 1 00,-10z"/>

Is the following path correct according to the grammar at
http://www.w3.org/TR/SVG11/paths.html#PathDataBNF ?  I guess the
grammar also needs to take into account the rule that "Superfluous
white space and separators such as commas can be eliminated"

i.e. is it legal for browsers to skip the space and comma between the
largeArcFlag and the sweepFlag because those values can only be 0 or

  * Mozilla, Opera and IE9 allow this.
  * WebKit does not.

Received on Monday, 5 April 2010 12:49:58 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:54:26 UTC