Closed Bug 102147 Opened 23 years ago Closed 23 years ago

table alignment not visible in AllTags mode

Categories

(SeaMonkey :: Composer, defect)

defect
Not set
trivial

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.9.6

People

(Reporter: Brade, Assigned: glazou)

References

Details

Attachments

(2 files, 1 obsolete file)

table alignment not visible in AllTags mode
Reviews needed on patch 1.0 please ;-)
Severity: normal → trivial
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.5
Ok, I see what you're doing; we shouldn't use margin-left for all tags mode since
it override's the user's CSS rules. But won't we have the same problem for 
the remaining 'margin-top' rules?
I'm not actually sure this should be fixed. "All Tags" mode certainly isn't 
intended to be WYSIWYG. E.g., we are overriding existing background images for
all elements now and still will be for some elements with Daniel's newer version 
of the code, and the location of elements certainly isn't accurate because of
theyellow images.
If we do want to do this, I'd suggest simply removing all margin-left and 
margin-top rules.
Charley: margin-top is different... you have 2 UI ways in #composer 
to modify the left margin (indent/outdent on one hand, alignment on the other)
but we have nothing comparable for the top margin. I just want to see something
being done when, in the AllTags view, I select a block and indent or align it.
Without the removal or those 'margin-left: 2px' declarations, we can't.

I agree that it is better to completely remove it instead of turning it into
a comment.
Target Milestone: mozilla0.9.5 → mozilla0.9.6
Hmmm. I am unfortunately seeing a dependency between this bug and the CSSization
of Composer (bug 77705). Let me explain : 

the indentation of a block, that we do in HTML mode using a surrounding
blockquote, is done in CSS by a margin-left property on the block itself; of
course, no more blockquote.

To get the indent state of a block, I look at the computed value of 'margin-left',
not the specified value, because otherwise the indentation buttons will not work
correctly if the margin is set by embedded rules (instead of inline styles in
the STYLE attribute)....

If, in the AllTags mode, we disable all left margins, the computed value for
'margin-left' will always be the same whatever the user makes and it breaks the
indentation buttons.

conclusion : I really need a fix for the current bug.
Blocks: 77705
Attachment #51505 - Attachment is obsolete: true
Comment on attachment 54846 [details] [diff] [review]
patch v1.1; Charley can you r= please ?

r=brade
Attachment #54846 - Flags: review+
Comment on attachment 54846 [details] [diff] [review]
patch v1.1; Charley can you r= please ?

r=cmanske
Comment on attachment 54846 [details] [diff] [review]
patch v1.1; Charley can you r= please ?

sr=kin@netscape.com
Attachment #54846 - Flags: superreview+
checked in trunk
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
*** Bug 106098 has been marked as a duplicate of this bug. ***
Verified on build 2001110903.
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: