- From: <bugzilla@jessica.w3.org>
- Date: Thu, 10 May 2012 14:28:59 +0000
- To: www-validator-cvs@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=17031
Summary: <foreignObject> is wrongly marked as invalid when
outside <switch>
Product: Validator (Nu)
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: General
AssignedTo: mike+validator@w3.org
ReportedBy: xn--mlform-iua@xn--mlform-iua.no
QAContact: www-validator-cvs@w3.org
Problem: The HTML5 validator stamps <foreignOBJECT> as invalid, unless is
occurs as child of the <switch> element. By contrast, W3's SVG specific
validation service considers it as fully valid even without the <switch>
element.
What does the spec say? Well, according to HTML5, then HTML5 supports
SVGTiny12. And SVG Tiny 1.2 says:
]] Usually, a 'foreignObject' will be used in conjunction with the 'switch'
element and the 'requiredExtensions' attribute to provide proper checking for
user agent support and provide an alternate rendering in case user agent
support is not available. [[
See: http://www.w3.org/TR/SVGTiny12/extend.html#ForeignObjectElement
Thus, according to the spec, there is perhaps a recommendation to use
<switch>, but there is no requirement to use <switch>.
--
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 Thursday, 10 May 2012 14:29:11 UTC