Closed
Bug 3650
Opened 26 years ago
Closed 26 years ago
[BLOCK] Style rules with an attribute selector that is a parent of a descendant selector don't work when applied to table rows and cells
Categories
(Core :: CSS Parsing and Computation, defect, P3)
Tracking
()
VERIFIED
FIXED
People
(Reporter: hyatt, Assigned: peterl-retired)
Details
In the following HTML:
<html>
<head>
<style>
tr[name="foo"] td {
background-color: yellow;
}
</style>
</head>
<body>
<button onclick="document.getElementById('row1').setAttribute('name', 'foo')">
Click me to turn all cells in row 1 yellow!
</button>
<table>
<tr id="row1">This<td>could<td>be<td>a<td>really<td>yellow<td>row</tr>
<tr><td>This<td>is<td>not<td>a<td>yellow<td>row</tr>
</table>
</body>
</html>
Click on the button in the sample file. All cells in the first row should
turn yellow. They don't. This bug completely prevents a XUL-based tree
widget from working, since opening and closing are handled on a parent node
via an attribute selector (which is what you have to use to know whether or
not to display the child nodes or not).
This is a critical blocker for the tree widget to work in pure XUL.
Assignee | ||
Updated•26 years ago
|
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
Comment 1•26 years ago
|
||
Using the 3/26 build on Win 95, Win NT, Win 98, Mac85. and Linux with the sample
included in the description, test works correctly. Verifying bug fixed.
Comment 2•26 years ago
|
||
Using the 3/26 build on Win 95, Win NT, Win 98, Mac85. and Linux with the sample
included in the description, test works correctly. Verifying bug fixed.
You need to log in
before you can comment on or make changes to this bug.
Description
•