Closed
Bug 379419
Opened 18 years ago
Closed 18 years ago
"ASSERTION: Non-border-colors case with borderColorStyleCount < 1 or > 3; what happened?" with <thead style="display: block;">
Categories
(Core :: Layout: Tables, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: jruderman, Assigned: vlad)
References
Details
(Keywords: assertion, regression, testcase)
Attachments
(2 files)
(deleted),
application/xhtml+xml
|
Details | |
(deleted),
patch
|
dbaron
:
review+
dbaron
:
superreview+
|
Details | Diff | Splinter Review |
###!!! ASSERTION: Non-border-colors case with borderColorStyleCount < 1 or > 3; what happened?: 'Error', file /Users/jruderman/trunk/mozilla/layout/base/nsCSSRendering.cpp, line 1835
I'm guessing this is due to bug 368247, since the assertion was added there.
Assignee | ||
Comment 1•18 years ago
|
||
The style system is passing down NS_STYLE_BORDER_STYLE_RULES_MARKER | NS_STYLE_BORDER_STYLE_SOLID -- I'm not sure how/why STYLE_RULES_MARKER is making it down this far. The old border code doesn't seem to have handled this at all; should I just ignore if STYLE_RULES_MARKER is set?
STYLE_RULES_MARKER is doomed, its a ugly hack to get border collapse right. Why this is visible at all in a non BC case is beyond me. In short the fix in bug 43178 opens the road to remove this.
Assignee | ||
Comment 3•18 years ago
|
||
Do I just ignore any requests to paint with STYLE_RULES_MARKER set? Or do I mask it out and paint as normal?
Comment 5•18 years ago
|
||
Seems worth investigating why it's getting through, if it wasn't before.
Assignee | ||
Comment 6•18 years ago
|
||
It looks like it was getting through before -- the switch statement in the old DrawSide just didn't handle any border styles that had STYLE_RULES_MARKER or'd in, and so nothing got drawn.
I'm going to take that approach as well, and just ignore any side that has STYLE_RULES_MARKER.
Assignee | ||
Comment 7•18 years ago
|
||
Here's the patch to just ignore anything with STYLE_RULES_MARKER set.
Comment 8•18 years ago
|
||
Comment on attachment 264404 [details] [diff] [review]
ignore borders with style_rules flag
r+sr=dbaron
Attachment #264404 -
Flags: superreview+
Attachment #264404 -
Flags: review?(dbaron)
Attachment #264404 -
Flags: review+
Assignee | ||
Comment 9•18 years ago
|
||
Checked in.
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Updated•18 years ago
|
Flags: in-testsuite?
You need to log in
before you can comment on or make changes to this bug.
Description
•