Re: [css-overflow-3] why so restrictive on styling fragment descendants?

On Friday 2014-10-31 12:31 -0700, Brad Kemper wrote:
> In section 6.1.3 of Overflow Module 3 [1], it allows selection and styling of descendants of nth-fragments. However, it says:
> ...the only CSS properties applied by rules with such selectors are those that apply to the ‘::first-letter’ pseudo-element
> Why this restriction? Why not allow the descendants of the fragment box be styled with the full range of properties? I would think there’s be a near infinite number of use cases to do so. For instance, using different floating or positioning based on whether an element is in an odd fragment box or an even fragment box (imagine arranging the fragment boxes into two columns).
> Is this because of how it can complicate ‘max-lines’? If so, then perhaps the more restrictive styling should only apply when the element is inside a ‘max-lines’-limited fragment box.

I think the main reason for the restriction is that descendants of
fragments might be split between multiple fragments, so we need the
styles to make sense even if they apply only to part of an element.
There might also be others that I've forgotten, although I don't
think max-lines is involved.


𝄞   L. David Baron                  𝄂
𝄢   Mozilla                   𝄂
             Before I built a wall I'd ask to know
             What I was walling in or walling out,
             And to whom I was like to give offense.
               - Robert Frost, Mending Wall (1914)

Received on Friday, 31 October 2014 19:39:02 UTC