Index: Source/WebCore/html/HTMLTextAreaElement.cpp |
=================================================================== |
--- Source/WebCore/html/HTMLTextAreaElement.cpp (revision 136089) |
+++ Source/WebCore/html/HTMLTextAreaElement.cpp (working copy) |
@@ -529,6 +529,16 @@ |
fixPlaceholderRenderer(m_placeholder, innerTextElement()); |
} |
+bool HTMLTextAreaElement::shouldMatchReadOnlySelector() const |
+{ |
+ return readOnly(); |
+} |
+ |
+bool HTMLTextAreaElement::shouldMatchReadWriteSelector() const |
+{ |
+ return !readOnly(); |
+} |
+ |
void HTMLTextAreaElement::updatePlaceholderText() |
{ |
ExceptionCode ec = 0; |