[Bug 11393] New: End tag fails to break out of foreign content

http://www.w3.org/Bugs/Public/show_bug.cgi?id=11393

           Summary: End tag fails to break out of foreign content
           Product: HTML WG
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: jgraham@opera.com
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org


Given the input:

<!DOCTYPE
html><body><table><caption><svg><g>foo</g><g>bar</g>baz</table><p>quux

the current spec requires that the </table> be ignored, resulting in:

#document
|  <!DOCTYPE html>
|  <html>
|    <head>
|    <body>
|      <table>
|        <caption>
|          <svg svg>
|            <svg g>
|              "foo"
|            <svg g>
|              "bar"
|            "baz"
|          <p>
|            "quux"

Previously (before the recent foreign content changes) it required:

#document
| <!DOCTYPE html>
| <html>
|   <head>
|   <body>
|     <table>
|       <caption>
|         <svg svg>
|           <svg g>
|             "foo"
|           <svg g>
|             "bar"
|           "baz"
|     <p>
|       "quux"

The old behaviour makes more sense to me.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Tuesday, 23 November 2010 17:34:37 UTC