Closed Bug 270097 Opened 20 years ago Closed 20 years ago

HTML 4.0 Compliance, Bgproperties=fixed, background

Categories

(Firefox :: General, enhancement)

x86
Windows XP
enhancement
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 7474

People

(Reporter: cppdan-theman1, Assigned: bugzilla)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

I am just beginning to learn HTML.  I noticed that <body
background="background.jpg" bgproperties=fixed> wasn't behaving properly. 
'Bgproperties=fixed' is supposed to make the background stay in one place while
the rest of the page scrolls.  It worked fine in IE.  I'm using Firefox 1.0
(downloaded 11.14.04)

Reproducible: Always
Steps to Reproduce:
1.Make an html document with a background picture.
2.Include 'bgproperties=fixed' in the <body> tag.
3.Open the test page with Firefox 1.0 and with Internet explorer.  Compare the
difference.  (in Firefox, the background moves like normal)

Actual Results:  
Firefox apparently didn't recognize the command 'bgproperties'.  Does this make
Firefox not HTML 4.0 compliant?

Expected Results:  
Firefox should have had the background image remain stationary (or is it
'stationery'?) while the body of the page scrolled.

I'm using Win. XP with SP2 installed.
Summary: HTML 4.0 Compliance, Bgproperties=fixed → HTML 4.0 Compliance, Bgproperties=fixed, background
AFAIK, bgproperties isn't part of *any* W3C HTML spec, and it's definitely not
part of WC3 HTML 4.01 (http://www.w3.org/TR/html401/). It's an IE-only
attribute, first introduced in IE v2.0 ... best reference I could find was:

> bgproperties - This attribute, first introduced in Internet Explorer 2, 
> has one value, fixed, which causes the background image to act as a fixed
> watermark and not to scroll.
           ( -- http://www.htmlref.com/reference/appa/tag_body.htm)

In the HTML 4.0 spec, even the background attribute is depricated, as CSS is
really the place to be specifying such things. See:
http://www.w3.org/TR/REC-CSS2/colors.html#background-properties
Two tips: when you are wondering about something like this, google it - google
bgproperties brings up an MSDN page as the first result (bad sign), and at the
bottom of that page, it says " There is no public standard that applies to this
property." which means Moz almost certainly won't do it, or won't do it the same
way; and, before you file a bug, use the
https://bugzilla.mozilla.org/query.cgi?format=specific search form with
status=All to include dups, so you can tell before you add another.

*** This bug has been marked as a duplicate of 7474 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.