W3C home > Mailing lists > Public > www-style@w3.org > August 2013

RE: [css-regions][css-values] font-size in em, and fragments

From: François REMY <francois.remy.dev@outlook.com>
Date: Tue, 6 Aug 2013 21:24:39 +0200
Message-ID: <DUB120-W23CECAACC348426BD12E33A55D0@phx.gbl>
To: "www-style@w3.org" <www-style@w3.org>
As an addition, the same thing happen with things like "text-align". I believe we should probably have some 'region-text-style' property you could set to either "from-region" or "from-document". 

When the property has the "from-region" value, a few properties (line-height/font-size/text-align/text-indent/color/...) should be switched to "DOM-inherit" to "region-inherit" (if there's no specified value on an element, the value in use for a fragment is the computed value of the region it's in instead of the one of the parent of its fragment source).





A small test case:

<!doctype html>
<html><head><title>Hidden overflow and regions</title></head><body>
    
    
    
</body></html> 		 	   		  
Received on Tuesday, 6 August 2013 19:25:07 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 August 2013 19:25:07 UTC