Tutorials Bugs Masterclass Free stuff Test pages Proposals

Core tests

Advanced tests

This test

RichInStyle.com tests: line boxes

This tests the height of line boxes that contain non-baseline-aligned text.

  1. Some textSuperscripted

    Some textSuperscripted

    The backgrounds should be lined up because super only moves the baseline, not the box.

  2. Some textSubscripted

    The backgrounds should be lined up because sub only moves the baseline, not the box.

  3. Some textThis should be 1cm up; the red
    background should be behind the SPAN.
    content

    However, the blue background behind the ancestor SPAN should not be affected - it should span the whole of the element. Furthermore, each line box that this inner SPAN spans should be affected, not just its first one

  4. The effect here should be a 16px red background with 17px of white between the 16px-high bits of text The effect here should be a 16px red background with 17px of white between the 16px-high bits of text The effect here should be a 16px red background with 17px of white between the 16px-high bits of text