Re: [dev-servo] loading web fonts synchronously during automation

2015-11-04 Thread Bobby Holley
Seems generally doable, but probably more than I want to chew right now. I'll get an issue filed though. Does anyone object to landing the synchronous font loading as a stopgap to get better reftest coverage until we make the font loading logic smarter? On Wed, Nov 4, 2015 at 8:14 PM, Bobby Holle

Re: [dev-servo] loading web fonts synchronously during automation

2015-11-04 Thread Bobby Holley
That's a great point - I'll take a look to see how doable it is. On Wed, Nov 4, 2015 at 7:28 PM, L. David Baron wrote: > On Wednesday 2015-11-04 19:16 -0800, Bobby Holley wrote: > > Right now, every wpt test includes a stylesheet with an @font-face rule > to > > make the 'ahem' font available to

Re: [dev-servo] loading web fonts synchronously during automation

2015-11-04 Thread L. David Baron
On Wednesday 2015-11-04 19:16 -0800, Bobby Holley wrote: > Right now, every wpt test includes a stylesheet with an @font-face rule to > make the 'ahem' font available to tests. Since font loading triggers a > document-wide reflow, we end up with a non-deterministic network-driven > reflow in each a

[dev-servo] loading web fonts synchronously during automation

2015-11-04 Thread Bobby Holley
Right now, every wpt test includes a stylesheet with an @font-face rule to make the 'ahem' font available to tests. Since font loading triggers a document-wide reflow, we end up with a non-deterministic network-driven reflow in each and every test, which makes it harder to test layout optimizations