Skip to content
Skip the list of specifications

-webkit-mask-repeat

below the visible threshold: 5 of 5 examples match Chrome

compat

Differs from Chrome only by anti-aliasing: no pixel is more than 3 of 255 apart on any colour channel, apart from places that differed as much without the declaration. Curves, rotation, gradients and translucent colours land here.

What the specification says

Syntax<repeat-style>#

The definition in compat

The measurements

5 examples, all 5 match Chrome. 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.

-webkit-mask-repeat:no-repeat

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 Chrome5,782
The same, on the page without the declaration19,303
Largest difference on one colour channel3 of 255
The same, on the page without the declaration3 of 255

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

The example’s page

-webkit-mask-repeat:repeat-x

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 Chrome9,554
The same, on the page without the declaration19,303
Largest difference on one colour channel3 of 255
The same, on the page without the declaration3 of 255

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

The example’s page

-webkit-mask-repeat:repeat-y, -webkit-mask-repeat:space

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 Chrome11,680
The same, on the page without the declaration19,303
Largest difference on one colour channel3 of 255
The same, on the page without the declaration3 of 255

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

The example’s page

-webkit-mask-repeat:round

below the visible threshold
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 Chrome21,833
The same, on the page without the declaration19,303
Largest difference on one colour channel3 of 255
The same, on the page without the declaration3 of 255

What differs is anti-aliasing only.

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 8 branches, and 5 of them carry a measurement.

ValueMeasured
repeat-x
same effect as Chrome
repeat-y
same effect as Chrome
repeat-blocknot measured
repeat-inlinenot measured
repeatnot measured
space
same effect as Chrome
round
below the visible threshold
no-repeat
same effect as Chrome

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