10 transform: translatez(
0);
11 background-color: cyan;
14 .containerOverlapsComposited {
16 z-index:
2; /* Creates a stacking context so that the fixed-pos layer is contained instead of a sibling */
21 background-color: green;
28 background-color: lime;
37 if (window
.internals
) {
38 /* Note carefully, compositing for fixed position is _disabled_ here */
39 internals
.settings
.setPreferCompositingToLCDTextEnabled(false);
43 window
.scrollTo(0, 100);
53 Among other duplicate bugs: https://code.google.com/p/chromium/issues/detail?id=128375
54 A non-composited fixed-position element can get grouped into a composited container.
55 In this case, repaint invalidations were incorrectly going to the LayoutView instead
56 of the composited container. The incorrect result was that the fixed-position element
57 never repainted, and it appeared to scroll along with the composited container.
59 <div class=
"compositedBehind"> </div>
61 <div class=
"containerOverlapsComposited"></div>
63 <div class=
"absolute"></div>