mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-06 09:01:53 +00:00
LibWeb: Fix typo in spec comment for non-list single line containers
This commit is contained in:
parent
acef5a34de
commit
e5b107b6b6
Notes:
github-actions[bot]
2025-01-10 22:39:43 +00:00
Author: https://github.com/gmta
Commit: e5b107b6b6
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3216
1 changed files with 1 additions and 1 deletions
|
@ -1720,7 +1720,7 @@ bool is_name_of_an_element_with_inline_contents(FlyString const& local_name)
|
|||
// https://w3c.github.io/editing/docs/execCommand/#non-list-single-line-container
|
||||
bool is_non_list_single_line_container(GC::Ref<DOM::Node> node)
|
||||
{
|
||||
// A non-list single-line container is an HTML element with local name "address", "divis_", "h1", "h2", "h3", "h4",
|
||||
// A non-list single-line container is an HTML element with local name "address", "div", "h1", "h2", "h3", "h4",
|
||||
// "h5", "h6", "listing", "p", "pre", or "xmp".
|
||||
if (!is<HTML::HTMLElement>(*node))
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue