Closed Bug 307286 Opened 19 years ago Closed 16 years ago

Devmo JS and CSS errors to check and fix

Categories

(developer.mozilla.org Graveyard :: General, defect)

Other
Other
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: deb, Assigned: deb)

Details

From an email...

"I happened to visit DevMo while doing some extension debugging, so I had the
JavaScript Console open with strict mode enabled (javascript.options.strict =
true). Dozens of warnings and a few errors show up during a page load. I don't
see any critical problems, but they should probably be fixed at some point.

A few examples:

* Error: Selector expected.  Ruleset ignored due to bad selector.
Source File: http://developer.mozilla.org/css/wiki.css
Line: 672

* Error: Unknown property '_width'.  Declaration dropped.
Source File: http://developer.mozilla.org/css/base.css
Line: 225

* Warning: function diffcheck does not always return a value
Source File: http://developer.mozilla.org/en/docs/skins/common/wikibits.js
Line: 107

* Warning: variable element hides argument
Source File: http://developer.mozilla.org/en/docs/skins/devmo/prototype.js
Line: 931, Column: 8

(Most of the warning look like the last two)"
(In reply to comment #0)
> * Error: Selector expected.  Ruleset ignored due to bad selector.
> Source File: http://developer.mozilla.org/css/wiki.css
> Line: 672

Extra "}" that should be removed.

> * Error: Unknown property '_width'.  Declaration dropped.
> Source File: http://developer.mozilla.org/css/base.css
> Line: 225

This is a common hack for IE, so it's probably intended.
Component: developer.mozilla.org → Infrastructure
Product: mozilla.org → Mozilla Developer Center
QA Contact: qa → infrastructure
Version: other → unspecified
invalid with deki switch
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Component: Deki Infrastructure → Other
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.