W3C home > Mailing lists > Public > www-style@w3.org > January 2012

RE: [css3-regions] @region and specificity

From: Alex Mogilevsky <alexmog@microsoft.com>
Date: Fri, 6 Jan 2012 07:21:46 +0000
To: fantasai <fantasai.lists@inkedblade.net>, "www-style@w3.org" <www-style@w3.org>
CC: Vincent Hardy <vhardy@adobe.com>
Message-ID: <D51C9E849DDD0D4EA38C2E539856928412DCF77A@TK5EX14MBXC214.redmond.corp.microsoft.com>
 From: fantasai [mailto:fantasai.lists@inkedblade.net] 
 Sent: Monday, December 26, 2011 7:56 PM
 
 The structure and usage of a design's region-specific styling is very similar to the 
 structure and usage of contextual styling (using descendant selectors), and not 
 similar to the structure and useage of media-specific styling. Given that, I'm uneasy 
 with using @media as an analogy here and discarding the specificity of the region.

I am not sure what you are proposing here. The way it is defined now, it does manage to avoid interfering with specificity. Earlier proposals were way harder to define and had complicated interaction with other selectors.

Analogy with @media is also reasonable IMO. It makes sense to me that styles specific to page size and styles specific to page number work the same way. Why not?

Do you have something else in mind that you like more?

Alex
Received on Friday, 6 January 2012 07:22:42 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:48 GMT