#6621 closed Bug (fixed)
Webkit: Cannot apply a text color because of an input element
| Reported by: | Tobiasz Cudnik | Owned by: | Sa'ar Zac Elias |
|---|---|---|---|
| Priority: | Normal | Milestone: | CKEditor 3.4.2 |
| Component: | General | Version: | 3.4.2 |
| Keywords: | Webkit | Cc: |
Description (last modified by )
In Chrome, we cannot apply a text color because of an input element.
- Use the following content:
<p> foo</p> <p> <input type="radio" />bar</p>
- Select all.
- Set a text color.
Result: The color is applied only to the first paragraph ("foo").
This is an regression against 3.4.1.
Attachments (2)
Change History (14)
comment:1 Changed 15 years ago by
| Status: | new → confirmed |
|---|
comment:2 Changed 15 years ago by
| Description: | modified (diff) |
|---|
comment:3 Changed 15 years ago by
| Milestone: | → CKEditor 3.4.2 |
|---|---|
| Version: | → 3.4.2 (SVN - trunk) |
Regression
comment:6 Changed 15 years ago by
The important fact: the select element doesn't trigger such behavior.
comment:7 Changed 15 years ago by
| Owner: | set to Sa'ar Zac Elias |
|---|---|
| Status: | confirmed → assigned |
comment:8 Changed 15 years ago by
What I'm seeing here: Webkit divides the range into two, separated by the radio, while it selection system has a bug that prevent from making a text selection that start after a radio later.
Changed 15 years ago by
| Attachment: | 6621.patch added |
|---|
comment:9 Changed 15 years ago by
| Status: | assigned → review |
|---|
comment:10 Changed 15 years ago by
| Status: | review → review_passed |
|---|
comment:11 Changed 15 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | review_passed → closed |
Fixed with [6035].
comment:12 Changed 15 years ago by
Actually we accepted 6221.patch as an urgent fix, while a cleaner fixes has to be delivered only for this particular case, but not bringing back [5744], which introduces complexities to the codes.
Providing here a second patch to be considered later.
Changed 15 years ago by
| Attachment: | 6621_2.patch added |
|---|

Blockquote is also affected.