Przeglądaj źródła

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. :^)
Sam Atkins 1 rok temu
rodzic
commit
565ed9b06c
1 zmienionych plików z 6 dodań i 0 usunięć
  1. 6 0
      Userland/Libraries/LibWeb/CSS/Default.css

+ 6 - 0
Userland/Libraries/LibWeb/CSS/Default.css

@@ -290,18 +290,24 @@ q::after {
     content: close-quote;
     content: close-quote;
 }
 }
 
 
+/*
+NOTE: This isn't a real property and value. See https://github.com/whatwg/html/issues/2291
 br {
 br {
     display-outside: newline;
     display-outside: newline;
 }
 }
+*/
 
 
 /* this also has bidi implications */
 /* this also has bidi implications */
 nobr {
 nobr {
     white-space: nowrap;
     white-space: nowrap;
 }
 }
 
 
+/*
+NOTE: This isn't a real property and value. See https://github.com/whatwg/html/issues/2291
 wbr {
 wbr {
     display-outside: break-opportunity;
     display-outside: break-opportunity;
 }
 }
+*/
 
 
 /* this also has bidi implications */
 /* this also has bidi implications */
 nobr wbr {
 nobr wbr {