DescriptionImprove 2D Canvas Text Metrics Test
Instead of a somewhat arbitrary timeout which may introduce flakiness
and trying to force the font load through an HTML element using the font,
I suggest to use explicit font loading events.
CanvasTest.ttf only contains test glyphs for [A-E], the test
strings "Some Text", "M", "q" will use fallback fonts which lead to
platform specific variations.
Since this was never an original Philip Canvas Text, I think it's
okay to load a web font explicitly from outside the Philip
suite.
BUG=460866
R=sugoi,eae,jbroman
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=192429
Patch Set 1 #Patch Set 2 : Additional rebaselines for virtual suites #Patch Set 3 : Rebaselined TestExpectations #Patch Set 4 : Adding missing endTest() statements #
Messages
Total messages: 16 (7 generated)
|