Closed Bug 1419482 Opened 8 years ago Closed 8 years ago

in FireFox 58, leading space in CSS attribute selector causes invalid selector error; e.g. "'[ attr]'"

Categories

(Firefox :: Untriaged, defect)

58 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1418152

People

(Reporter: steve.e.leve, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0 Build ID: 20171115114231 Steps to reproduce: build: 58.0b4 in dev console run: document.querySelector( '[ href]' ) - trailing whitespace doesn't trigger behavior - doesn't occur in nightly build ( 59.0a1 ) Actual results: SyntaxError: '[ href]' is not a valid selector Expected results: instance of matching HTMLElement or null should have been returned
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.