Bug 399968 Back out some parts from bug 258875 that have no effect r+sr+a=roc

This commit is contained in:
neil@parkwaycc.co.uk 2007-10-19 01:51:27 -07:00
parent 21be16d5a6
commit 67f7e866a9
2 changed files with 1 additions and 6 deletions

View File

@ -164,7 +164,6 @@ nsFileControlFrame::CreateAnonymousContent(nsTArray<nsIContent*>& aElements)
} }
textControl->SetTabIndex(-1); textControl->SetTabIndex(-1);
textControl->SetDisabled(PR_TRUE);
textControl->SetReadOnly(PR_TRUE); textControl->SetReadOnly(PR_TRUE);
} }

View File

@ -356,13 +356,9 @@ input[type="file"] {
border-style: none !important; border-style: none !important;
} }
input[type="file"] > input[type="text"][disabled] { input[type="file"] > input[type="text"] {
border-color: inherit; border-color: inherit;
background-color: inherit; background-color: inherit;
-moz-user-focus: ignore !important;
/* enable user input so that clicking on the control can bring up the
file dialog. It's still read-only. */
-moz-user-input: enabled;
color: inherit; color: inherit;
font-size: inherit; font-size: inherit;
height: inherit; height: inherit;