Commit 526006c6 authored by David Sveningsson's avatar David Sveningsson
Browse files

fix(html5): `<audio>` and `<video>` allows `<track>` and `<source>` transparently

fixes #104
parent bef8a166
Pipeline #251847339 passed with stages
in 11 minutes and 20 seconds
......@@ -91,7 +91,7 @@
"phrasing": true,
"embedded": true,
"interactive": ["hasAttribute", "controls"],
"transparent": true,
"transparent": ["@flow"],
"attributes": {
"preload": ["", "none", "metadata", "auto"]
},
......@@ -1200,7 +1200,7 @@
"phrasing": true,
"embedded": true,
"interactive": ["hasAttribute", "controls"],
"transparent": true,
"transparent": ["@flow"],
"attributes": {
"preload": ["", "none", "metadata", "auto"]
},
......
......@@ -6,6 +6,14 @@
<!-- should be transparent -->
<span><audio><span>foo</span></audio></span>
<!-- should allow <source> and <track> when used transparently -->
<div>
<audio>
<source>
<track>
</audio>
</div>
<!-- should allow children in proper order -->
<audio>
<source>
......
......@@ -6,6 +6,14 @@
<!-- should be transparent -->
<span><video><span>foo</span></video></span>
<!-- should allow <source> and <track> when used transparently -->
<div>
<video>
<source>
<track>
</video>
</div>
<!-- should allow children in proper order -->
<video>
<source>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment