This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
In foreign content mode an EOF is handled as follows: "Pop elements from the stack of open elements until either a math element or an svg element has been popped from the stack, and reprocess the token." Since the insertion mode is not changed, this just leads to the same step being called until the stack of open elements is empty. The step should probably the switch the insertion mode back to the secondary insertion mode.
*** Bug 10115 has been marked as a duplicate of this bug. ***
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document: http://dev.w3.org/html5/decision-policy/decision-policy.html Status: Accepted Change Description: see diff given below Rationale: Concurred with reporter's comments. This also affected cases like <svg>.... <b>Hello world!</b> ...where the <svg> block isn't closed.
Checked in as WHATWG revision r5159. Check-in comment: Forgot to switch out of the foreign content mode when bailing out of it. Oops. http://html5.org/tools/web-apps-tracker?from=5158&to=5159