1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 17:07:34 +00:00

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. :^)
This commit is contained in:
Sam Atkins 2021-10-15 16:40:44 +01:00 committed by Linus Groh
parent caac0706c2
commit 46bba44f8b
4 changed files with 18 additions and 6 deletions

View file

@ -93,6 +93,8 @@ private:
bool m_matches { false };
};
String serialize_a_media_query_list(NonnullRefPtrVector<MediaQuery> const&);
}
namespace AK {