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

>> Now, it seems this has been "fixed" and the EM unit is relative to the DOM parent. That means that:
>>
>> - if you have a TEXTNODE directly poured into a flow, its FONT-SIZE WILL DEPEND ON THE REGION.
>> - if you have an ELEMENT directly poured into a a flow, its FONT-SIZE WILL NOT DEPEND ON THE REGION because the EM value will be computed on the basis on the DOM parent element.
>
> How can you flow a text node inside regions directly, without using flow-into on an element? Are you talking about the new flow-into: content value? 

Yes.




> The spec states the flow-into property doesn't affect the CSS cascade and I suppose this applies for the EM units resolution as well:
> "The ‘flow-into’ property does not affect the CSS cascade and inheritance for the elements on which it is specified. The ‘flow-into’ property does not affect the DOM position of an element or its contents. The ‘flow-into’ property affects the visual formatting of elements or contents placed into a named flowand of the region chain laying out content from a named flow."

Text nodes are not elements, however. 

And "flow-into" is not specified on them, either. 

But this could be clarified, I guess, to include the fact text nodes infer their styling form their parent element in the DOM. 		 	   		  

Received on Thursday, 8 August 2013 20:46:56 UTC