Open xiaochengh opened 4 years ago
No, I don't think they should; if we've gotten to the point of painting, damage has already been done, and we shouldn't hide text afterward. I guess we might need to put an escape hatch into the font-display values that hide text to account for this.
Reposted from crbug.com/770003
Browsers (tested with Chrome, Firefox and Safari) currently make text that has already been displayed invisible when a stylesheet loads that provides a font for that text.
Simple example. Try http://output.jsbin.com/qonelib/quiet with cache disabled and network throttling to see the effect.
Should browsers make text invisible that has previously been painted as visible?