Skip to content
Skip the list of specifications

orphans

same effect as Chrome: 1 where Chrome departs from the specification

css-break-4

The declaration changes our page the way it changes Chrome’s. What still differs between the two renderings was there before the declaration too, on the same page without it (mostly the fonts): no larger with it, or in the same places and no stronger.

What the specification says

Initial value2
Applies toblock containers that establish an inline formatting context
Inheritedyes
Percentagesn/a
Computed valuespecified integer
Syntax<integer [1,∞]>

The definition in css-break-4

The measurements

2 examples: one matches Chrome and one differs where Chrome departs from the specification. Each is one declaration on a small page, drawn by Chrome and by our engine. Drag on a picture to move the line between them.

orphans:8

Chrome departs from the specification
Chrome rendering
Ours rendering
Left of the line is ours, right of it Chrome’s rendering. Drag on the picture to move the line.
Pixels that differ from Chrome10,188
The same, on the page without the declaration4,230
Largest difference on one colour channel251 of 255
The same, on the page without the declaration238 of 255

Chrome breaks the six-line block after five lines and leaves its last line alone in the third column, against orphans: 8 and the initial widows: 2 alike; ours keeps the block whole in the second column. css-break-3 §3.3 (and css-break-4 §3.3, in the same words) requires a block with fewer lines than its orphans value to be kept whole: “If a block contains fewer lines than the value of widows or orphans, the rule simply becomes that all lines in the block must be kept together”; the rule may be dropped only when the content would otherwise overflow; the three columns are balanced in a box 180 px tall, and the six-line block fits whole in one of them (css-break-3 §4.4). Without the declaration both break the block the same way, in 2 pieces.

The example’s page

orphans:3

same effect as Chrome
Chrome rendering
Ours rendering
Left of the line is ours, right of it Chrome’s rendering. Drag on the picture to move the line.
Pixels that differ from Chrome4,230
The same, on the page without the declaration4,230
Largest difference on one colour channel238 of 255
The same, on the page without the declaration238 of 255

The pages differ by 4,230 pixels with the declaration and by 4,230 without it: what differs is there before the property (mostly the fonts), and the declaration does not add to it.

The example’s page

Which values were measured

A match on one example means a match at the value tried. The property’s grammar has one branch, and it carries a measurement.

ValueMeasured
3
8
same effect as Chrome
Chrome departs from the specification

Measured against Chrome 148.0.7778.96 on 5 November 2026, with up to 40 candidate values tried per property. How it was measured