-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Labels
area:browserA bug caused by one or more browser/web rendering engine implementations.A bug caused by one or more browser/web rendering engine implementations.area:coreA bug/feature for the core code-input.js/code-input.css filesA bug/feature for the core code-input.js/code-input.css filesbugSomething isn't workingSomething isn't workingpriority:medium
Description
Steps to reproduce
- Open tests/i18n.html (in the repository).
- Alternatively, create a code-input element and input some Devangari (e.g. Hindi) or Hebrew text into it.
- Make the text in the syntax highlighting bold by e.g. using the markdown language and surrounding a line of text
**like this**
.
Expected output
The displayed pre code
text is visibly bold and aligns with the input textarea
(i.e. selecting text does not misalign with the displayed text).
Actual output
The displayed pre code
text is wider than the input textarea
text:
Scope
This bug is reproduced for me with Devangari and Hebrew scripts, but not with Latin, Han, Arabic or Cyrillic scripts.
I can reproduce this bug with Prism.js or highlight.js.
I can reproduce this bug on Firefox (Gecko) and GNOME Web (WebKit), but not on Chromium (Blink), on EndeavourOS KDE Arch Linux with Hack as the operating system monospace font and the Noto family as the other operating system fonts.
Metadata
Metadata
Assignees
Labels
area:browserA bug caused by one or more browser/web rendering engine implementations.A bug caused by one or more browser/web rendering engine implementations.area:coreA bug/feature for the core code-input.js/code-input.css filesA bug/feature for the core code-input.js/code-input.css filesbugSomething isn't workingSomething isn't workingpriority:medium