W3C home > Mailing lists > Public > www-style@w3.org > November 2015

[css-conditional][quirks] Quirks mode and @supports/CSS.supports

From: Simon Pieters <simonp@opera.com>
Date: Wed, 25 Nov 2015 19:19:40 +0100
To: "www-style@w3.org" <www-style@w3.org>
Cc: "L. David Baron" <dbaron@dbaron.org>
Message-ID: <op.x8n46216idj3kv@simons-mbp>
What is the interaction between

https://drafts.csswg.org/css-conditional/#at-supports
https://drafts.csswg.org/css-conditional/#the-css-interface

...and...

https://quirks.spec.whatwg.org/#the-hashless-hex-color-quirk
https://quirks.spec.whatwg.org/#the-unitless-length-quirk

Testing in  
http://software.hixie.ch/utilities/js/live-dom-viewer/saved/3765 it  
appears that in Blink/WebKit/Gecko apply the quirks in @supports, but not  
in CSS.supports(). Presto doesn't apply the quirks to @supports and  
doesn't have CSS.supports(). I haven't checked IE/Edge. I suggest we  
specify what Blink/WebKit/Gecko do.

-- 
Simon Pieters
Opera Software
Received on Wednesday, 25 November 2015 18:20:43 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:58 UTC