https://github.com/web-platform-tests/wpt
Revision bbafe29f8fadc182931b0c87daac2a215d49bd64 authored by Dong-hee Na on 10 October 2018, 07:29:59 UTC, committed by Chromium WPT Sync on 10 October 2018, 07:29:59 UTC
According to spec, if the start tag is a dialog tag
and the stack of open elements has a p element in
button scope then closes a p element.
Also if the end tag is a dialog tag and the stack of
close elements have a p element in button scope,
then it should close a p element.

reference:
https://html.spec.whatwg.org/multipage/parsing.html#parsing-main-inbody
html5lib-tests PR:
https://github.com/html5lib/html5lib-tests/pull/91

Bug: 704534
Change-Id: I5b90243eda3dfca7b14bf53c5767af65fc2b7dc5
1 parent 935717d
History
Tip revision: bbafe29f8fadc182931b0c87daac2a215d49bd64 authored by Dong-hee Na on 10 October 2018, 07:29:59 UTC
HTML parser: Fix parser to close the p tag
Tip revision: bbafe29
File Mode Size
META.yml -rw-r--r-- 79 bytes
idlharness.window.js -rw-r--r-- 827 bytes

back to top