Closed Bug 460937 Opened 16 years ago Closed 5 years ago

The dependency tree is not a valid HTML5 page

Categories

(Bugzilla :: Dependency Views, defect)

defect
Not set
minor

Tracking

()

RESOLVED FIXED

People

(Reporter: masa141421356, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; ja-KS; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3
Build Identifier: 

HTML of dependency tree has two HTML invalid output.
1. ID of <span> is same as bug-id (it contains ONLY disits).
   HTML specification requires id starts with alphabet.
2. If dependency tree contains same bug twice (or more), id of <span> and name of <a> will be duplicate.
   HTML specification requires id to be UNIQUE.
3. UI elements on head of tree and bottom of tree has same id.
  e.g.  <input type="submit" id="toggle_visibility" ... >


Reproducible: Always

Steps to Reproduce:
1.Show https://bugzilla.mozilla.org/showdependencytree.cgi?id=286269&hide_resolved=0
2.See HTML source
3.Check it by W3C HTML validator
Actual Results:  
Error is reported.

Expected Results:  
Error is not reported.

It may be difficult to fix duplicate id and name when tree contains same bug twice or more ( I don't have good idea of solution).
Component: Bugzilla-General → Dependency Views
Summary: HTML of denpendency tree is not valid. → The dependency tree is not a valid HTML4 page
Version: unspecified → 3.2
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: The dependency tree is not a valid HTML4 page → The dependency tree is not a valid HTML5 page

The dependency tree has been re-implemented in Bug 1542554.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.