LibWeb: Align StyleSheet title getter with the specification

The CSSOM specification says that StyleSheet.title should return null
if the title field is empty.
This commit is contained in:
Tim Ledbetter 2024-04-28 14:32:52 +01:00 committed by Andreas Kling
commit 84193f2746
Notes: sideshowbarker 2024-07-17 06:28:38 +09:00
6 changed files with 22 additions and 13 deletions

View file

@ -1,6 +1,6 @@
Empty sheet ownerNode: null
Empty sheet ownerRule: null
Empty sheet title is empty string: true
Empty sheet title: null
Empty sheet cssRules is empty: true
Empty sheet is disabled by default: false
cssRules length after insertRule(): 1