Ticket #5242 (closed Bug: fixed)
Text and Background Colour applied to the text are removed together even though we removed only one of Text Colour or Background Colour
| Reported by: | satya | Owned by: | garry.yao |
|---|---|---|---|
| Priority: | Normal | Milestone: | CKEditor 3.3 |
| Component: | Core : Styles | Version: | SVN (CKEditor) - OLD |
| Keywords: | IBM Confirmed Review+ | Cc: | damo,joek |
Description
To reproduce the defect:
- open the Ajax sample.
- Click on Text Colour button menu and select some colour(eg: red).
- Click on Background Colour button menu and select some colour(eg: cyan).
- Type the text see that both the Text and Back ground colour's that we have selcted in steps 2 & 3 is applied to the text.
- Now click on Text Colour button and select the Automatic Colour Option to remove the Text Colour.
- Type some more text.
- See that both Text Colour as well as Background colour applied to the text is removed.
Expected Result:
Only the Text Colour should be removed and the Background colour should remain.
Same behaviour appears when we remove Background Colour insted of Text Colour in step 5.
Attachments
Change History
comment:1 Changed 2 years ago by garry.yao
- Keywords Confirmed added
- Owner set to garry.yao
- Status changed from new to assigned
- Component changed from General to Core : Styles
- Version changed from 3.1 to SVN (CKEditor)
comment:2 Changed 2 years ago by garry.yao
- Keywords Review? added
The 'Automatic' color options works now by using a hack that an empty color style (single span without any attributes) could matches all fore and background colors, but obviously this's cumbersome, since it will incorrectly remove the one other when applying, so introduce here a new approach.
comment:4 Changed 23 months ago by garry.yao
- Status changed from assigned to closed
- Resolution set to fixed
Fixed with [5265].
comment:5 Changed 23 months ago by satya
- Status changed from closed to reopened
- Resolution fixed deleted
In IE6 and IE7 this is still re producible.
Note: See
TracTickets for help on using
tickets.

