Chrome Version: 71.0.3578.98 (Official Build) (64-bit)
OS: macOS High Siera 10.13.6
What steps will reproduce the problem?
(1) Open https://output.jsbin.com/hewokev/quiet. Bunch of images will be displayed. Each with the `display` defined as "block" in CSS.
(2) Click on "Toggle display". The images' `style.display` is set to "none". Observe that all images are now hidden.
(3) Click on "Toggle display" again. The images are now have their `style.display` reset and thus styled as `display: block`. Observe that images remain unpainted.
(4) Try to scroll the document or switch tabs - the images are repainted.
What is the expected result?
Images should be repainted once `display: none` is removed.
What happens instead?
Images remain unpainted. Important caveat: the container where images are hosted is `overflow: auto`. If it's instead `overflow: hidden` - images are repainted as a expected.
Comment 1 by dtapu...@chromium.org
, Jan 8Components: -Blink>Compositing -Blink Blink>Paint>Invalidation
Labels: OS-Mac