[css-align-3] Do the CSS2.1 rules apply for determining the last-baseline of flex/grid/etc ?
Nobody has claimed this yet.
- Dominant language
- Bikeshed
- Stars
- 4.9k
- Forks
- 816
- PR merge metrics
- PR metrics pending
Description
CSS2.1 has a "fun" rule:
https://www.w3.org/TR/2011/REC-CSS2-20110607/visudet.html#q10.0
"The baseline of an 'inline-block' is the baseline of its last line box in the normal flow, unless it has either no in-flow line boxes or if its 'overflow' property has a computed value other than 'visible', in which case the baseline is the bottom margin edge."
Does this rule impact "align-self: last baseline" ? And if so how?
For reference - Firefox appears to be setting to the block-end border-box edge when "overflow:hidden" is present.
https://www.software.hixie.ch/utilities/js/live-dom-viewer/?saved=10609
@fantasai @tabatkins
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the linked CSS2.1 visual formatting rules and the question about align-self: last baseline in flex and grid layouts. Compare the reported Firefox behavior with the relevant CSS alignment specification text. Done means the Working Group has resolved whether the CSS2.1 rule applies and recorded the resulting clarification in the specification.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css
- Domain
- frontend
- Issue type
- Documentation
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100