Stuart Ballard wrote:


> CSS needs a :every-line property similar to :first-line
> 
> Then we can do
> 
> p.quote:every-line:before { content: '> ' }
> 
> Adding n.p.m.layout and n.p.m.style - anyone here know how hard it would
> be to implement such a property (or whether there is anything like it
> planned in CSS3)?

This is not so easy to do, in fact. When you insert generated content
before or after the contents of the element, you only have to recompute
once the block-level box and inlines boxes for the element. Even in case
of reflow due to viewport resizing.

If every line can have generated content, it can be a long
loop because each content generation changes all the inline boxes after
it.

I don't say it is impossible, just not totally trivial.

</Daniel>



Reply via email to