Re: [csswg-drafts] [css-writing-modes][css-pseudo][css-inline] text-combine-upright and initial-letter

>From the response, I think I didn't explain well enough, sorry. Let me
 try to rewrite my points:

* What spec defines looks clear to me, so this doesn't look like about
 spec missing definitions.
* We 1) compute styles, 2) build box tree, and 3) layout. 
`::first-letter` creates a separate box in step 2, so we can't fix 
this use case by changing `text-combine-upright`.
* If we were to fix `::first-letter`:
  - We have style computed at the point we build box tree, so it is 
technically possible for box tree building of `::first-letter` to take
 `text-combine-upright` into account.
  - I don't know enough about other parts of the style engine. 
Changing `::first-letter` that way will make it dependents on 
`writing-mode` and `text-combine-upright`. I need someone else more 
familiar with style systems to comment on its feasibility.
* If we were to fix `initial-letter`:
  - It looks technically possible, not sure which is easier.
  - Also not sure the change is worth if this change doesn't have 
other use cases.
  - As fantasasi said, it doesn't fix other properties to apply to 
`::first-letter` of `text-combine-upright`, if there were such use 
cases.
* Any other possible ways to go?

-- 
GitHub Notification of comment by kojiishi
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/653#issuecomment-264637438 
using your GitHub account

Received on Saturday, 3 December 2016 12:49:49 UTC