W3C home > Mailing lists > Public > www-style@w3.org > September 2012

[css-customproperties] is this good or bad?

From: Brian Kardell <bkardell@gmail.com>
Date: Wed, 12 Sep 2012 11:24:40 -0700
Message-ID: <CADC=+je9uSRSqZDQ3KArxDDSJ73+qonryTjTGfuKgW34pmY8Yw@mail.gmail.com>
To: "www-style@w3.org" <www-style@w3.org>
While trying to figure out some incredibly perplexing treatment of some
inline <style> rules in ie7 I did a search and accidentally came across


Which uses the verbiage "custom properties" ....

_ Underscore Filter
This CSS filter is based on a parser bug. It used to show properties
exclusive to Internet Explorer. These constructs will now be treated as a
"custom property" by Internet Explorer 7 and later. Custom property means
that it is still in the OM and can be queried through script but does not
natively apply its value.
/* The following rule used to apply min-height
   to browser who understand this property and
   height to IE.  In IE7, _height will be treated
   as a custom property (no height will be applied) */

.myclass {
   min-height: 300px;
   _height: 300px;

Is that a good thing or a bad thing (or maybe doesn't matter) for css
variables/custom properties?
Received on Wednesday, 12 September 2012 18:25:12 UTC

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