Closed Bug 205528 Opened 22 years ago Closed 21 years ago

Inserting element produces correct HTML, but incorrect display

Categories

(Core :: Layout: Block and Inline, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 141019

People

(Reporter: KaiE, Assigned: KaiE)

References

Details

(Keywords: topembed+, Whiteboard: editorbase edt_x3)

Attachments

(1 file)

- open the attached HTML file in the editor. - use cursor keys and go to end of document - click "bullet list" toolbar icon Actual behaviour: Caret moves to a different position, it moves to the top of the document. The bullet list is not shown at cursor position, but at the top of the document. Expected behaviour: Bullet list should get created and displaed at caret position. Interesting additional observation: After save and reopen, the bullet list is no longer shown at the top of the document, but at the originally expected position!
Attached file test html file (deleted) —
-> me
Assignee: jfrancis → kaie
Keywords: topembed
Whiteboard: editorbase edt_x3
I'm unsure where I should search for the bug. The point is: - the same (incorrect) HTML file produces differet visual rendering - when the (incorrect) HTML files is loaded from file, it gets displayed correctly - when the (incorrect) HTML file is created dynamically by the editor, it gets displayed incorrectly
The bug is not dependent on "bulleted list". If you insert a HR, you see the same behaviour. Displayed at the incorrect location, HTML source looks ok, and save-close-load make the display look ok, too.
Johnny, Peter, do you have ideas, what "variable/data structure" in content could be responsible for the different display? Any ideas for debugging, tracing to learn more would help me a lot.
Summary: Bullet List command produces correct HTML, but incorrect display → Inserting element produces correct HTML, but incorrect display
This is the same old "block in inline" problem. Kin knows a lot about this layout code, I think.
Component: Editor: Core → Layout: Block & Inline
Kin, any knowledge you have for us is appreciated.
I'm not sure whether this bug is a dupe of bug 141019, but the patch in bug 141019 fixes this problem, I just tested it.
Depends on: 141019
5/19 EDT: topembed+
Keywords: topembedtopembed+
Depends on: PhtN7
*** This bug has been marked as a duplicate of 141019 ***
Status: NEW → RESOLVED
Closed: 21 years ago
No longer depends on: 141019
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: