Closed Bug 3361 Opened 26 years ago Closed 26 years ago

Attribute selector not working properly

Categories

(Core :: CSS Parsing and Computation, defect, P2)

defect

Tracking

()

VERIFIED INVALID

People

(Reporter: christinehoff4, Assigned: peterl-retired)

References

()

Details

Using 3/1 build on Win 95, Win NT, Win 98, Linux and Mac 8.5 (2/26 build). Open URL. TABLE attribute BORDER is assigned the color red. Expected results: Border should be red. Actual results: Text inside is red; border is not.
Based on your description (although I can't see the page), I think this bug is invalid. A selector such as TABLE[BORDER] selects any TABLE element that has the attribute BORDER, and applies styles to that TABLE element. Thus TABLE[BORDER] { color: red; } should make the text red in any TABLE that has the BORDER attribute set. TABLE[BORDER] { border- color: red; } should make the border red. If my interpretation of what you have on the test page is correct, then this should probably be resolved as invalid. My own tests have not found any bugs with attribute selectors. See http://www.fas.harvard.edu/~dbaron/csstest/attrsel.html
(OK... not perfect. I just made the test harder. But I'll file a new bug on that...)
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → INVALID
Status: RESOLVED → VERIFIED
Marking Verified/Invalid.
You need to log in before you can comment on or make changes to this bug.