зеркало из https://github.com/mozilla/gecko-dev.git
bug 3720: <LABEL> background draws properly now.
This commit is contained in:
Родитель
30b2f1fa74
Коммит
2500fadf60
|
@ -689,9 +689,8 @@ input[type=password] {
|
|||
label {
|
||||
display: inline;
|
||||
vertical-align: bottom;
|
||||
background-color: white;
|
||||
padding-left: 3px;
|
||||
padding-right: 3px;
|
||||
padding-left: 3px;
|
||||
padding-right: 3px;
|
||||
}
|
||||
|
||||
select {
|
||||
|
|
|
@ -413,6 +413,7 @@ nsLabelFrame::Reflow(nsIPresContext& aPresContext,
|
|||
// the view's size is not know yet, but its size will be kept in synch with our frame.
|
||||
nsRect boundBox(0, 0, 500, 500);
|
||||
result = view->Init(viewMan, boundBox, parView, nsnull);
|
||||
view->SetContentTransparency(PR_TRUE);
|
||||
viewMan->InsertChild(parView, view, 0);
|
||||
SetView(view);
|
||||
}
|
||||
|
|
|
@ -689,9 +689,8 @@ input[type=password] {
|
|||
label {
|
||||
display: inline;
|
||||
vertical-align: bottom;
|
||||
background-color: white;
|
||||
padding-left: 3px;
|
||||
padding-right: 3px;
|
||||
padding-left: 3px;
|
||||
padding-right: 3px;
|
||||
}
|
||||
|
||||
select {
|
||||
|
|
Загрузка…
Ссылка в новой задаче