Closed Bug 1272987 Opened 9 years ago Closed 9 years ago

Wrong wording in Element.querySelector

Categories

(Developer Documentation Graveyard :: API: DOM, defect, P5)

All
Other
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: stefan.rusterholz, Unassigned)

References

()

Details

:: Developer Documentation Request Request Type: Correction Gecko Version: unspecified Technical Contact: :: Details The page says "The resulting elements are then examined to see if they are child-elements of baseElement.". I think "child-elements" is incorrect, it should say "descendant elements", since querySelector does not only consider children, but also all deeper nested descendants too.
I've corrected this; while I was at it, I also rearranged the page to follow our latest style guidelines more accurately and made some other improvements. Please let e=me know if you see any other issues! Thanks for reporting this!
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.