(Windows) Including Meiryo as font causes incorrect scrollHeight for japanese writing
Categories
(Core :: DOM: CSS Object Model, defect, P3)
Tracking
()
People
(Reporter: diogomfranco, Unassigned)
References
Details
(Keywords: testcase)
Updated•8 years ago
|
Updated•8 years ago
|
Comment 1•6 years ago
|
||
"Noto Sans CJK JP DemiLight" is the font used by my Linux Debian 9.8 system when trying Diogo Franco's test and the following tests:
The problem (scrollHeight should be equal to offsetHeight if+when there is no vertical scrollbar generated) reported is more obvious and more present when specified font size value is close to line-height computed value.
Right now, I can not say if this is a specification violation since we are using glyphs that normally would (or should expectedly) only appear inside or with a block that uses a vertical writing mode.
Chromium 72.0.3626.122 has the same issue: scrollHeight is greater than offsetHeight and no vertical scrollbar is generated in all 3 tests.
Finally, it seems clear that, in both Firefox 60.5.1 ESR and in Chromium 72, the glyphs of last line box bleeds out and bleeds over the first line box and overlaps it partially. So, there should be no vertical scrollbar for that reason but then the reported scrollHeight value is not reliable and not trustworthy.
Updated•3 years ago
|
Description
•