W3C home > Mailing lists > Public > www-style@w3.org > June 2014

[css-conditional] CSSMediaRule media readonly or forwards to mediaText?

From: Bogdan Brinza <bbrinza@microsoft.com>
Date: Fri, 20 Jun 2014 00:56:20 +0000
To: "www-style@w3.org" <www-style@w3.org>
Message-ID: <046743d65c0b426d8182f03f54dcca45@BL2PR03MB604.namprd03.prod.outlook.com>
Looking at http://dev.w3.org/csswg/css-conditional/#cssmediarule vs http://dev.w3.org/csswg/cssom/#the-cssmediarule-interface  our developer noticed that CSSMediaRule definition is present in both and there is an inconsistency:

interface CSSMediaRule : CSSGroupingRule {
  [SameObject, PutForwards=mediaText] readonly attribute MediaList media;

interface CSSMediaRule : CSSConditionRule {
    readonly attribute MediaList media;

The difference is PutForwards=mediaText and we'd like to clarify what is the expected behavior here - should media forward to mediaText or should it be really readonly? 

Currently IE forwards media to mediaText, but I couldn't get Chrome or Firefox to do the same - http://jsfiddle.net/boggydigital/D2CXn/ 
Received on Friday, 20 June 2014 00:56:51 UTC

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