Float:right plus overflow:hidden truncates arabic glyph |
||
Issue descriptionChrome Version: (copy from chrome://version) OS: (e.g. Win7, OSX 10.9.5, etc...) What steps will reproduce the problem? (1) Open: data:text/html,<meta charset="utf-8"><div style="font-size:32px;float:right; overflow:hidden">%D9%82%D9%8A%D9%85%D8%A9</div> (2) Beginning / visually right hand side of the Arabic text. What is the expected result? ق rendered correctly. What happens instead? Right hand side of ق gets truncated. Same behavior in FF. Happens when Arabic text is rendered using Times New Roman. When using Noto Naskh Arabic the issue does not occur. I suspect it's a font metrics issue with Times. Koji, what do you think?
,
Jan 4 2018
Isn't this by design? Seems to occur on Firefox, or Chrome on Windows too, and without float. When glyph overhangs, and if author sets overflow:hidden, the overflowing parts of glyphs should be clipped.
,
Dec 13
No longer reproduces. |
||
►
Sign in to add a comment |
||
Comment 1 by drott@chromium.org
, Jan 2 2018