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

As some of you may already have discovered from minutes or other
email, I've posted a new editor's draft:

  http://dev.w3.org/csswg/css3-conditional/
  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.

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/

Received on Tuesday, 14 June 2011 02:19:01 UTC