Fix for radar 4611287, make resizable text fields opt-in rather than
opt-out. Open source users will need to write the pref into their defaults
to see the resizers on textareas now.
Reviewed by mjs and adele
* WebCore.xcodeproj/project.pbxproj:
* bridge/mac/WebCoreSettings.mm:
(-[WebCoreSettings setTextAreasAreResizable:]):
* css/cssparser.cpp:
(WebCore::CSSParser::parseValue):
* css/cssstyleselector.cpp:
(WebCore::CSSStyleSelector::applyProperty):
* css/html4.css:
git-svn-id: svn://svn.chromium.org/blink/trunk@15514 bbb929c8-8fbe-4397-9dbb-9b2b20218538
diff --git a/WebCore/css/html4.css b/WebCore/css/html4.css
index 8518bc4..653ec90 100644
--- a/WebCore/css/html4.css
+++ b/WebCore/css/html4.css
@@ -328,7 +328,7 @@
-webkit-rtl-ordering: logical;
-webkit-user-select: text;
-webkit-box-orient: vertical;
- resize: both;
+ resize: auto;
}
input[type="password"], input[type="search"], input[type="hidden"], input[type="image"], input[type="file"] {