-
Notifications
You must be signed in to change notification settings - Fork 746
Closed
Description
Currently there are no specs to target if element has wrapped content/text (outside the overflow:hidden
area). It could be usable for example to decide if to show customized tooltip, apply special style, show dropdown, and probably more usecases.
Landing multiple line wrapping proposal #390 would make this even more actual , could specify it with .:wrapped-line(n)
like :wrapped-line(3)
For an example here is a CSS menu hack to decide if to show dropdown with wrapped elements http://kizu.ru/fun/chevron/, perhaps :wrapped-line
could simplify things.
Update: Is changed to :overflowed-content [:overflowed-content-x, :overflowed-content-y]
janosh, wottpal, maxdaniel98, ad-si, guillegr123 and 24 morex-strongad-si, thematan, Virgiel, karlbecker, enriquenov and 4 morex-strong and Phaesyla