Bug 101521 - WebKit alters inline style when substituting words via spelling correction
Summary: WebKit alters inline style when substituting words via spelling correction
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL: http://plexode.com/eval3/#ht=%3Cdiv%2...
Keywords: HasReduction, InRadar
Depends on:
Blocks:
 
Reported: 2012-11-07 16:26 PST by Julie Parent
Modified: 2022-07-27 19:10 PDT (History)
10 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Julie Parent 2012-11-07 16:26:18 PST
1. Go to http://plexode.com/eval3/#ht=%3Cdiv%20contentEditable%3E%3Cb%20style%3D%22font-weight%3A%20normal%3B%20%22%3E%3Cspan%20style%3D%22white-space%3A%20pre-wrap%3B%22%3EA%20htey%20B%3C%2Fspan%3E%3C%2Fb%3E%3C%2Fdiv%3E
2. Right click on the misspelled word in the content editable region ("htey")
3. Select "they" from the spell check menu

Result: The words before ("A") and after ("B") the corrected word turn bold.
Expected Result: Everything should stay non-bold.
Comment 1 Ryosuke Niwa 2012-11-07 16:29:59 PST
<rdar://problem/12658700>
Comment 2 Ojan Vafai 2012-11-07 17:37:16 PST
Happens in both Chrome and Safari.
Comment 3 Ahmad Saleem 2022-07-26 14:51:32 PDT
Both Safari 15.6 and Chrome Canary 106 on macOS 12.5 as of today also make both "A" and "B" bold, unfortunately, I was not able to get 'spell' check working in Firefox Nightly so was not able to test. Thanks!