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

[css3-conditional] New Editor's Draft: Conditional Rules Module

From: L. David Baron <dbaron@dbaron.org>
Date: Mon, 13 Jun 2011 19:18:26 -0700
To: www-style@w3.org
Message-ID: <20110614021826.GA18735@pickering.dbaron.org>
As some of you may already have discovered from minutes or other
email, I've posted a new editor's draft:

  CSS Conditional Rules Module Level 3

To quote the introduction of the document to explain its purpose:

  # [CSS21] defines one type of conditional group rule, the ‘@media’
  # rule, and allows only rulesets (not other @-rules) inside of it.
  # The ‘@media’ rule provides the ability to have media-specific
  # style sheets, which is also provided by style sheet linking
  # features such as ‘@import’ and <link>. The restrictions on the
  # contents of ‘@media’ rules made them less useful; they have
  # forced authors using CSS features involving @-rules in
  # media-specific style sheets to use separate style sheets for
  # each medium.
  # This specification extends the rules for the contents of
  # conditional group rules to allow other @-rules, which enables
  # authors to combine CSS features involving @-rules with media
  # specific style sheets within a single style sheet.
  # This specification also defines additional types of conditional
  # group rules, ‘@supports’ and ‘@document’, to address author and
  # user requirements.
  # The ‘@supports’ rule allows CSS to be conditioned on
  # implementation support for CSS properties and values. This rule
  # makes it much easier for authors to use new CSS features and
  # provide good fallback for implementations that do not support
  # those features. This is particularly important for CSS features
  # that provide new layout mechanisms, and for other cases where a
  # set of related styles needs to be conditioned on property
  # support.
  # The ‘@document’ rule allows CSS to be conditioned on the page to
  # which the style sheet is being applied. This allows users to
  # apply styles to a particular page or group of pages, which
  # greatly increases the power of user style sheets. 

I hope to move this to First Public Working Draft soon.  Comments
are welcome.


L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Tuesday, 14 June 2011 02:19:01 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:50:02 UTC