Edit

kc3-lang/libxml2/test/HTML/comments3.html

Branch :

  • Show log

    Commit

  • Author : Mike Dalessio
    Date : 2021-07-17 14:06:49
    Hash : 24cdc890
    Message : test coverage for abruptly-closed comments These establish baseline behavior so that the subsequent commit is clear about the behavior it will modify.

  • test/HTML/comments3.html
  • <html>
      <body>
        <div>
          <h3>
            <a href="https://html.spec.whatwg.org/multipage/parsing.html#parse-error-abrupt-closing-of-empty-comment">
              Abruptly closed comment
            </a>
          </h3>
          <div>
            <!-->the previous node should be an empty comment, and this should be a text node-->
          </div>
          <div>
            <!--->the previous node should be an empty comment, and this should be a text node-->
          </div>
        </div>
      </body>
    </html>