Closed
Bug 782479
Opened 13 years ago
Closed 13 years ago
Image dimensions are ignored (style attribute stripped)
Categories
(developer.mozilla.org Graveyard :: Editing, defect)
developer.mozilla.org Graveyard
Editing
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: MattN, Unassigned)
References
()
Details
(Keywords: regression)
The WYSIWYG editor inserts a style attribute with width and height set for <img>. These are stripped when the page is displayed.
What is the correct way to do this? The WYSIWYG editor should not insert markup that is not allowed. I believe this is a regression introduced by Kuma.
Comment 1•13 years ago
|
||
This was fixed long ago. I just edit/save the page to have all the styling taking into account.
Note that we do accept width and height in the style attribute, but we also accept the align attribute on <img>, which is obsolete in HTML5 and even deprecated in HTML4.01.
We really should fix these, but that's another bug (once we have a working find/replace tool)
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
| Assignee | ||
Updated•13 years ago
|
Version: Kuma → unspecified
| Assignee | ||
Updated•13 years ago
|
Component: Docs Platform → Editing
Updated•6 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•