Closed Bug 93965 Opened 24 years ago Closed 23 years ago

riskboys.com - <body><style> causes image shearing

Categories

(Core :: Layout, defect, P4)

defect

Tracking

()

RESOLVED FIXED

People

(Reporter: sax, Assigned: attinasi)

References

()

Details

(Whiteboard: [SYNTAX-HTML])

Attachments

(2 files)

To observe problem: 1) Goto http://www.riskboys.com/cgi-bin/neomail.pl 2) See that the background image seems to be "sheared" to the left below the final text on the page. This is incorrect. NOTES: 1) The problem disappeared when I edited the source and removed everything between <style type="text/css"> and </style> After this, the background rendered perfectly. 2) If you right click on the top of the page over the background, you get the "background image" options, but not if you right click below the shear. 3) Choosing the "view background image" renders it quite normally. 4) I've seen this on Linux, Win98 and Win2000.
What do you mean by "sheared"? Could you attach a screenshot? Also, what build are you using?
For what its worth, moving the CSS rules to inside the <head> instead of the <body> fixes the problem.
Attached file Minimal case
Confirming using 0.9.3 on Windows 2000. I see the "shear" in the testcase just as in the screen cap. According to the HTML spec section 14.2.3, "HTML permits any number of STYLE elements in the HEAD section of a document." Problem occurs as a result of incorrect html. Reporter confirms the problem is fixed when the <style> tag is moved into the <head> element. Seeing the same problem with a strict doctype so its not a quirk issue.
Because this is with bad HTML, the bug is invalid. However, a site is given, so sending this to the evangelistas.
Assignee: jst → bclary
Severity: normal → minor
Status: UNCONFIRMED → NEW
Component: DOM Style → US English
Ever confirmed: true
OS: Linux → All
Priority: -- → P4
Product: Browser → Tech Evangelism
QA Contact: ian → zach
Hardware: PC → All
Summary: <style> tag "breaks" background image display → riskboys.com - <body><style> causes image shearing
Whiteboard: [SYNTAX-HTML]
Version: other → unspecified
This is an background image tiling problem, this should be fixed in mozilla even if it's caused by bad HTML. Over to imagelib.
Component: US English → ImageLib
Product: Tech Evangelism → Browser
Version: unspecified → other
reassign to imagelib for real. Is this problem still present with the old imagelib removed (ie in current nightlys)?
Assignee: bclary → pavlov
QA Contact: zach → tpreston
I am still seeing this with a 27th build.
*** Bug 113286 has been marked as a duplicate of this bug. ***
-> layout
Component: ImageLib → Layout
over to layout
Assignee: pavlov → attinasi
QA Contact: tpreston → petersen
dbaron, will your removal of BodyFixupRule() fix this bug too?
Fixed by checkin of bug 116161 at 2002-01-07 15:45/46 PST.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
The shearing still happens on my web page http://www.chadphillips.org . I got the 1-11-02 build. The test case someone submitted looks fine now, but the images still shear on my web page.
bear_phillips@yahoo.com, you are seeing bug 111255. I just tested that page, saw the problem, pulled the fix to bug 111255 (checked in this morning) and tested again. The problem was gone. So that page should be fine in tomorrow's build.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: