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 Seattle F2F 2017-01-11 Part I: FX Breakout - Transforms, Whitespace in a custom property in a variable reference, Geometry Interfaces (from daelcss@gmail.com on 2017-02-13)
  2. [CSSWG] Minutes San Francisco F2F 2016-05-09 Part I: Flexbox, Box Alignment, Grid [css-flexbox] [css-align] [css-grid] (from daelcss@gmail.com on 2016-05-24)
  3. [CSSWG] Minutes Sophia-Antipolis F2F 2014-09-10 Part III: Flexbox (from daelcss@gmail.com on 2014-10-15)
  4. Re: [css3-page] Media Queries based on the page size (from simon.sapin@kozea.fr on 2013-02-28)
  5. [css3-page] Media Queries based on the page size (from simon.sapin@kozea.fr on 2013-02-02)
  6. Re: [css3-values] inaccurate statements about syntax/grammar (from fantasai.lists@inkedblade.net on 2012-07-16)
  7. [CSSWG] Minutes and Resolutions 2008-06-16 (from fantasai.lists@inkedblade.net on 2008-06-16)
  8. Re: Agenda CSS WG Conf Call 10-june - CSS2.1 Issues (from fantasai@inkedblade.net on 2008-06-10)
  9. 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


Alan Stearns <stearns@adobe.com>, Rossen Atanassov <ratan@microsoft.com>, Chairs, Chris Lilley <chris@w3.org>, Fuqiao Xue <xfq@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: 39.html,v 1.1 2020/01/17 10:41:07 carcone Exp $