Inline style editor not usable with margin, padding, border



6 years ago
6 years ago


(Reporter: mapson12, Unassigned)


Firefox Tracking Flags

(Not tracked)




6 years ago
User Agent: Mozilla/5.0 (X11; Linux i686; rv:18.0) Gecko/20100101 Firefox/18.0 SeaMonkey/2.15
Build ID: 20130105222032

Steps to reproduce:

Composer settings:
- Use CSS styles
- Pressing return creates new paragraph

Open the inline style editor on an element and set margin = 1em. 
Close and open the inline style editor again.

Actual results:

The property margin got transformed into some internal representation. Clicking OK now will remove the left and right value for the margin property.

Expected results:

Properties entered in the dialog should not change.

The same is true for border and padding.

Comment 1

6 years ago
Same as for other your bug, provide full steps to reproduce (1) Open blank Composer page, 2) Press Return, 3) Open ... menu item from ... menu, etc)

Comment 2

6 years ago
1. Open blank Composer page
2. Make sure that in the settings "Composer / Use CSS-styles instead of HTML Elements" is set.
3. type some text
4. click on the format dropdown in the toolbar and select "paragraph"
5. click on the "indent text (move right)" symbol in the toolbar (paragraph is now indented)
6. open advanced properties of the paragraph (rightclick on "p" in the element bar at the bottom, select "advanced properties"
7. click OK.

-> paragraph is not indented any more, the style attribute contains the following:

margin-left-value: 40px; 
margin-left-ltr-source: physical;
margin-left-rtl-source: physical;

Comment 3

6 years ago
To summarize the problem: when the advanced property dialog is opened and saved, it destroys css-properties margin, border, and padding.

This happens also when the "use css properties" property is not set.

Comment 4

6 years ago
Confirming on trunk
User agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20100101 Firefox/21.0 SeaMonkey/2.18a1
Build identifier: 20130110003008
Ever confirmed: true
OS: Linux → All
Hardware: x86 → All
Version: SeaMonkey 2.15 Branch → Trunk
You need to log in before you can comment on or make changes to this bug.