[Bug 17163] New: collapse should be a valid value for SVG graphic element visibility attribute

https://www.w3.org/Bugs/Public/show_bug.cgi?id=17163

           Summary: collapse should be a valid value for SVG graphic
                    element visibility attribute
           Product: Validator (Nu)
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: General
        AssignedTo: mike+validator@w3.org
        ReportedBy: xinyang_qiu@yahoo.com
         QAContact: www-validator-cvs@w3.org


Verify the following SVG htm5 doc:

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>SVG 1.1, 2nd Edition Test Suite: 'Visibility' attribute set to
'collapse' value</title>
      <link rel="help"
href="http://www.w3.org/TR/SVG11/painting.html#VisibilityControl" />
  </head>
  <body>
    <div class="testdata">
      <p id="instructions">Test passes if there is no red visible on the
page.</p>
    </div>
    <div class="container">
<svg version="1.1" baseProfile="full" id="svg-root" width="100%" height="100%"
viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink">
  <g id="test-body-content">
<rect width="96" height="96" visibility="collapse" fill="red" />

  </g>
  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none"
stroke="#000"/>
</svg>
    </div>
  </body>
</html>

Actual:
Error: Bad value collapse for attribute visibility on element rect.
>From line 14, column 1; to line 14, column 64
content">↩<rect width="96" height="96" visibility="collapse" fill="red" />↩   
↩

Expected:
No error

See:
http://www.w3.org/TR/SVG11/painting.html#VisibilityControl

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Wednesday, 23 May 2012 22:44:22 UTC