CSS by T. Afif :verified: on Nostr: Since when the "container" property no more create a containing block for fixed and ...
Since when the "container" property no more create a containing block for fixed and absolute element? 🤔
The spec still says "Applies layout containment," but chrome is not doing what I expect (Firefox is still doing what I expect)
A bug or a recent change?
demo: https://codepen.io/t_afif/pen/QWeBMKy (the header is fixed on chrome but not in Firefox)
cc npub1xpyjuzq6eysnfu3w9y9qzza5kl0t4azvkn5uvlzr2v68qck5uchspdyjva (npub1xpy…yjva) npub17cs0awnjg84w085zneqyvpzynpr75l5z47r9hjrhkcgetnzgvsmqrvxjws (npub17cs…xjws) ?
#CSS #HTML
The spec still says "Applies layout containment," but chrome is not doing what I expect (Firefox is still doing what I expect)
A bug or a recent change?
demo: https://codepen.io/t_afif/pen/QWeBMKy (the header is fixed on chrome but not in Firefox)
cc npub1xpyjuzq6eysnfu3w9y9qzza5kl0t4azvkn5uvlzr2v68qck5uchspdyjva (npub1xpy…yjva) npub17cs0awnjg84w085zneqyvpzynpr75l5z47r9hjrhkcgetnzgvsmqrvxjws (npub17cs…xjws) ?
#CSS #HTML