Open Bug 253222 Opened 21 years ago Updated 1 year ago

inline style properties lost when open Advanced Property Editor twice or more

Categories

(MailNews Core :: Composition, defect)

defect

Tracking

(Not tracked)

People

(Reporter: fredrik.wendt, Unassigned)

References

Details

Attachments

(1 file, 1 obsolete file)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.1) Gecko/20040722 Galeon/1.3.16 (Debian package 1.3.16-1) Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a2) Gecko/20040714 Build ID: 2004071405 Reproducible: Always Steps to Reproduce: 1. Start composing a new e-mail, put caret in body. 2. Choose Format -> Page Colors and Background. 3. Click the Advanced Edit-button. 4. Switch tab to Inline Style. 5. Enter property "background", value "url(http://www.linknet.se/images/e-postbakgrund.gif) #fff no-repeat fixed center". 6. Click OK button. 7. Click Advanced Edit. 8a. (HTML attribute background now has the same value as CSS property background-image. As a side note, there should be a way to having this property NOT set, since I'd like GUI MUAs that don't support CSS showing a white background only. Displaying the image at top left corner, possibly repeated, would really make a bad impression on the recipient.) 8b. Switch to Inline Style and notice that -x-background-x-position (and ...-y-pos...) properties are set. 9. Press OK 10. Press Advaned Edit, switch to the Inline Style tab. Actual Results: Inline Style properties -x-background-[x|y]-position are lost. CSS property 'background-position: center center' was previously rewritten into these two properties. Expected Results: Two-fold: A) background-position property to be kept as is B) -x-background-x-position property should not be lost, nor should -x-background-y-position There's no workaround but to enter the same property over and over, which some might consider a workaround, other won't => I'm setting severity to Normal
Reproduced with Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a3) Gecko/20040726 This bug also happens in Composer; CC'ing Daniel. See also bug 192217, bug 199000.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Linux → All
Hardware: PC → All
(In reply to comment #0) > 8a. (HTML attribute background now has the same value as CSS property > background-image. As a side note, there should be a way to having this > property NOT set, since I'd like GUI MUAs that don't support CSS showing a > white background only. Displaying the image at top left corner, possibly > repeated, would really make a bad impression on the recipient.) This is a separate issue, and should get its own bug. (See also bug 234252.)
Depends on: 208729
margin-left inline styles are also lost if any other attribute is changed. Demo: paste the attached html into a message composition. double click on the division which contains the text to bring up advanced edit change the top px position, and the margin-left attribute is lost
Forgot to state that the above problem exists in Thunderbird version 0.7+ (20040722) but probably also in Moz Mail/News Added mscott as cc
Depends on: 258080
Product: MailNews → Core
sorry for the spam. making bugzilla reflect reality as I'm not working on these bugs. filter on FOOBARCHEESE to remove these in bulk.
Assignee: sspitzer → nobody
QA Contact: composition
Symptoms persist in: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9pre) Gecko/2008032702 Thunderbird/3.0a1pre ID:2008032702
Flags: wanted-thunderbird3.0a1?
Moving from wanted‑thunderbird3.0a1? flag to wanted‑thunderbird3.0a2? flag since code for Thunderbird 3 Alpha 1 has been frozen.
Flags: wanted-thunderbird3.0a1? → wanted-thunderbird3.0a2?
Flags: wanted-thunderbird3.0a2? → wanted-thunderbird3?
Product: Core → MailNews Core
Flags: wanted-thunderbird3? → wanted-thunderbird3+
Severity: normal → S3
Attachment #9383985 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: