From 959de19418c831e1384f6d65a45971dd1d6a4287 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Thu, 4 Jun 2020 16:06:32 +0200 Subject: LibWeb: Process style sheets in document order Until now we would simply apply stylesheets in the order they finished loading. This patch adds a StyleSheetList object that hangs off of each Document and contains all the style sheets in document order. There's still a lot of work to do for a proper cascade, but at least this makes us consistently wrong every time. :^) --- Libraries/LibWeb/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'Libraries/LibWeb/CMakeLists.txt') diff --git a/Libraries/LibWeb/CMakeLists.txt b/Libraries/LibWeb/CMakeLists.txt index 023a60be8b..02b98b3133 100644 --- a/Libraries/LibWeb/CMakeLists.txt +++ b/Libraries/LibWeb/CMakeLists.txt @@ -24,6 +24,7 @@ set(SOURCES CSS/StyleResolver.cpp CSS/StyleRule.cpp CSS/StyleSheet.cpp + CSS/StyleSheetList.cpp CSS/StyleValue.cpp DOM/AttributeNames.cpp DOM/CanvasRenderingContext2D.cpp -- cgit v1.2.3