RE: [css3-regions] @region and specificity

± 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 UTC