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


'size' property conflicts with Media Queries

CSS3 Paged Media
Raised by:
Elika Etemad
Opened on:
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 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 on 2016-05-24)
  3. [CSSWG] Minutes Sophia-Antipolis F2F 2014-09-10 Part III: Flexbox (from on 2014-10-15)
  4. Re: [css3-page] Media Queries based on the page size (from on 2013-02-28)
  5. [css3-page] Media Queries based on the page size (from on 2013-02-02)
  6. Re: [css3-values] inaccurate statements about syntax/grammar (from on 2012-07-16)
  7. [CSSWG] Minutes and Resolutions 2008-06-16 (from on 2008-06-16)
  8. Re: Agenda CSS WG Conf Call 10-june - CSS2.1 Issues (from on 2008-06-10)
  9. ISSUE-39 (media-queries-page-size): 'size' property conflicts with Media Queries [CSS3 Paged Media] (from 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 <>, Rossen Atanassov <>, Chairs, Chris Lilley <>, Bert Bos <>, Staff Contacts
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <>.
$Id: index.php,v 1.325 2014-09-10 21:42:02 ted Exp $