mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-05 18:52:56 +00:00
LibHTML: Rename Document::normalize() to fixup() and always do it
Node.normalize() is a standard DOM API that coalesces Text nodes. To avoid clashing with that, rename it to fixup(). This patch also makes it happen automagically as part of parsing.
This commit is contained in:
parent
59795aab41
commit
850955053f
Notes:
sideshowbarker
2024-07-19 11:44:45 +09:00
Author: https://github.com/awesomekling
Commit: 850955053f
6 changed files with 4 additions and 5 deletions
|
@ -182,7 +182,6 @@ void HtmlView::load(const URL& url)
|
|||
}
|
||||
|
||||
auto document = parse_html(data, url);
|
||||
document->normalize();
|
||||
|
||||
set_document(document);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue