Re: [fxtf-drafts] [filter-effects] What should happen if filter and background-attachment fixed; applied to the same element?

After reading (and slowly recollecting) the background spec there are 2 aspects.
* The [background painting area](https://drafts.csswg.org/css-backgrounds/#background-painting-area) specifies the area that needs to get filled with the background. The area gets determined by the background-clip property (`border-box`, `padding-box`, `content-box`). It does not clipped or affected by scroll areas or viewports. At least I couldn't find anything in the spec that would say otherwise.
* The [fixed](https://drafts.csswg.org/css-backgrounds/#valdef-background-attachment-fixed) `background-attached` CSS property. From what I understand of the spec, it only defines the "origin" of the background but itself has no affect on the background painting area.

@fantasai Please correct me if I am wrong, but taking all this into account, the behavior of Safari seems to be correct while the behavior of Firefox, Chrome and Edge are incorrect. The painting area might be outside of the viewport when scrolling a document with an attached background, but there is nothing in the spec that implies that it should be cropped.

Therefore, the expectation of @rrolandd seems to be correct and is following current specification texts.

-- 
GitHub Notification of comment by dirkschulze
Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/238#issuecomment-358404513 using your GitHub account

Received on Wednesday, 17 January 2018 18:52:12 UTC