Open Bug 452582 Opened 16 years ago Updated 3 years ago

<img> changes are saved into @style instead of @width and @height

Categories

(Core :: DOM: Editor, defect, P5)

x86
Windows Vista
defect

Tracking

()

UNCONFIRMED

People

(Reporter: open, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; sk-SK; rv:1.8.1.16) Gecko/20080702 Firefox/2.0.0.16
Build Identifier: 

When manipulating with images in embedded editor, then changes of width and height are saved into @style instead of standard <img> attributes @width and @height.

Reproducible: Always

Steps to Reproduce:
1.
2.
3.
Are you talking about midas (aka designMode)?
yes, designmode
See the discussion on bug 399046
In Firefox 3.5, same problem with editing text align in paragraphs. DesignMode is ignoring HTML standard, and is using style attribute instead of @align attribute.

<p style="text-align:right">text</p> instead of:
<p align="right">text</p>

@align is standard HTML attribute

The result is, that DesignMode output document style can't be overriden by CSS document.

Bulk-downgrade of unassigned, >=5 years untouched DOM/Storage bugs' priority.

If you have reason to believe this is wrong (especially for the severity), please write a comment and ni :jstutte.

Severity: normal → S4
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.