Open
Bug 364432
Opened 18 years ago
Updated 2 years ago
background-position changed to -x-background-x-position and -x-background-y-position
Categories
(Core :: DOM: CSS Object Model, defect, P5)
Core
DOM: CSS Object Model
Tracking
()
NEW
People
(Reporter: bugmail, Unassigned)
References
Details
(Keywords: css2)
If a CSS declaration is specified for background-position values in a new mail message, Thunderbird 1.5.0.8/Mac (cross-platform likely but unconfirmed) changes those into two separate nonstandard values that will not work in a non-Gecko mail client. Steps to reproduce: 1. Open a new mail message window 2. Focus the body text pane 3. Select Format/Page Colors and Background... 4. Click Advanced Edit... 5. Click Inline Style 6. Enter property "background-position" and value "top left" and click OK 7. Click Advanced Edit... and Inline Style again Expected results We should see the CSS declaration we entered; that is, background position:top left; Actual results Thunderbird has transformed our declaration into -x-background-x-position:top and -y-background-y-position:left. While Gecko will pay attention to these, a non-Gecko e-mail client will not do anything with them and so the style will not be seen. Other CSS declarations, if entered, retain their standard CSS property names.
Comment 1•18 years ago
|
||
This happens in Win XP Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a2pre) Gecko/20061220 Thunderbird/3.0a1 ID:2006122003, add has been a condition in the code for a very long time. Additionally, this is not the only attribute that get "Mozified" See https://bugzilla.mozilla.org/show_bug.cgi?id=247816#c4
Setting All/All per comment 1.
OS: Mac OS X 10.4 → All
Hardware: Macintosh → All
Comment 3•18 years ago
|
||
After further testing, I think that this bug will be marked invalid. The property names that I see in the advanced edit window seem to be iterim names that just appear while in the composition window. When I save the composition and then view source the correct property names are there in this particular testcase. <body style="background-repeat: no-repeat; background-position: left top;" Try saving or sending the message to yourself , then view the source.
Assignee: mscott → dbaron
These should no longer be shown now that bug 258080 has landed. That said, there may still be problems with margin-left, padding-left, margin-right, and padding-right.
Assignee: dbaron → general
Component: Message Compose Window → DOM: CSSOM
Product: Thunderbird → Core
QA Contact: message-compose → ian
Although bug 253222 might cover that as well.
Updated•15 years ago
|
Assignee: general → nobody
QA Contact: ian → general
Depending on what the advanced edit window does, bug 376075 may have fixed those.
QA Contact: general → style-system
Comment 7•6 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046 Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5. If you have questions, please contact :mdaly.
Priority: -- → P5
Updated•2 years ago
|
Severity: minor → S4
You need to log in
before you can comment on or make changes to this bug.
Description
•