From 565ed9b06cb1a50ebe29b65c96df221e7e26b240 Mon Sep 17 00:00:00 2001 From: Sam Atkins Date: Thu, 24 Aug 2023 21:43:48 +0100 Subject: [PATCH] LibWeb: Comment out invalid `display-outside` rules from Default.css This property was removed from the CSS specs, and efforts to correct the HTML spec have stalled. For now, let's comment them out so that I don't get spammed with the meaningless log warnings that they didn't parse, every time I launch Ladybird. :^) --- Userland/Libraries/LibWeb/CSS/Default.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Userland/Libraries/LibWeb/CSS/Default.css b/Userland/Libraries/LibWeb/CSS/Default.css index b9556f46bac..a8670c9e6a2 100644 --- a/Userland/Libraries/LibWeb/CSS/Default.css +++ b/Userland/Libraries/LibWeb/CSS/Default.css @@ -290,18 +290,24 @@ q::after { content: close-quote; } +/* +NOTE: This isn't a real property and value. See https://github.com/whatwg/html/issues/2291 br { display-outside: newline; } +*/ /* this also has bidi implications */ nobr { white-space: nowrap; } +/* +NOTE: This isn't a real property and value. See https://github.com/whatwg/html/issues/2291 wbr { display-outside: break-opportunity; } +*/ /* this also has bidi implications */ nobr wbr {