From 08209cc6654fee64ae4aed08df52b19f3f4a1f56 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sun, 13 Oct 2019 00:28:15 +0200 Subject: LibHTML: Handle comments in the CSS parser Turn consume_whitespace() into consume_whitespace_or_comments() and have it swallow /* comments */ as well. --- Base/home/anon/www/welcome.html | 7 +++- Libraries/LibHTML/Parser/CSSParser.cpp | 62 ++++++++++++++++++++-------------- 2 files changed, 42 insertions(+), 27 deletions(-) diff --git a/Base/home/anon/www/welcome.html b/Base/home/anon/www/welcome.html index 5f6739bd16..4fb6ab1d52 100644 --- a/Base/home/anon/www/welcome.html +++ b/Base/home/anon/www/welcome.html @@ -4,10 +4,15 @@ Welcome!