Bug 176049
| Summary: | Styled link in contenteditable loses style when new text is append at the end of link | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | m.samsel |
| Component: | HTML Editing | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | ahmad.saleem792, ap, bfulgham, m.lewandowski, rniwa, webkit-bug-importer, wenson_hsieh, zalan |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 10 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
m.samsel
Link to test case: https://codepen.io/mlewand/pen/brmoLr
Steps to reproduce:
1. Open link mentioned before.
2. Put caret at the end of red link.
3. Start to type text.
Expected result:
- Text will append as a link and preserve its style.
Actual Result:
- Typed text is not a link, but it get red style. Unfortunately reddish style is removed from link.
Browser: Version 10.1.2 (12603.3.8)
OS: MacOS 10.12.6
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/34132257>
Ahmad Saleem
I am able to reproduce this in Safari 16 and Safari Technology Preview 154 and get "Actual Results" while in other browsers, I don't get this behavior. Thanks!