File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
mathml/relations/css-styling Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 2121 document . getElementById ( "m6" ) . removeAttribute ( "displaystyle" ) ;
2222 document . documentElement . removeAttribute ( "class" ) ;
2323 }
24- window . addEventListener ( "load" , doTest ) ;
24+ window . addEventListener ( "load" , function ( ) {
25+ // Delay the check to workaround WebKit's bug https://webkit.org/b/174030.
26+ requestAnimationFrame ( ( ) => { document . fonts . ready . then ( doTest ) ; } ) ;
27+ } ) ;
2528 </ script >
2629 < link rel ="stylesheet " href ="/fonts/ahem.css ">
2730 < style >
Original file line number Diff line number Diff line change 1818 setAttribute ( 'mathbackground' , 'red' ) ;
1919 document . documentElement . removeAttribute ( "class" ) ;
2020 }
21- window . addEventListener ( "load" , doTest ) ;
21+ window . addEventListener ( "load" , function ( ) {
22+ // Delay the check to workaround WebKit's bug https://webkit.org/b/174030.
23+ requestAnimationFrame ( ( ) => { document . fonts . ready . then ( doTest ) ; } ) ;
24+ } ) ;
2225 </ script >
2326 < link rel ="stylesheet " href ="/fonts/ahem.css ">
2427 < style >
You can’t perform that action at this time.
0 commit comments