Re: [csswg-drafts] [css-contain] Behavior of slightly offscreen content having`content-visibility:auto` when UA margin around the viewport is 0 (#8407)

(Do not open if you are in risk of epileptic seizures) [Simpler testcase](https://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%0A%3Cstyle%3E%0Abody%20%7B%0A%20%20position%3A%20absolute%3B%0A%20%20left%3A%20-200vmax%3B%0A%20%20content-visibility%3A%20auto%3B%0A%20%20contain-intrinsic-size%3A%201000vmax%201000vmax%3B%0A%20%20background%3A%20red%3B%0A%7D%0A%3C%2Fstyle%3E), doesn't require changing `kViewportMarginPercentage` nor `layout.css.content-visibility-relevant-content-margin`:

```html
<!DOCTYPE html>
<style>
body {
  position: absolute;
  left: -200vmax;
  content-visibility: auto;
  contain-intrinsic-size: 1000vmax 1000vmax;
  background: red;
}
</style>
```

-- 
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8407#issuecomment-1420975036 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 7 February 2023 15:34:37 UTC