W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2016

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

From: prjnt via GitHub <sysbot+gh@w3.org>
Date: Sat, 17 Dec 2016 12:27:22 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-267760119-1481977638-sysbot+gh@w3.org>
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 
using your GitHub account
Received on Saturday, 17 December 2016 12:27:28 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:30:27 UTC