ISSUE-2384: Order of rx / ry computation for rounded rects

Order of rx / ry computation for rounded rects

State:
CLOSED
Product:
SVG 1.1 F2 Last Call
Raised by:
Cameron McCormack
Opened on:
2010-10-21
Description:
This issue is raised based on Cameron's review of shapes-rect-03-t.svg[1].

[[ I think the spec is unclear about the interaction between the different clamping and defaulting behaviours for rx/ry on <rect>. The spec currently says:

If a properly specified value is provided for ‘rx’ but not for ‘ry’,
then the user agent processes the ‘rect’ element with the effective
value for ‘ry’ as equal to ‘rx’. If a properly specified value is
provided for ‘ry’ but not for ‘rx’, then the user agent processes the
‘rect’ element with the effective value for ‘rx’ as equal to ‘ry’. If
neither ‘rx’ nor ‘ry’ has a properly specified value, then the user
agent processes the ‘rect’ element as if no rounding had been
specified, resulting in square corners. If ‘rx’ is greater than half
of the width of the rectangle, then the user agent processes the
‘rect’ element with the effective value for ‘rx’ as half of the width
of the rectangle. If ‘ry’ is greater than half of the height of the
rectangle, then the user agent processes the ‘rect’ element with the
effective value for ‘ry’ as half of the height of the rectangle.

It’s not clear whether defaulting is done before clamping or vice versa.
I decided to just follow the steps in order, and those results don’t
match the test. (I think that order matches Firefox and WebKit,
though.)
]]

Opera and IE9 currently display the test (revision 1.6) without red, while Firefox, Webkit and Batik display it with some red.

[1] http://dev.w3.org/SVG/profiles/1.1F2/test/svg/shapes-rect-03-t.svg
Related Actions Items:
Related emails:
  1. SVG/profiles/1.1F2/publish shapes.html,1.77,1.78 changes.html,1.74,1.75 (from cvsmail@w3.org on 2011-01-30)
  2. SVG/profiles/1.1F2/master shapes.html,1.8,1.9 changes.html,1.73,1.74 (from cvsmail@w3.org on 2011-01-30)
  3. Minutes, 19 January 2011 SVG WG telcon (from schepers@w3.org on 2011-01-19)
  4. ISSUE-2384/ACTION-2917: Order of rx / ry computation for rounded rects (from cam@mcc.id.au on 2011-01-14)
  5. Re: {minutes} 9 December 2010 SVG WG telcon (from chris@w3.org on 2010-12-10)
  6. SVG WG Minutes December 2, 2010 (from patd@microsoft.com on 2010-12-02)
  7. status update (from cam@mcc.id.au on 2010-11-25)
  8. Agenda Nov 18 2010 SVG WG telcon (from ed@opera.com on 2010-11-17)
  9. Agenda, Thursday 11 November 2010 SVG WG telcon (from cam@mcc.id.au on 2010-11-10)
  10. Re: ISSUE-2384: Order of rx / ry computation for rounded rects [SVG Full 1.1] (from cam@mcc.id.au on 2010-11-09)
  11. RE: ISSUE-2384: Order of rx / ry computation for rounded rects [SVG Full 1.1] (from Andrew.Sledd@ikivo.com on 2010-11-08)
  12. Re: ISSUE-2384: Order of rx / ry computation for rounded rects [SVG Full 1.1] (from ed@opera.com on 2010-11-08)
  13. Re: ISSUE-2384: Order of rx / ry computation for rounded rects [SVG Full 1.1] (from cam@mcc.id.au on 2010-11-01)
  14. Agenda Oct 28 2010 telcon (from ed@opera.com on 2010-10-27)
  15. Re: ISSUE-2384: Order of rx / ry computation for rounded rects [SVG Full 1.1] (from ed@opera.com on 2010-10-25)
  16. Re: ISSUE-2384: Order of rx / ry computation for rounded rects [SVG Full 1.1] (from alex@abbra.com on 2010-10-22)
  17. Re: ISSUE-2384: Order of rx / ry computation for rounded rects [SVG Full 1.1] (from alex@abbra.com on 2010-10-22)
  18. Re: ISSUE-2384: Order of rx / ry computation for rounded rects [SVG Full 1.1] (from cam@mcc.id.au on 2010-10-22)
  19. Re: ISSUE-2384: Order of rx / ry computation for rounded rects [SVG Full 1.1] (from alex@abbra.com on 2010-10-22)
  20. ISSUE-2384: Order of rx / ry computation for rounded rects [SVG Full 1.1] (from sysbot+tracker@w3.org on 2010-10-21)

Related notes:

It is agreed that this clarification is accurate and should be made.

Patrick Dengler, 9 Dec 2010, 20:34:41

Display change log ATOM feed


Dirk Schulze <dschulze@adobe.com>, Chair, Chris Lilley <chris@w3.org>, Staff Contact
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: 2384.html,v 1.1 2020/01/17 13:21:36 carcone Exp $