Re: [csswg-drafts] [css-logical-props] percentages need better definition

I propose that the normative text be changed to "As for the 
corresponding physical property" (preferably accompanied by 
informative links to relevant parts of CSS).

(In which case the answer to the second question becomes "no" for 
css-logical-props, as this would already be covered in the definition 
of the physical property.)

I haven't tested, but I would be quite surprised if any UA had 
implemented a behaviour where the interpretation of a percentage 
depended on whether the winner of the cascade was a physical or 
logical property.


[The "informative" (i.e. non-normative) part of that proposal is 
important because I suspect that it will be easy to miss some relevant
 parts of CSS when giving a list of references due to the fact that 
CSS specs aren't always updated when another part of CSS gives new 
behaviour for something: e.g. percentage margin-top is resolved 
against *height* in page context (see e.g. 
CSS22/page.html#page-margins), contrary to what the actual propdef for
 margin-top says in CSS 2.x box.html#margin-properties.  Of course 
css-writing-modes/#dimension-mapping is also relevant.  Similar 
comments apply to the width & height properties, where one would think
 of referencing the propdef in CSS 2.x visudet.html, but might forget 
to link to the contradictory information in tables.html of the same 
spec.  Maybe bikeshed format makes it a bit easier to find most 
definitions of percentages for a given property?]

-- 
GitHub Notification of comment by prjnt
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/800#issuecomment-267760119 
using your GitHub account

Received on Saturday, 17 December 2016 12:27:28 UTC