You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix the issue where TextNode does not render when it is an empty string and the line-height issue in non-Firefox browsers; also, fix the misalignment of textDecorationLine at high resolutions.
// Fix the issue where textDecorationLine exhibits x-axis positioning errors on high-resolution devices due to varying devicePixelRatio, corrected by using relative values of element heights.
228
237
switch(textDecorationLine){
229
238
caseTEXT_DECORATION_LINE.UNDERLINE:
230
-
// Draws a line at the baseline of the font
231
-
// TODO As some browsers display the line as more than 1px if the font-size is big,
232
-
// need to take that into account both in position and size
0 commit comments