Closed
Bug 108173
Opened 24 years ago
Closed 23 years ago
extra blank line appears
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
INVALID
mozilla1.1alpha
People
(Reporter: bugzilla, Assigned: attinasi)
Details
(Keywords: testcase)
Attachments
(4 files)
I'me attaching a testcase where a extra blank line appears.
Mozilla shows the testcase as:
----------------
test 1
test 2
test 3
test 1
test 2
test 3
while IE shows the testcase correctly as:
----------------
test 1
test 2
test 3
test 1
test 2
test 3
tested on build 20011101
Reporter | ||
Comment 1•24 years ago
|
||
Comment 2•24 years ago
|
||
Don't know what's going on here, will construct a valid testcase shortly. My
recent CVS build shows the extra line under test 1.
Keywords: testcase
Mozilla inserts a blank line.
Opera inserts a blank line.
IE inserts a blank line too, if you move the </p> tag up:
<p>
test 1<br></p><!-- close paragraph tag moved here --><div style="display:none">
- test 1a<br>
</div>
test 2<br><div style="display:none">
- test 2a<br>
</div>
test 3<br><div style="display:none">
- test 3a<br>
</div>
Reporter | ||
Comment 4•24 years ago
|
||
I know it has something to do with the <p>
not sure what but it's weird....
Reduced testcase, with borders so you can see what's happening:
<p style="border: thin dashed">
test 1<div style="border: thin dashed"></div>
test 2<br>
test 3<br>
Comment 7•24 years ago
|
||
I think the cause of this line is that the <div> implicitly terminates the <p>.
Rendering of the testcase immediately above (with dotted borders) is the same if
I insert </p> just before the <div>; the thickish-looking dotted line is, of
course, the empty <div>. Are we actually doing anything wrong here?
Updated•24 years ago
|
Target Milestone: --- → mozilla1.1
Comment 8•23 years ago
|
||
Comment 9•23 years ago
|
||
I think the bug is in IE. In attachment 63437 [details] there are 3 examples. The first
is the reduced testcase of the problem: <P>text<DIV></DIV>
It could be parsed as (example 2) <P>text</P><DIV></DIV>
or as (example 3) <P>text<DIV></DIV></P>
Mozilla and Opera does 2. IE seems to parse it as 2 but renders it with a quirk
of nuking the margin that normally is there when a proper end-tag is present.
I suggest resolving this as INVALID - I think we are doing the right thing.
Comment 10•23 years ago
|
||
Comment 11•23 years ago
|
||
I think we are doing the right thing here. (2002-06-20-08 trunk win98)
-> INVALID.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•