- From: Alan Stearns via GitHub <sysbot+gh@w3.org>
- Date: Wed, 13 Jun 2018 16:27:33 +0000
- To: public-css-archive@w3.org
Ah, no. Let me spell out my thinking. Currently, the `initial-letter-wrap` property allows you to: `none` wrap all the lines around the rectangular margin box `all` wrap around the ink, or a shape-outside if it's defined `first` wrap the first line at the ink, then the rest at the rectangle `grid` same as `none` but possibly increased to match a grid My thought was that since `shape-outside` is eventually going to have an `ink` or `rendered-content` value, we could make the `initial-letter-wrap` property more expressive and closer to the way floats currently work. So my definition would start with this: Initial letter wrapping uses the margin box if `shape-outside` is `none`. Any other value of `shape-outside` causes initial letter wrapping to use the defined shape. Wrapping around the ink bounds is accomplished by using `shape-outside: rendered-content` (or whatever it ends up being named). Then we recast the initial-letter-wrap values to use the definition above. With no `shape-outside`: `all` (or `none` or `auto`) all lines wrap around the margin-box `first` the first line wraps at the ink, and the rest at the margin-box `grid` use the margin-box, increased to match a grid With a `shape-outside`: `all` (or `none` or `auto`) all lines wrap around the shape `first` the first line wraps at the ink, and the rest at the shape `grid` use the shape, increased to match a grid So we can use `first` and `grid` with `shape-outside`, and you do not have to fiddle with your `initial-letter-wrap` value in order for `shape-outside` to be effective. -- GitHub Notification of comment by astearns Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/885#issuecomment-397001523 using your GitHub account
Received on Wednesday, 13 June 2018 16:27:38 UTC