Edit ISSUE-39: 'size' property conflicts with Media Queries

Nickname:

Title:

State:

Product:

Raised By:

Description:

Add notes (no markup allowed, URIs get automatically hyperlinked):

Related emails:

  1. Re: [css3-page] Media Queries based on the page size (from simon.sapin@kozea.fr on 2013-02-28) (from simon.sapin@kozea.fr on 2013-02-28)
  2. [css3-page] Media Queries based on the page size (from simon.sapin@kozea.fr on 2013-02-02) (from simon.sapin@kozea.fr on 2013-02-02)
  3. Re: [css3-values] inaccurate statements about syntax/grammar (from fantasai.lists@inkedblade.net on 2012-07-16) (from fantasai.lists@inkedblade.net on 2012-07-16)
  4. [CSSWG] Minutes and Resolutions 2008-06-16 (from fantasai.lists@inkedblade.net on 2008-06-16) (from fantasai.lists@inkedblade.net on 2008-06-16)
  5. Re: Agenda CSS WG Conf Call 10-june - CSS2.1 Issues (from fantasai@inkedblade.net on 2008-06-10) (from fantasai@inkedblade.net on 2008-06-10)
  6. ISSUE-39 (media-queries-page-size): 'size' property conflicts with Media Queries [CSS3 Paged Media] (from sysbot+tracker@w3.org on 2008-04-23) (from sysbot+tracker@w3.org on 2008-04-23)

Related notes:

Already resolved in the ED:

"""
If a size property declaration is qualified by a ‘width’, ‘height’, ‘device-width’, ‘device-height’, ‘aspect-ratio’, ‘device-aspect-ratio’ or ‘orientation’ media query [MEDIAQ] (or other conditional on the size of the paper), then the declaration must be ignored. Media queries do not honor ‘size’: they assume the paper size that would be chosen if no @page rules were specified.
"""

This is consistent with how Media Queries generally work:

"""
To avoid circular dependencies, it is never necessary to apply the style sheet in order to evaluate expressions. For example, the aspect ratio of a printed document may be influenced by a style sheet, but expressions involving ‘device-aspect-ratio’ will be based on the default aspect ratio of the user agent.
"""

Simon Sapin, 17 Jan 2013, 16:06:20


Peter Linss <peter.linss@hp.com>, Daniel Glazman <daniel.glazman@disruptive-innovations.com>, Chairs, Chris Lilley <chris@w3.org>, Bert Bos <bert@w3.org>, Staff Contacts
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: index.php,v 1.323 2013-12-19 14:47:09 dom Exp $