Re: [csswg-drafts] [css-scroll-snap-1] Clarify that scroll-padding and scroll-snap-type on root propagate to viewport (#3740)

The CSS Working Group just discussed `Clarify that scroll-padding and scroll-snap-type on root propagate to viewport`, and agreed to the following:

* `RESOLVED: Accept the edits for https://github.com/w3c/csswg-drafts/issues/3740`

<details><summary>The full IRC log of that discussion</summary>
&lt;dael> Topic: Clarify that scroll-padding and scroll-snap-type on root propagate to viewport<br>
&lt;dael> github: https://github.com/w3c/csswg-drafts/issues/3740<br>
&lt;dael> Rossen_: fantasai are you on?<br>
&lt;dael> fantasai: Yeah. I think it was assumed by all of us scroll snap prop applied to viewport but we don't say so in the spec. I copied overflow draft and scrollbar draft to say prop from root but not body element<br>
&lt;fantasai> https://github.com/w3c/csswg-drafts/commit/b5afa1086cf344046ea87013f0c48b3800eaacd7<br>
&lt;dael> fantasai: Edits ^<br>
&lt;dael> florian: The way overflow prop from body is weird. Not doing weird is good, but isn't consistent good so can set both on body and they prop together<br>
&lt;dael> fantasai: Could set both on root instead. Don't prop scrollbar width or color<br>
&lt;dael> AmeliaBR: I haven't looked at edits, is it clear wording? Author if overflow on the body does scrollbars I'd expect that's where I put scroll snap. Maybe educate authors how that's weird and problematic but it's an extra level of lack of intuition<br>
&lt;dael> Rossen_: Agree. If body prop background color and overflow prop back to viewport and canvas it would make sense to have scroll prop. But as fantasai pointed out we want to stop all that legacy quirk behavior expansion of properties.<br>
&lt;dael> Rossen_: Couple says forward- continue adding them b/c this is what authors expect. Or not do it and teach people by making explicit test cases and educational material and that they will face that it doesn't work, ideally find and article and see body stuff is a quirk there to keep legacy web working but don't do that<br>
&lt;dael> Rossen_: Kinda more leaning not add to body<br>
&lt;dael> Rossen_: I do agree make sense to be explicitly pointed out apply to viewport<br>
&lt;dael> AmeliaBR: Skimming edits it looks quite sensible. There is a note about not prop from body but I don't know if we need to make that more author focused<br>
&lt;dael> florian: I guess that's enough. fantasai mentioned this is also case for scrollbar width. If we keep new stuff consistent and none work on body we have a fighting chance of getting people to set on root. I'm okay with edit as is if we make that the policy we follow<br>
&lt;dael> Rossen_: Other opinions?<br>
&lt;dael> Rossen_: Sounds like we're okay with the edits where scrollsnap properties prop from root. Obj to accepting edits?<br>
&lt;dael> RESOLVED: Accept the edits for https://github.com/w3c/csswg-drafts/issues/3740<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3740#issuecomment-474907425 using your GitHub account

Received on Wednesday, 20 March 2019 16:13:06 UTC