Closed Bug 190593 Opened 22 years ago Closed 14 years ago

[BC] border-collapse problems at cellmap holes

Categories

(Core :: Layout: Tables, defect, P3)

x86
Windows 98
defect

Tracking

()

RESOLVED FIXED
Future

People

(Reporter: bernd_mozilla, Unassigned)

References

(Depends on 1 open bug)

Details

(Keywords: testcase)

Attachments

(2 files, 3 obsolete files)

see attached testcase there should be a horizontal line below the third cell in
the first row.
Attached file testcase (obsolete) —
If you drag a window over the border-collapse:collapse'd table, you'll notice
that as you move it over and then away from the table, then the border lines
seem to display all kinds of weird repaintings (of varying length).

I had similar problems with borders being in the wrong place/not in the correct
place that I reported in bug 157047.
Keywords: testcase
Priority: -- → P3
Target Milestone: --- → Future
just rediscovered this bug.  I had put together another testcase before finding
this bug.   I'll attach it just for laughs I guess.
Attached file testcase (obsolete) —
Depends on: 203686
Attached file testcase (obsolete) —
The bug's still around.  I just spent an hour or two trying to narrow it down &
decided to add my test case.
I cannot reproduce this on 2006012105-trunk/WinXP.

-> WFM (or dup of bug 147135?)
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
The testcase that I wrote is still wrong, Masayuki before you mark a bug as WFM please make sure that you understand what the bug is about. This bug describes a problem that the  structure of the borders should be identical for border collapse and separate but they are not, see the additional vertical line in row 2. This makes also doubt that your WFM mark in the other bug is correct.
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Sorry.

But your comment 0 didn't say so. I think that your comment 0's bug is gone by another bug fix. However, there is still existing *another* problem, right?
And I don't think that this summary is good for actual problem.
Status: REOPENED → NEW
Attached file testcase
If the table has border attribute, the non-existing cells have border. But if the table doesn't have border attribute, it's rendered correct.
Attachment #112619 - Attachment is obsolete: true
Attachment #133798 - Attachment is obsolete: true
Attachment #189136 - Attachment is obsolete: true
Summary: border-collapse problems at cellmap holes → border of non-existing cells are rendered if border-collapse table has border attribute
I think that this is *not* a bug.

The border of non-existing cells are not so. These borders are TR's border and COL's border. These borders are specified by table[rules="all"]. When I commented out as following, attachment 209271 [details]'s both tables are same result.

http://lxr.mozilla.org/mozilla/source/layout/style/nsHTMLStyleSheet.cpp#254
> 254 static void ColPostResolveCallback(nsStyleStruct* aStyleStruct, ... 
> 255 {
      #if 0
> 256   ::ProcessTableRulesAttribute(aStyleStruct, aRuleData, ...
> 257                                NS_STYLE_TABLE_RULES_COLS, ...
> 258   ::ProcessTableRulesAttribute(aStyleStruct, aRuleData, ...
> 259                                NS_STYLE_TABLE_RULES_COLS, ... 
      #endif
> 260 }
Attached file testcase2
See this testcase. the right border of second cell of second row is gray or red. So, this border is column border. And the right border of third cell of second row is pink. So, this border is row border. If these borders are cell's border, they should be blue.
Please either a) fix the bug and then do whatever you want with the description and feel free to invalidate my testcases, I am more than happy to review it or b) don't mess around with it. The description is a technical correct description of the issue. The description is intentional technical to make the bug usefull for people who are are able to fullfill choice a). See http://www.mozilla.org/newlayout/doc/table-cellmap.html what is a cellmap hole.
Summary: border of non-existing cells are rendered if border-collapse table has border attribute → border-collapse problems at cellmap holes
Whiteboard: INVA?
Summary: border-collapse problems at cellmap holes → [BC] border-collapse problems at cellmap holes
Assignee: layout.tables → nobody
QA Contact: amar → layout.tables
Depends on: 378935
fixed by bug 378935 the testcase there also cover this bug
Flags: in-testsuite+
Status: NEW → RESOLVED
Closed: 19 years ago14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: