- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Tue, 28 Jul 2020 21:16:54 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `initial letter shape-margin vs margin`, and agreed to the following: * `RESOLVED: Make shape-outside and margin interact the same way for initial letters as for floats` <details><summary>The full IRC log of that discussion</summary> <fantasai> Topic: initial letter shape-margin vs margin<br> <fantasai> github: https://github.com/w3c/csswg-drafts/issues/5119<br> <emilio> faceless2: we have two ways of defining margin around an initial-letter, one is margin and the other is shape-outside<br> <emilio> ... we need to define how they interact<br> <emilio> ... I think I agree that matching what floats do is a good idea<br> <emilio> ... there are a few proposals, not sure if fantasai's proposals are still applicable?<br> <emilio> fantasai: there were several options, one is that we only used shape-margin only, another is using it when it's non-none, another is using maximum<br> <emilio> faceless2: there's a strong argument I think to make it work the same ways as floats, may need to remove the margin-right magic<br> <emilio> fantasai: one of the advantages of regular margin over shape-margin is that is axis-specific<br> <emilio> ... so you can tweak the space with the following line by tweaking the margin only in the vertical axis<br> <emilio> faceless2: I agree, current adding margin-right adds functionality that you can't reproduce in other ways<br> <fantasai> s/vertical/horizontal/<br> <emilio> currently*<br> <fantasai> s/axis/axis, for example. Using different amounts of margin between the initial letter and impacted lines vs between the initial letter and lines below it might make sense. You can't do that with shape-margin/<br> <emilio> astearns: so the downside of making it behave like floats is that you get the weird behavior that you can only pull stuff closer inside the margin box<br> <emilio> ... and you need to expand the margin box if you want to push stuff further<br> <emilio> ... but authors are dealing with that already<br> <emilio> ... so probably they can deal with it too for initial-latter<br> <emilio> fantasai: given the consistency argument we should probably spec this and see how it works and try to get some feedback<br> <emilio> faceless2: nobody is shipping this currently right? Just WebKit?<br> <emilio> fantasai: I think that's right, and WebKit's implementation is quite limited atm<br> <emilio> RESOLVED: Make shape-outside and margin interact the same way for initial letters as for floats<br> <emilio> astearns: as you spec this it may be that we should also move that over how floats behave<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5119#issuecomment-665287944 using your GitHub account
Received on Tuesday, 28 July 2020 21:16:56 UTC