mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 03:57:15 +02:00
This is in a weird position where the spec tells us to discard the comments, but then we have to preserve the original source text which may include comments. As a compromise, I'm treating each comment as a whitespace token - comments are functionally equivalent to whitespace so this should not have any behaviour changes beyond preserving the original text.
48 KiB
48 KiB