initialize all border parameters so that the border is initialized even for empty rowgroups bug 424434 r/sr=bzbarsky a=mtschrep

git-svn-id: svn://10.0.0.236/trunk@249687 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bmlk%gmx.de 2008-04-06 12:12:40 +00:00
parent c64d67f6eb
commit a2a7f201ad
4 changed files with 22 additions and 1 deletions

View File

@ -0,0 +1,10 @@
<head>
</head>
<body>
<table style="border:1px solid blue">
<thead style="display: table-cell; border-collapse: collapse; border:1px solid red; padding:1px">
<td style="display: table-header-group; border:1px solid green"></td>
<td style=" border:10px solid orange" ></td>
</thead>
</table>
</body>

View File

@ -0,0 +1,10 @@
<head>
</head>
<body>
<table style="border:1px solid blue">
<thead style="display: table-cell; border-collapse: collapse; border:1px solid red; padding:1px">
<td style="overflow: auto; display: table-header-group; border:1px solid green"></td>
<td style=" border:10px solid orange" ></td>
</thead>
</table>
</body>

View File

@ -784,6 +784,7 @@ fails == 413027-3.html 413027-3-ref.html
!= 424074-1.xul 424074-1-ref2.xul != 424074-1.xul 424074-1-ref2.xul
fails-if(MOZ_WIDGET_TOOLKIT=="gtk2") == 424074-1-ref2.xul 424074-1-ref3.xul fails-if(MOZ_WIDGET_TOOLKIT=="gtk2") == 424074-1-ref2.xul 424074-1-ref3.xul
== 424236-10.html 424236-10-ref.html == 424236-10.html 424236-10-ref.html
== 424434-1.html 424434-1-ref.html
== 424631-1.html 424631-1-ref.html == 424631-1.html 424631-1-ref.html
== 424710-1.html 424710-1-ref.html == 424710-1.html 424710-1-ref.html

View File

@ -1602,7 +1602,7 @@ nsTableRowGroupFrame::GetFrameName(nsAString& aResult) const
nsMargin* nsMargin*
nsTableRowGroupFrame::GetBCBorderWidth(nsMargin& aBorder) nsTableRowGroupFrame::GetBCBorderWidth(nsMargin& aBorder)
{ {
aBorder.left = aBorder.right = 0; aBorder.left = aBorder.right = aBorder.top = aBorder.bottom = 0;
nsTableRowFrame* firstRowFrame = nsnull; nsTableRowFrame* firstRowFrame = nsnull;
nsTableRowFrame* lastRowFrame = nsnull; nsTableRowFrame* lastRowFrame = nsnull;