You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the site is unsure ("I doubt") for both video as child and as parent. The correct answer to the question is a definitive no.
It looks like the site is doubting because of the transparent content model:
Because the parent <audio/> tag has the Transparent content option and the ability to nest the tag is not fully understood.
But when we read the actual content model section for these tags, we will find the following:
[...] then transparent, but with no media element descendants.
The only media elements in the HTML spec today are video and audio, see 4.8.12 Media elements. So we can definitively say that even though these elements have a transparent content model they can never be nested inside eachother.
I am not sure how this could be parsed out of the spec in an easy way. It might not be possible. But thought I would leave it here as a note anyway. Thanks for this cool project!
The text was updated successfully, but these errors were encountered:
Hi @Zegnat !
Thank you for your feedback!
It's so cool that reviews come from those who use the site!
Based on this feedback as well as past experience and bugs, I am preparing version 2.0 in which I think I can fix the problems described in other open issues. There will be a different approach in evaluating the possibility of including a tag in a tag.
Currently the site is unsure ("I doubt") for both video as child and as parent. The correct answer to the question is a definitive no.
It looks like the site is doubting because of the transparent content model:
But when we read the actual content model section for these tags, we will find the following:
The only media elements in the HTML spec today are
video
andaudio
, see 4.8.12 Media elements. So we can definitively say that even though these elements have a transparent content model they can never be nested inside eachother.I am not sure how this could be parsed out of the spec in an easy way. It might not be possible. But thought I would leave it here as a note anyway. Thanks for this cool project!
The text was updated successfully, but these errors were encountered: