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

media-queries-page-size

'size' property conflicts with Media Queries

State:
CLOSED
Product:
CSS3 Paged Media
Raised by:
Elika Etemad
Opened on:
2008-04-23
Description:
http://dev.w3.org/csswg/css3-page/#page-size-media-query
http://www.w3.org/mid/4F3E2A5E.9090703@kozea.fr
Related Actions Items:
No related actions
Related emails:
  1. [CSSWG] Minutes Sophia-Antipolis F2F 2014-09-10 Part III: Flexbox (from daelcss@gmail.com on 2014-10-15)
  2. Re: [css3-page] Media Queries based on the page size (from simon.sapin@kozea.fr on 2013-02-28)
  3. [css3-page] Media Queries based on the page size (from simon.sapin@kozea.fr on 2013-02-02)
  4. Re: [css3-values] inaccurate statements about syntax/grammar (from fantasai.lists@inkedblade.net on 2012-07-16)
  5. [CSSWG] Minutes and Resolutions 2008-06-16 (from fantasai.lists@inkedblade.net on 2008-06-16)
  6. Re: Agenda CSS WG Conf Call 10-june - CSS2.1 Issues (from fantasai@inkedblade.net on 2008-06-10)
  7. ISSUE-39 (media-queries-page-size): 'size' property conflicts with Media Queries [CSS3 Paged Media] (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

Display change log ATOM feed


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.325 2014-09-10 21:42:02 ted Exp $