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:
- [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)
- [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)
- [CSSWG] Minutes Sophia-Antipolis F2F 2014-09-10 Part III: Flexbox (from daelcss@gmail.com on 2014-10-15)
- Re: [css3-page] Media Queries based on the page size (from simon.sapin@kozea.fr on 2013-02-28)
- [css3-page] Media Queries based on the page size (from simon.sapin@kozea.fr on 2013-02-02)
- Re: [css3-values] inaccurate statements about syntax/grammar (from fantasai.lists@inkedblade.net on 2012-07-16)
- [CSSWG] Minutes and Resolutions 2008-06-16 (from fantasai.lists@inkedblade.net on 2008-06-16)
- Re: Agenda CSS WG Conf Call 10-june - CSS2.1 Issues (from fantasai@inkedblade.net on 2008-06-10)
- 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.
"""
Display change log