Closed
Bug 247816
Opened 17 years ago
Closed 6 years ago
Adding float style causes some pre-existing style attributes to be dropped
Categories
(Core :: DOM: Editor, defect)
Core
DOM: Editor
Tracking
()
RESOLVED
FIXED
People
(Reporter: danm.moz, Unassigned)
References
Details
(Recent trunk build:) Margin style attributes seem to be selectively dropped
when an image is given a float style.
1) Write a new HTML message.
2) Drop an image into its body.
3) Give it margins (Image Properties -> Advanced Edit -> Inline Style)
Make it "margin: 20".
3a) Ummm I wanted to add another attribute. Click OK to accept the margin
and dismiss the dialog.
3b) Return to Inline Style. Note how the one property has become eight. Yay.
4) Add the style "float: left". Click OK.
5) Return to Inline Style.
Six of the eight margin properties have been dropped. Specifically the left and
right margins are gone.
Comment 1•16 years ago
|
||
This is a basic editor problem, seen in NVu and Mozilla Composer. Margin is not the only attribute affected; padding is also, altho border is not. Incidentally: to add another attribute, just put the focus back on the attribute name and type a new one, you don't have to dismiss the dialog. Not intuitive, but it works.
Assignee: mscott → mozeditor
Component: Mail Window Front End → Editor
OS: Windows XP → All
Product: Thunderbird → Core
QA Contact: bugzilla
Hardware: PC → All
Summary: float style causes some margin style attributes to be dropped → Adding float style causes some pre-existing style attributes to be dropped
Version: unspecified → Trunk
Comment 2•15 years ago
|
||
*** Bug 351620 has been marked as a duplicate of this bug. ***
Comment 3•15 years ago
|
||
Summary should state that adding/editing any style attribute removes margin-left,margin-right, or padding-left,padding-right attributes.
Comment 4•15 years ago
|
||
Screenshot of the advanced editor window: http://img241.imageshack.us/img241/3084/advancededituz8.gif margin-left-value, margin-right-value,padding-left-value,padding-right-value were added as "internal use" items in this checkin for bug 74880 https://bugzilla.mozilla.org/attachment.cgi?id=140573 Regression range testing:(from archives) Thunderbird 0.5a (20040113) works fine Thunderbird 0.5+ (20040222) shows the bug All trunk and branch and release versions of Thunderbird/suite mailnews/ Composer, and NVU have shown this symptom since the checkin of 2004-02-04
Comment 5•15 years ago
|
||
CC'ing author of the patch in question.
Updated•14 years ago
|
QA Contact: bugzilla → editor
Updated•14 years ago
|
Assignee: mozeditor → nobody
Comment 6•6 years ago
|
||
bug 649142 fixed this
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•