LibWeb: Add method for listing all style sheets on a page

This will be used by the inspector, for showing style sheet contents.

Identifying a specific style sheet is a bit tricky. Depending on where
it came from, a style sheet may have a URL, it might be associated with
a DOM element, both, or neither. This varied information is wrapped in
a new StyleSheetIdentifier struct.
This commit is contained in:
Sam Atkins 2024-08-23 10:42:35 +01:00 committed by Sam Atkins
commit 51a426cc05
Notes: github-actions[bot] 2024-09-03 09:13:10 +00:00
10 changed files with 214 additions and 1 deletions

View file

@ -200,6 +200,7 @@ class StringStyleValue;
class StyleComputer;
class StyleProperties;
class StyleSheet;
struct StyleSheetIdentifier;
class StyleSheetList;
class StyleValueList;
class Supports;