W3C home > Mailing lists > Public > www-validator-cvs@w3.org > May 2012

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

From: <bugzilla@jessica.w3.org>
Date: Wed, 23 May 2012 22:44:19 +0000
To: www-validator-cvs@w3.org
Message-ID: <bug-17163-169@http.www.w3.org/Bugs/Public/>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 23 May 2012 22:44:24 GMT