Closed Bug 67227 Opened 25 years ago Closed 22 years ago

<hr> appears as if a <br> is placed even though it is not

Categories

(Core :: Layout, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: shrir, Unassigned)

Details

seen on all platforms steps: 1 Launch Compsoer 2 Type a few words in a new file 3 Select the text 4 From the 'formatting toolbar',select 'heading 5' from 'paragraph style' 5 Click mouse in the composer to regain focus after the last character 6 now click on the button that adds a horizontal line 7 Observe that the <hr> appears well below where it should actually be and it appears as if a <br> is added to create this space (which is not the case) expected: No additional space should appear between text and the horiz line.
what you might be seeing is the margin-bottom for the heading and the margin-top for the hr -- but, I'll let jfrancis give the correct explanation
Assignee: beppe → jfrancis
this is just the default margin space around headings and hr's. It is unrelated to editor (ie, write the source yourself and open it in the browser and it will look the same way). probably should be marked invalid, but i'll hand over to layout in case they agree that the spacing is too much. i assume it could be fixed with via the user agent style sheet.
Assignee: jfrancis → karnaze
Component: Editor → Layout
QA Contact: sujay → petersen
Moving to m1.1 and reassigning to attinasi.
Assignee: karnaze → attinasi
Target Milestone: --- → mozilla1.1
Status: NEW → ASSIGNED
Target Milestone: mozilla1.1alpha → ---
.
Assignee: attinasi → other
Status: ASSIGNED → NEW
Yeah, the margin there is correct.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.