W3C home > Mailing lists > Public > public-css-archive@w3.org > May 2017

Re: [csswg-drafts] Please define how the various box tree fixups interact

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Fri, 19 May 2017 16:21:33 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-302748058-1495210892-sysbot+gh@w3.org>
> So I think we can safely say that the intent is for this example to result in a grid containing a block containing a block.

Correct. Your point on computation moving down the tree is correct - you can't compute the inner div's display until you know the span's computed display, and you can't compute that until you know the outer span's computed display.  The outermost one is well-specified - it's a grid - so that dictates the inner span becomes blockified into a `block flow`, which dictates that the inner div is fine and can stay its default block.

Nothing implicit here or relying on appeals to general timelessness principles, it's just the way data naturally flows in the constraints CSS imposes.

@bzbarsky 
> I'm explicitly talking through what has to happen when someone adds a new fixup. How do they make sure it's mutually exclusive or compatible with all existing ones?

Yeah, there currently isn't a way. This could definitely benefit from, as you say, an easy link that we consistently use into the Display intro, and probably a coordinating wiki page like we do for other distributed-consistency problems in CSS.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1355#issuecomment-302748058 using your GitHub account
Received on Friday, 19 May 2017 16:21:42 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:12 UTC