| Index: Source/WebCore/html/HTMLInputElement.cpp
|
| ===================================================================
|
| --- Source/WebCore/html/HTMLInputElement.cpp (revision 136089)
|
| +++ Source/WebCore/html/HTMLInputElement.cpp (working copy)
|
| @@ -1468,6 +1468,16 @@
|
| return m_inputType->supportsRequired() && required();
|
| }
|
|
|
| +bool HTMLInputElement::shouldMatchReadOnlySelector() const
|
| +{
|
| + return m_inputType->supportsReadOnly() && readOnly();
|
| +}
|
| +
|
| +bool HTMLInputElement::shouldMatchReadWriteSelector() const
|
| +{
|
| + return m_inputType->supportsReadOnly() && !readOnly();
|
| +}
|
| +
|
| void HTMLInputElement::addSearchResult()
|
| {
|
| m_inputType->addSearchResult();
|
|
|