Home | History | Annotate | Download | only in assets
      1 description("Test that setting a font with size in 'ex' units doesn't crash.");
      2 
      3 ctx = document.createElement('canvas').getContext('2d');
      4 
      5 ctx.font = "5ex sans-serif";
      6 shouldBe("ctx.font = '5ex sans-serif'; ctx.font", "'5ex sans-serif'");
      7