Skip to content
Skip the list of specifications

background-attachment

parsed, no effect

css-backgrounds-4

Our parser accepts the name, yet our rendering is the same with and without the declaration, while Chrome’s changes: on this page the declaration has no effect.

What the specification says

Initial valuescroll
Applies toall elements
Inheritedno
PercentagesN/A
Computed valuelist, each item the keyword as specified
Syntax<attachment>#

The definition in css-backgrounds-4

The measurements

One example. 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.

background-attachment:fixed

parsed, no effect
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,780
The same, on the page without the declaration0
Largest difference on one colour channel255 of 255
The same, on the page without the declaration0 of 255

Our page is the same with and without the declaration; Chrome’s page changes.

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 3 branches, and 1 of them carries a measurement.

ValueMeasured
fixed
parsed, no effect
localnot measured
scrollnot measured

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