Re: [csswg-drafts] [css-ruby][css-text-decor-4] Add over-most-under-last value to ruby-position & text-emphasis-position for captioning

I don't think they are clear, tbh. `over` and `under` are relative to the base text, but `outer` or `outside` in this context is relative to the whole paragraph. It would be great if there is some specific name for this behavior...

I also thought about the last line, and that feels non-trivial to implement and may add some complexity, because `ruby-position` is a inline-level property, and is handled in the progress of laying out a line. You cannot know whether a line is the last line until it is fully laid out, which means we may need to reprocess the line if we have such ruby position. This may not be that hard but does seem to be more complicated than its usefulness...

If we change it to only do different thing on first line would probably make it easier to implement.

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

Received on Wednesday, 8 August 2018 00:24:53 UTC