Closed Bug 203924 Opened 22 years ago Closed 22 years ago

css selector input[type=text] doesn't select inputs without type attribute, but text is its default

Categories

(Core :: DOM: CSS Object Model, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: markus, Unassigned)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030423 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030423 CSS selector input[type=text] doesn't select inputs without the type attribute, but text is its default value. That's about it. Reproducible: Always Steps to Reproduce:
This is covered by these parts of CSS specs: 5.8.1 Matching attributes and attribute values http://www.w3.org/TR/REC-CSS2/selector.html#q10 5.8.2 Default attribute values in DTDs http://www.w3.org/TR/REC-CSS2/selector.html#q11 If I understand it right, this bug request should be INVALID.
Yep. The DTD does not affect the DOM in this case and hence does not affect the CSS styling.
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.