From 67f7e866a92cda1fbe596407948d68bb153a91a5 Mon Sep 17 00:00:00 2001 From: "neil@parkwaycc.co.uk" Date: Fri, 19 Oct 2007 01:51:27 -0700 Subject: [PATCH] Bug 399968 Back out some parts from bug 258875 that have no effect r+sr+a=roc --- layout/forms/nsFileControlFrame.cpp | 1 - layout/style/forms.css | 6 +----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/layout/forms/nsFileControlFrame.cpp b/layout/forms/nsFileControlFrame.cpp index a89c1817d95b..f54926eba91b 100644 --- a/layout/forms/nsFileControlFrame.cpp +++ b/layout/forms/nsFileControlFrame.cpp @@ -164,7 +164,6 @@ nsFileControlFrame::CreateAnonymousContent(nsTArray& aElements) } textControl->SetTabIndex(-1); - textControl->SetDisabled(PR_TRUE); textControl->SetReadOnly(PR_TRUE); } diff --git a/layout/style/forms.css b/layout/style/forms.css index e2e8bc83e308..05cd26451b48 100644 --- a/layout/style/forms.css +++ b/layout/style/forms.css @@ -356,13 +356,9 @@ input[type="file"] { border-style: none !important; } -input[type="file"] > input[type="text"][disabled] { +input[type="file"] > input[type="text"] { border-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; font-size: inherit; height: inherit;