Description
From another PR that I'm mostly gutting due to merge conflicts and an inability to land on consensus in time for the looming AccName CR.
On the [18 Jan 2024] call, @accdc said [the references to spacing should be dependent on] whether or not the element had an
inline
or similar value, versus ablock
or similar display value. I assume the "block-like" values includeinline-block
,cell
, and the like. I'm not sure ifdisplay:contents
or other newer layout tooling values are considered "block-like" or not.
Presumably the interior contents would be promoted for "adjacency" consideration?
If the above is correct, I also presume that would mean if either of the adjacent elements (or their pseudo when joining pseudos) had a "block-like" display then use a space joiner...
Unknown at the moment whether that is implementable, and also unknown is how far the render tree should consider "adjacent" render objects... For example, if the adjacent DOM element is
display:none
(ordisplay:contents
), is the expectation that the renderer check the next adjacent element or pseudo that is notdisplay:none
? What about adisplay:inline
element withvisibility:hidden
?
Originally posted by @cookiecrook in #168 (comment)