summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/CSS/MediaQuery.h
diff options
context:
space:
mode:
authorSam Atkins <atkinssj@serenityos.org>2021-10-15 16:40:44 +0100
committerLinus Groh <mail@linusgroh.de>2021-10-15 18:12:20 +0100
commit46bba44f8bb184ae87ffd00ab4347bbe8ed6b2a7 (patch)
treedfa52f60ed5b678f426fc24347c7cb596ff06efa /Userland/Libraries/LibWeb/CSS/MediaQuery.h
parentcaac0706c2a1ad10d65e0d382aefa7a29b9e8d21 (diff)
downloadserenity-46bba44f8bb184ae87ffd00ab4347bbe8ed6b2a7.zip
LibWeb: Move media-query-list serialization code to MediaQuery.{h,cpp}
It's not a complicated algorithm, but having it in one place instead of 2, and with spec comments, is nice. :^)
Diffstat (limited to 'Userland/Libraries/LibWeb/CSS/MediaQuery.h')
-rw-r--r--Userland/Libraries/LibWeb/CSS/MediaQuery.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/CSS/MediaQuery.h b/Userland/Libraries/LibWeb/CSS/MediaQuery.h
index 0e4e3fad65..5cb14662bf 100644
--- a/Userland/Libraries/LibWeb/CSS/MediaQuery.h
+++ b/Userland/Libraries/LibWeb/CSS/MediaQuery.h
@@ -93,6 +93,8 @@ private:
bool m_matches { false };
};
+String serialize_a_media_query_list(NonnullRefPtrVector<MediaQuery> const&);
+
}
namespace AK {