NEW 112318
WebKit can strip lang attribute when deleting a line break and change font
https://bugs.webkit.org/show_bug.cgi?id=112318
Summary WebKit can strip lang attribute when deleting a line break and change font
Ryosuke Niwa
Reported 2013-03-13 20:38:16 PDT
Apparently lang="en-us" can affect the way font-fallback works and cause the appearance of text to change. Reproduction steps: 1. Open the attached email (which appears to be composed by Microsoft Outlook/Outlook Express) 2. Delete the line break before second to the last line. Expected result: The blank line is removed and the all text maintains the same appearance. Actual result: The blank line is removed but the line before which the line break was removed changes its appearance.
Attachments
Demo (614 bytes, text/html)
2013-03-13 20:38 PDT, Ryosuke Niwa
no flags
Demo for Chinese/Japanese (780 bytes, text/html)
2013-03-14 14:47 PDT, Ryosuke Niwa
no flags
Demo for Chinese/Japanese (774 bytes, text/html)
2022-12-16 17:21 PST, Ryosuke Niwa
no flags
Ryosuke Niwa
Comment 1 2013-03-13 20:38:57 PDT
Ryosuke Niwa
Comment 2 2013-03-14 14:47:58 PDT
Created attachment 193189 [details] Demo for Chinese/Japanese This bug is particularly bad when Chinese and Japanese are mixed because unicode uses the same code point for multiple characters that are considered distinctively different in those two languages.
Radar WebKit Bug Importer
Comment 3 2013-03-14 14:48:40 PDT
Ahmad Saleem
Comment 4 2022-12-16 17:04:22 PST
@rniwa - It seems that this is not longer reproducible. I am not able to reproduce this bug using Demo for Chinese / Japanese, Safari Technology Preview 160 does not change the font and also matches similar to Chrome Canary 110 and Firefox Nightly 110. Let me know if I am doing something wrong. Thanks!
Ryosuke Niwa
Comment 5 2022-12-16 17:21:44 PST
Created attachment 464081 [details] Demo for Chinese/Japanese
Ryosuke Niwa
Comment 6 2022-12-16 17:22:07 PST
This bug still reproduces in Japanese/Chinese
Note You need to log in before you can comment on or make changes to this bug.