A paragraph with a span inside

Both the span and the paragraph have a border set. The client rects are in red. Note that the p has onlyone border box, while the span has multiple border boxes.

Original

Paragraph that spans multiple lines

p's rect

Paragraph that spans multiple lines

span's rect

Paragraph that spans multiple lines

A list

Note that the border box doesn't include the number, so neither do the client rects.

Original
  1. Item 1
  2. Item 2
ol's rect
  1. Item 1
  2. Item 2
each li's rect
  1. Item 1
  2. Item 2

A table with a caption

Although the table's border box doesn't include the caption, the client rects do include the caption.

Original
caption
thead
tbody
table's rect
caption
thead
tbody