Opened 12 years ago
Closed 12 years ago
#9287 closed Bug (fixed)
Duplicate width (attribute and style)
Reported by: | Flavien CROCHARD | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 3.0 |
Keywords: | Firefox | Cc: |
Description
To reproduce :
- Create a new table.
- In wysiwyg mode, resize it
- Right clic on the table, and enter a new width.
- Go to source, the table contains 2 widths (<table width="xxx" style="width: xxxpx")
Thanks in advance.
Change History (6)
comment:1 Changed 12 years ago by
Keywords: | Firefox added; firefox removed |
---|---|
Status: | new → confirmed |
Version: | 3.6.3 → 3.0 |
comment:2 Changed 12 years ago by
Milestone: | → CKEditor 4.1 |
---|
This ticket no longer occurs in CKE 4.1RC. Once we release 4.1 it can be closed.
comment:4 Changed 12 years ago by
I've checked this in 4.1RC here: http://ckeditor.com/ckeditor_4.1rc/samples/datafiltering.html Still have a problem in FF 19.0:
- Create new table (def. Width = 500)
- In WYSIWYG mode, resize it
- Right click -> Table properties: Width field is empty! (if i look in Firebug to code, i'll see something like "<table width="748" height="405" cellspacing="1" cellpadding="1" border="1" _moz_resizing="true">")
- Press Source - it show "<table border="1" cellpadding="1" cellspacing="1" style="height:405px; width:748px">"
- Press Source again -> choose Table properties: now i can see width and height
It seems to me that some transforms apply when I press Source.
comment:5 Changed 12 years ago by
Yes there are some transformations as we can't change native browser behaviour. It writes values to attributes and that is it. We can only workaround this.
Particular issue with missing width value was described here: #10201.
Please note that 2 values will probably always be available in Firebug but user looking at Source and WYSIWYG mode will not be affected by these.
comment:6 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | confirmed → closed |
Contrary to #10201 this TC no longer occurs in CKEditor 4.1.
Problem has been reproducible from CKEditor 3.0. I believe that this is because CKEditor operates on styles but Firefox resize feature operates on attributes. This may be the reason why there are two widths.
Please not that this problem does not occur in CKEditor 4 beta - http://ckeditor.com/ckeditor-4-beta