Closed Bug 1129265 Opened 10 years ago Closed 10 years ago

Ensure type attribute is present for <script> tags

Categories

(bugzilla.mozilla.org :: General, defect)

Production
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: bugzilla, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 5.1; rv:28.0) Gecko/20100101 Firefox/28.0 Build ID: 20140314220517 Steps to reproduce: The doctype that Bugzilla uses is HTML 4.01 Transitional which requires that <script> tags have a 'type' attribute. However, there are many instances at https://github.com/mozilla/webtools-bmo-bugzilla where this attribute is missing, meaning invalid HTML is generated. I noticed this in the EditComments extension, but a quick search for <script in the Github repo shows a lot of other instances across many extensions. It would be a massive time-saving if these were fixed in one go, rather than being separately dealt with by each extension maintainer.
I've just seen the following in the release notes for Bugzilla 5.0: > Bugzilla is now HTML5 compliant. If this is really the case (and all pages are now being served with an HTML 5 doctype) then this can probably be closed as WONTFIX (assuming support for older Bugzilla versions is not a requirement).
yup; bmo carries html5 specific things and we plan to upgrade to 5.0 at some stage. making it 100% valid html 4.01 transitional probably isn't worth the effort.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.