From 23304f0ec3de998d560c5df0db75b9a0ec12f76c Mon Sep 17 00:00:00 2001 From: "neil%parkwaycc.co.uk" Date: Fri, 19 Oct 2007 08:51:28 +0000 Subject: [PATCH] Bug 399968 Back out some parts from bug 258875 that have no effect r+sr+a=roc git-svn-id: svn://10.0.0.236/trunk@237902 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/forms/nsFileControlFrame.cpp | 1 - mozilla/layout/style/forms.css | 6 +----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/mozilla/layout/forms/nsFileControlFrame.cpp b/mozilla/layout/forms/nsFileControlFrame.cpp index a89c1817d95..f54926eba91 100644 --- a/mozilla/layout/forms/nsFileControlFrame.cpp +++ b/mozilla/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/mozilla/layout/style/forms.css b/mozilla/layout/style/forms.css index e2e8bc83e30..05cd26451b4 100644 --- a/mozilla/layout/style/forms.css +++ b/mozilla/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;