Edit

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

Branch :

  • Show log

    Commit

  • Author : Mike Dalessio
    Date : 2020-08-04 14:53:19
    Hash : e28d9347
    Message : add test coverage for incorrectly-closed comments this establishes the baseline behavior so that subsequent commits which modify this behavior are clear about what's being changed.

  • test/HTML/comments2.html
  • <html>
      <body>
        <div>
          <h3>
            <a href="https://html.spec.whatwg.org/multipage/parsing.html#parse-error-incorrectly-closed-comment">
              Incorrectly closed comment without a correctly closed comment
            </a>
          </h3>
          <div>
            <!--incorrectly closed comment--!><span id=under-test>whatwg guidance is that this should be a DOM node</span>
          </div>
        </div>
      </body>
    </html>