Opened 12 years ago
Closed 12 years ago
#9381 closed Bug (fixed)
[IE8] Image dialog fails to remove border
Reported by: | Garry Yao | Owned by: | Garry Yao |
---|---|---|---|
Priority: | Normal | Milestone: | CKEditor 3.6.5 |
Component: | General | Version: | 3.6.5 |
Keywords: | Cc: |
Description
- Load the following source in IE8:
<p>[<img src="http://dev.ckeditor.com/chrome/site/logo-ckeditor-dev.png" border="1" />]</p>
- Open Image dialog, then empty the border field value
- Confirm the dialog and check the source.
- Actual:
<p><img src="http://dev.ckeditor.com/chrome/site/logo-ckeditor-dev.png" style="border-bottom: 1px solid; border-left: 1px solid; border-top: 1px solid; border-right: 1px solid" /></p>
Attachments (2)
Change History (7)
Changed 12 years ago by
Attachment: | 9381.patch added |
---|
comment:1 Changed 12 years ago by
Owner: | set to Garry Yao |
---|---|
Status: | new → review |
comment:2 Changed 12 years ago by
Status: | review → review_failed |
---|
Changed 12 years ago by
Attachment: | 9381_2.patch added |
---|
comment:3 Changed 12 years ago by
Status: | review_failed → review |
---|
Updated with coding styles fixes, there's a limitation for thecurr impl, that it doesn't properly expanding for shorthands like "border-width" and "border-top", but let's leave it simply for now.
comment:4 Changed 12 years ago by
Status: | review → review_passed |
---|
comment:5 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | review_passed → closed |
Fixed with [7623].
The only problem in the patch is the lack of attention to the coding style (curly braces) and the unnecessary switch/case block at line 1781 (should be "if"). For the rest, the idea is good.