[svgwg] Issue: Implicit and allowed roles for SVG element in a HTML document marked as Structure chapter

svgeesus has just labeled an issue for https://github.com/w3c/svgwg as "Structure chapter":

== Implicit and allowed roles for SVG element in a HTML document ==
Related specs:
* https://www.w3.org/TR/html-aria/#svg
* https://www.w3.org/TR/SVG2/struct.html#implicit-aria-semantics

Both specifications define different implicit and allowed roles for the `svg` element.  My first assumption was:
```html
<html>
  <body>
    <svg> <!-- should validate against the html spec -->
      <svg> <!-- should validate against the svg2 spec -->
      </svg>
    </svg>
  </body>
</html>
```

But both are inside the SVG namespace, so I started wondering if my assumption is correct. And maybe the should only be validated to the SVG2 specification.

What is the correct behavior?

See https://github.com/w3c/svgwg/issues/372

Received on Wednesday, 17 January 2018 12:10:30 UTC