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:
parent
c64d67f6eb
commit
a2a7f201ad
10
mozilla/layout/reftests/bugs/424434-1-ref.html
Normal file
10
mozilla/layout/reftests/bugs/424434-1-ref.html
Normal 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>
|
||||
10
mozilla/layout/reftests/bugs/424434-1.html
Normal file
10
mozilla/layout/reftests/bugs/424434-1.html
Normal 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>
|
||||
@ -784,6 +784,7 @@ fails == 413027-3.html 413027-3-ref.html
|
||||
!= 424074-1.xul 424074-1-ref2.xul
|
||||
fails-if(MOZ_WIDGET_TOOLKIT=="gtk2") == 424074-1-ref2.xul 424074-1-ref3.xul
|
||||
== 424236-10.html 424236-10-ref.html
|
||||
== 424434-1.html 424434-1-ref.html
|
||||
== 424631-1.html 424631-1-ref.html
|
||||
== 424710-1.html 424710-1-ref.html
|
||||
|
||||
|
||||
@ -1602,7 +1602,7 @@ nsTableRowGroupFrame::GetFrameName(nsAString& aResult) const
|
||||
nsMargin*
|
||||
nsTableRowGroupFrame::GetBCBorderWidth(nsMargin& aBorder)
|
||||
{
|
||||
aBorder.left = aBorder.right = 0;
|
||||
aBorder.left = aBorder.right = aBorder.top = aBorder.bottom = 0;
|
||||
|
||||
nsTableRowFrame* firstRowFrame = nsnull;
|
||||
nsTableRowFrame* lastRowFrame = nsnull;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user