From 8adde0e9dfa8899a23ffb5f19b7b2515c3838149 Mon Sep 17 00:00:00 2001 From: Adrian Cochrane Date: Thu, 8 Aug 2019 20:26:51 +1200 Subject: [PATCH] Don't use :not(), it's not supported by Stylish Haskell. --- src/DefaultCSS.hs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/DefaultCSS.hs b/src/DefaultCSS.hs index 09d050f..45221a7 100644 --- a/src/DefaultCSS.hs +++ b/src/DefaultCSS.hs @@ -19,7 +19,7 @@ userAgentCSS = unlines [ "input[value], output[value] {content: attr(value)}", "text-area {speak-as: literal-punctuation}", "", - "option:not([checked]) {speak: never}", + "option {speak: never} option[checked] {speak: always}", "select[multiple] option {cue-before: url(bulletpoint.wav)}", "", "/** Tables **/", @@ -83,9 +83,9 @@ userAgentCSS = unlines [ "", "q, blockquote {voice-family: female 2}", "cite {voice-stress: reduce}", - "dialog:not([open]) {speak: never}", + "dialog {speak: never} dialog[open] {speak: always}", "kbd {speak-as: spell-out}", - "progress {content: attr(value) 'of' attr(max)}", + "progress {content: attr(value) ' of ' attr(max)}", "sub {voice-rate: x-fast}", "sup {voice-rate: fast}", "var {voice-rate: slow}" -- 2.30.2