Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-5053319

REGRESSION: <style> tag in body content breaks HTML structure

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 5.0
    • client-libs



      Name: anR10225 Date: 05/26/2004


        html Parser closes some tags from the stack when encounters <style>
      tag within <body> context, though it should just ignore it.
        load the following HTML into editor pane :
      <table border=1>
        <tr><td>
       aaa
      <style> </style>
       bbb
        </tr></td>
      </table>

      This HTML is displayed as follows :
      -------
      | aaa |
      -------
      | bbb |
      -------

      changing <style> tag to any invalid one fixes this :
      -----------
      | aaa bbb |
      -----------
      The same picture should be with the <style> tag.

      This bug is the regression cased by the fix for the bug
      4813155 (HTML style element not handled)

      ======================================================================

            sdvsunw Sdv Sdv (Inactive)
            naasunw Naa Naa (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: