[webkit-changes] [WebKit/WebKit] d9e3a6: HTML parser: allow <hr> to be used inside <select>...
Anne van Kesteren
noreply at github.com
Wed May 3 01:15:33 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: d9e3a6262dbe57fb519b959ccf1a134debc01dc6
https://github.com/WebKit/WebKit/commit/d9e3a6262dbe57fb519b959ccf1a134debc01dc6
Author: Anne van Kesteren <annevk at annevk.nl>
Date: 2023-05-03 (Wed, 03 May 2023)
Changed paths:
M LayoutTests/html5lib/resources/webkit02.dat
M Source/WebCore/html/parser/HTMLTreeBuilder.cpp
Log Message:
-----------
HTML parser: allow <hr> to be used inside <select> as a separator
https://bugs.webkit.org/show_bug.cgi?id=80686
rdar://107656886
Reviewed by Ryosuke Niwa.
Revive support in the HTML parser for <hr>-in-<select>, thereby making an existing UI feature much more accessible to web developers.
This reflects a recent change in the HTML Standard: https://github.com/whatwg/html/pull/9124.
* LayoutTests/html5lib/resources/webkit02.dat:
These are being upstreamed via https://github.com/html5lib/html5lib-tests/pull/167 and will then be incorporated into web-platform-tests.
* Source/WebCore/html/parser/HTMLTreeBuilder.cpp:
(WebCore::HTMLTreeBuilder::processStartTag):
Canonical link: https://commits.webkit.org/263624@main
More information about the webkit-changes
mailing list