Closed
Bug 1137148
Opened 11 years ago
Closed 11 years ago
[BC] border-style: groove not applied for tables with border-collapse: collapse
Categories
(Core :: Layout: Tables, defect)
Tracking
()
RESOLVED
FIXED
mozilla42
| Tracking | Status | |
|---|---|---|
| firefox42 | --- | fixed |
People
(Reporter: arbesulo, Assigned: bzbarsky)
References
Details
(Keywords: regression)
Attachments
(2 files, 1 obsolete file)
|
532 bytes,
text/html
|
Details | |
|
8.18 KB,
patch
|
jwatt
:
review+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0
Build ID: 20150224134236
Steps to reproduce:
Load the attached file in a desktop browser (does not matter under Windows or Linux, in both cases is reproduceable).
Actual results:
It looks like more than the solid style: "Displays a single, straight, solid line."
Expected results:
According to the attribute description at https://developer.mozilla.org/en-US/docs/Web/CSS/border-style : "Displays a border leading to a carved effect. It is the opposite of ridge."
| Reporter | ||
Updated•11 years ago
|
Component: Untriaged → Layout: Tables
Product: Firefox → Core
What does a white groove border do in other contexts?
| Assignee | ||
Comment 2•11 years ago
|
||
So this is a regression. This worked correctly in fx35 but is broken in fx36.
In particular, this broke in bug 1083557 as far as I can tell. It totally changed how the painting happens here and is passing in the wrong border colors.
| Assignee | ||
Comment 3•11 years ago
|
||
I'm not sure how to write a test for this, short of a != reftest (which _would_ have caught the problem, so maybe I should add that)
Attachment #8600976 -
Flags: review?(jwatt)
| Assignee | ||
Updated•11 years ago
|
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
Comment 4•11 years ago
|
||
(In reply to Boris Zbarsky [:bz] from comment #3)
> I'm not sure how to write a test for this, short of a != reftest (which
> _would_ have caught the problem, so maybe I should add that)
Would this one help?
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/Bug1137148-border-style-groove-table-cell.html
---------
Just for your information.
The ridge correspondent of this bug is
Bug 1136183 : [BC] ridge border style on border-collapsed table
Summary: border-style: groove not applied for tables with border-collapse: collapse; → [BC] border-style: groove not applied for tables with border-collapse: collapse
Comment 5•11 years ago
|
||
> I'm not sure how to write a test for this, short of a != reftest (which
> _would_ have caught the problem, so maybe I should add that)
http://test.csswg.org/suites/css2.1/latest/html4/border-style-outset-002.htm
was submitted and approved in CSS 2.1 test suite...
although
http://test.csswg.org/suites/css2.1/nightly-unstable/html4/border-style-outset-002.htm
seems better..
Gérard
| Assignee | ||
Comment 6•11 years ago
|
||
Gérard, thanks! That seems to work pretty well.
Attachment #8634507 -
Flags: review?(jwatt)
| Assignee | ||
Updated•11 years ago
|
Attachment #8600976 -
Attachment is obsolete: true
Attachment #8600976 -
Flags: review?(jwatt)
Comment 7•11 years ago
|
||
Comment on attachment 8634507 [details] [diff] [review]
Now with tests
Thanks for fixing this, and sorry for the lengthy delay digging back through the breaking code.
Attachment #8634507 -
Flags: review?(jwatt) → review+
| Assignee | ||
Comment 8•11 years ago
|
||
Jonathan, any idea on those XXX comments about the SetColor calls?
Flags: needinfo?(jwatt)
Comment 9•11 years ago
|
||
I've not, no. I only removed calls that I could convince myself were unneeded and left the others. If the code is hard to follow in this case I'd be okay with removing them and, if anything breaks, re-adding them.
Flags: needinfo?(jwatt)
Comment 10•11 years ago
|
||
Comment 11•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
status-firefox42:
--- → fixed
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
You need to log in
before you can comment on or make changes to this bug.
Description
•