mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:18:12 +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
6 changed files with 4 additions and 5 deletions
|
@ -28,7 +28,7 @@ public:
|
|||
|
||||
URL complete_url(const String&) const;
|
||||
|
||||
void normalize();
|
||||
void fixup();
|
||||
|
||||
StyleResolver& style_resolver();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue