WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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
Details
Demo for Chinese/Japanese
(780 bytes, text/html)
2013-03-14 14:47 PDT
,
Ryosuke Niwa
no flags
Details
Demo for Chinese/Japanese
(774 bytes, text/html)
2022-12-16 17:21 PST
,
Ryosuke Niwa
no flags
Details
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Ryosuke Niwa
Comment 1
2013-03-13 20:38:57 PDT
Created
attachment 193056
[details]
Demo
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
<
rdar://problem/13424492
>
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.
Top of Page
Format For Printing
XML
Clone This Bug