catchpoint / WebPageTest.RUM-SpeedIndex

Calculate SpeedIndex measurements from the field
MIT License
199 stars 37 forks source link

Add logic for dealing with custom fonts #5

Open pmeenan opened 10 years ago

pmeenan commented 10 years ago

Fonts can delay the display of text content but are completely ignored. It would be helpful to add some logic to detect visible content that uses custom fonts and apply the speed index timing to the time when the font loads.

For the visible area it would be helpful to take into account how much text is actually displayed because it may not match the size of the container.