Bug 1804761 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

STR:
1. Set the following about:config prefs:
```
layout.css.content-visibility.enabled = true
layout.css.content-visibility-relevant-content-margin = 0
```
2. Load attached testcase.

ACTUAL RESULT:
Oscillating/flashing rect.  It looks like the div is switching between being considered "relevant" vs. "not-relevant".

EXPECTED RESULT:
Stable layout (hopefully this isn't something that's intended to fall out of the spec...)

When it's considered relevant, it renders at its actual 0x0 content size which places it entirely offscreen, which then makes it not-relevant, which then grows it to its `contain-intrinsic-size`-imposed size, which then places it back on-screen, which makes it relevant, etc.
STR:
1. Set the following about:config prefs:
```
layout.css.content-visibility.enabled = true
layout.css.content-visibility-relevant-content-margin = 0
```
2. Load attached testcase.

ACTUAL RESULT:
Oscillating/flashing rect.  It looks like the div is switching between being considered "relevant" vs. "not-relevant".

EXPECTED RESULT:
Stable layout.

(hopefully the actual-results aren't something that's intended to fall out of the spec...)

When it's considered relevant, it renders at its actual 0x0 content size which places it entirely offscreen, which then makes it not-relevant, which then grows it to its `contain-intrinsic-size`-imposed size, which then places it back on-screen, which makes it relevant, etc.

Back to Bug 1804761 Comment 0