Closed Bug 217281 Opened 21 years ago Closed 19 years ago

Display of aligned text does not update until line or view changes

Categories

(Core :: DOM: Editor, defect)

x86
All
defect
Not set
trivial

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: r.firth, Assigned: mozeditor)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030728 Mozilla Firebird/0.6.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030820 

The style declarations say that the paragraph should have a left margin of 25
pixels, and the first line should be indented -25 pixels (relative to the
margin). So the paragraph should have the first line at normal indentation, and
following lines at 25 pixels.

When the first line moved to the second line of the paragraph it is not
displayed at the correct indentation until the line is edited.

Similarly:
If you remove the first line, the second line will remain indented
until it is altered.

Reproducible: Always

Steps to Reproduce:
1. Open the attached html in composer
2. click cursor to the begining of the line
3. press enter
4. type something anywhere in that line (or delete a character)
Actual Results:  
Text incorrectly aligned until line changes.

Expected Results:  
Text aligned immediately.
Attached file testcase
html to reproduce bug.
I see this too on 2003082422 Linux

Also - the content updates and displays correctly if you switch views with the
tabs at the bottom
OS: Windows XP → All
Summary: Display of aligned text does not update until line changes → Display of aligned text does not update until line or view changes
Status: UNCONFIRMED → NEW
Ever confirmed: true
this worksforme with current trunk (2005060403), although I see the bug with
older builds (1.4 and 1.7)

resolving WORKSFORME
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: