Closed
Bug 105346
Opened 24 years ago
Closed 23 years ago
eyesonff.com - [MARGIN-C] display problem with title bar's
Categories
(Core :: Layout, defect, P4)
Tracking
()
RESOLVED
FIXED
mozilla1.2alpha
People
(Reporter: ThomasBuffington, Assigned: attinasi)
References
()
Details
(Keywords: testcase, Whiteboard: [bae:2001121003])
Attachments
(4 files, 2 obsolete files)
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Win95; en-US; rv:0.9.5) Gecko/20011011
BuildID: 2001101117
Top title bar http://www.eyesonff.com/images/main.jpg which is located on the
main page of http://www.eyesonff.com/ should be raised all the way to the top
and not be lowered as is.
Error: unterminated string literal
Source File: http://www.eyesonff.com/
Line: 63, Column: 131
Source Code:
var cDoc=document;if(cDoc.domain.indexOf(siteDomain)==-1) siteDomain='';if
(siteDomain.length>0) siteDomain="'domain=."+siteDomain+"
Website has tons of Unterminated string lateral's. I have tested the problem in
other browsers and have had no problem with the exception of the Mozilla which
in even Netscape display's the title bar wrong.
Reproducible: Couldn't Reproduce
dup of bug 105278?
Assignee | ||
Comment 2•24 years ago
|
||
Assignee | ||
Comment 3•24 years ago
|
||
Assignee | ||
Comment 4•24 years ago
|
||
Comment on attachment 54093 [details]
testcase - the image is in some nested block
testcase still had borders on teh blocks - invalid. Updated with another testcase.
Attachment #54093 -
Attachment is obsolete: true
Assignee | ||
Comment 5•24 years ago
|
||
Collapsing margin issue - probably a dup - I'll look.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee | ||
Comment 6•24 years ago
|
||
looks like bug 18206
Severity: trivial → minor
Status: NEW → ASSIGNED
Priority: -- → P4
Summary: Main image of URL http://www.eyesonff.com/ is displaying at a lower incline instead of being at the top of the page. → [MARGIN-C] Main image of URL http://www.eyesonff.com/ is displaying at a lower incline instead of being at the top of the page.
Target Milestone: --- → mozilla1.0
Comment 7•24 years ago
|
||
Comment 8•24 years ago
|
||
Seems more like a Parser issue to me.
Assignee | ||
Comment 9•24 years ago
|
||
The markup:
div
p
div
img
gets parsed into
div
p /p
div img /div
p /p
/div
this looks correct (except for the p /p after the div img /div, but that should
not impact the offset from the top for the img).
I think the problem is that the first p is not getting collapsed. Add this style
rule and see what I mean:
<style>
body > div >:empty:first-node { margin: 0; }
</style>
That will tell the empty P in the div to collapse its margins.
Mats, why are you thinking this is a parser problem?
Comment 10•24 years ago
|
||
Any status on this issue? Problem appears with Windows ME. Any help would be
appreciated as I realize there are more important bugs being worked on but I
would like to see a resolution or at least some new information. Thanks.
Reporter | ||
Comment 11•24 years ago
|
||
Confirmation of what has been stated by Mr. Wilber is true with all Windows OS'
can be clearly seen. Kind of strange how this only happens with Mozilla
formatted browsers, could it be the <IFRAME> isn't parsing at the top or is it
a problem with the style seets?
Status: ASSIGNED → NEW
Updated•24 years ago
|
Target Milestone: mozilla1.0 → mozilla1.2
Reporter | ||
Comment 12•24 years ago
|
||
URL of where this layout error occurs has changed it is now at
http://www.eyesonff.com/index2.shtml there are also two unterminated string
constants. One being on the main page the other being located on the
Index2.shtml section.
Comment 13•24 years ago
|
||
Not sure if this will help any, but when I dump the content tree, this is what I
get from the:
------- Additional Comment #7 From Mats Palmgren 2001-10-20 15:25 -------
Created an attachment (id=54366)
Simplified testcase
running that testcase, this is what I get:
| DIV
| | P
| | DIV
| | | IMG
| | P
| A
| #text
That first P is clearly not collapsing
Whiteboard: [bae:2001121003]
Comment 14•24 years ago
|
||
forgot to mention I was using the build from 2001121003 on win98
Comment 15•24 years ago
|
||
These were found while using the JAVA script console
Error: unterminated string literal
Source File: http://www.eyesonff.com/index2.shtml
Line: 59, Column: 131
Source Code:
var cDoc=document;if(cDoc.domain.indexOf(siteDomain)==-1) siteDomain='';if
(siteDomain.length>0) siteDomain="'domain=."+siteDomain+"
Error: unterminated string literal
Source File: http://www.eyesonff.com/
Line: 32, Column: 131
Source Code:
var cDoc=document;if(cDoc.domain.indexOf(siteDomain)==-1) siteDomain='';if
(siteDomain.length>0) siteDomain="'domain=."+siteDomain+"
Reporter | ||
Comment 16•23 years ago
|
||
I am using this attachment as well as another to show comparison to help the
webmaster situate the problem and hopefully fix it a.s.a.p.
Reporter | ||
Comment 17•23 years ago
|
||
Reporter | ||
Comment 18•23 years ago
|
||
Shortning the summary and also including that this problem is occuring with the
other sections of the site with Mozilla build 2002050504. I have posted this in
the forums on the site and hope the problem can be fixed a.s.a.p.
Summary: [MARGIN-C] Main image of URL http://www.eyesonff.com/ is displaying at a lower incline instead of being at the top of the page. → eyesonff.com - [MARGIN-C] display problem with title bar's
Comment 19•23 years ago
|
||
Marc, sorry for the late reply: Yes, you are right it's not a parser issue,
it's
a margin collapsing problem of an empty element. Results with Testcase #4:
Mozilla - 4 areas: white, red, yellow, white.
IE6 - 3 areas: white, yellow, red.
Opera6 - 3 areas: white, yellow, white.
There should only be three areas. I don't know what color the first and last
should be - it depends on which margin you pick when you have two of equal
size.
IE seems to pick the "top-most", Mozilla and Opera the "outer-most".
http://www.w3.org/TR/REC-CSS2/box.html doesn't say what to do.
Note that we collapse the bottom P correctly, it seems we handle
top-bottom-bottom but not top-top-bottom.
Attachment #54366 -
Attachment is obsolete: true
Fix to bug 44242 checked in to trunk, 2002-11-28 11:29 PST.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•