W3C home > Mailing lists > Public > public-css-archive@w3.org > June 2020

Re: [csswg-drafts] [css-inline] vertically align to nth-child (#1339)

From: fantasai via GitHub <sysbot+gh@w3.org>
Date: Fri, 05 Jun 2020 18:27:58 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-639690117-1591381677-sysbot+gh@w3.org>
@tabatkins I think if we're only looking at children, and not arbitrary descendants, it's not necessary to have a two-way opt in. (We *could*, but I think it'll end up more awkward than helpful from an authoring point of view. Imho the only reason to make them do that extra work would be if there's too much of a perf hit for implementations otherwise.)

So I think my proposal here is just to add a `baseline-priority: normal | high` property, and the container looks at its children and takes its baseline from the first/last item with `baseline-priority: high` if one exists, or the first/last item with `baseline-priority: normal` otherwise.


-- 
GitHub Notification of comment by fantasai
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1339#issuecomment-639690117 using your GitHub account
Received on Friday, 5 June 2020 18:28:00 UTC

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