2.1.125 [W3C-HTML51] Section 8.2.5.4.11 The "in caption" insertion mode
V0314: Some tags do not properly pop elements off the stack, clear the active formatting elements, or switch to "in table" insertion mode
The specification states:
-
8.2.5.4.11 The "in caption" insertion mode When the user agent is to apply the rules for the "in caption" insertion mode, the user agent must handle the token as follows: ... A start tag whose tag name is one of: "caption", "col", "colgroup", "tbody", "td", "tfoot", "th", "thead", "tr" An end tag whose tag name is "table" ... Otherwise ... Pop elements from this stack until a caption element has been popped from the stack. Clear the list of active formatting elements up to the last marker. Switch the insertion mode to "in table". Reprocess the token.
EdgeHTML Mode
The start tags caption
, col
, colgroup
, tbody
, td
, tfoot
, th
, thead
, tr
and the end tag
table
when nested within an open caption
tag do not properly pop elements off the stack,
clear the active formatting elements, or switch to "in table"
insertion mode.