Closed
Bug 12948
Opened 25 years ago
Closed 25 years ago
[BLOCKER] style contexts incorrectly shared among table cells
Categories
(Core :: CSS Parsing and Computation, defect, P3)
Tracking
()
VERIFIED
INVALID
People
(Reporter: karnaze, Assigned: peterl-retired)
Details
Peter, this may not be a bug, but rather an inquiry on how to use the style system. I'm trying to implement <table rules=groups> and can't because in the example below when I call SetBorderStyle(NS_SIDE_BOTTOM, NS_STYLE_BORDER_STYLE_NONE) on the nsStyleSpacing of foo's style context, I'm also affecting bar since it has the same style context as foo. Bar needs to maintain its own bottom border style separate from foo. I noticed nsIStyleContext::ForceUnique but I'm not sure how to use this, since the style context already exists. <table rules=groups> <tr><td>foo</td> <tr><td>bar</td></tr></table> I can't check the code in yet, but you probably don't need it anyway.
Reporter | ||
Updated•25 years ago
|
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
Reporter | ||
Comment 1•25 years ago
|
||
I'm marking this invalid because Peter provided a better way to implement <table rules=..> which doesn't require unique style contexts on the cells.
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
Comment 2•25 years ago
|
||
Verified invalid.
You need to log in
before you can comment on or make changes to this bug.
Description
•