A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/w3c/csswg-drafts/issues/5234 below:

middle' on table cells · Issue #5234 · w3c/csswg-drafts · GitHub

Skip to content Navigation Menu

Saved searches Use saved searches to filter your results more quickly

Sign up You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert Additional navigation options

[css-inline-3] 'vertical-align: middle' on table cells #5234

Description

So... vertical-align: middle has special behavior on table cells: it causes align-content: normal to be treated as center (similar to how the top and bottom values trigger start and end, respectively).

Splitting 'vertical-align' into longhands means we have to map the behavior over from the longhands instead. Unfortunately since middle is an actual baseline (halfway between the alphabetic baseline and the ex-height) it's in alignment-baseline whereas top and bottom are line-relative values that shift content but don't represent an actual baseline, and are therefore in baseline-shift. Which means it's possible to specify alignment-baseline: middle; baseline-shift: top. Need to define whether that's treated as vertical-align: top or vertical-align: middle. My suggestion is that top and bottom take precedence, because that's what happens in inline layout as well (alignment baselines are ignored for alignment within the parent in favor of top/bottom alignment within the line box).

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.3