Back to Chromium

Whitespace In Pre

third_party/blink/web_tests/virtual/text-antialias/whitespace/whitespace-in-pre.html

150.0.7829.2820 B
Original Source

The single tab should be on the second line followed by the C. The tab and the C form a single word so do not break.

A BC

The two tabs should be at the start of the second line. The 'pre' and the C form a single word so do not break.

A BC

The two tabs should fit on the first line. The line can break at the space before the C.

A B C

The single tab should be on the second line by itself. The div allows breaking within words so the word formed by the tab and the C can be split.

A BC

The two tabs should be on the second line by themselves. The div allows breaking within words but it cannot split the two tabs inside a pre.

A BC

The two tabs should fit on the first line. The div allows breaking within words but it cannot split the two tabs inside a pre. The line can break at the space before the C.

A B C