Bug 101521
Summary: | WebKit alters inline style when substituting words via spelling correction | ||
---|---|---|---|
Product: | WebKit | Reporter: | Julie Parent <jparent> |
Component: | HTML Editing | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | ahmad.saleem792, ap, bfulgham, eae, enrica, jiapu.mail, megan_gardner, rniwa, webkit-bug-importer, wenson_hsieh |
Priority: | P2 | Keywords: | HasReduction, InRadar |
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | 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 |
Julie Parent
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.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Ryosuke Niwa
<rdar://problem/12658700>
Ojan Vafai
Happens in both Chrome and Safari.
Ahmad Saleem
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!