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


           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,

Given the input:


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

|  <!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:

| <!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