| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2001 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
| 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2010 Apple Inc. All rights reserv
ed. | 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2010 Apple Inc. All rights reserv
ed. |
| 6 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) | 6 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) |
| 7 * Copyright (C) 2007 Samuel Weinig (sam@webkit.org) | 7 * Copyright (C) 2007 Samuel Weinig (sam@webkit.org) |
| 8 * | 8 * |
| 9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
| 10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
| (...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 516 void HTMLTextAreaElement::setCols(int cols) | 516 void HTMLTextAreaElement::setCols(int cols) |
| 517 { | 517 { |
| 518 setIntegralAttribute(colsAttr, cols); | 518 setIntegralAttribute(colsAttr, cols); |
| 519 } | 519 } |
| 520 | 520 |
| 521 void HTMLTextAreaElement::setRows(int rows) | 521 void HTMLTextAreaElement::setRows(int rows) |
| 522 { | 522 { |
| 523 setIntegralAttribute(rowsAttr, rows); | 523 setIntegralAttribute(rowsAttr, rows); |
| 524 } | 524 } |
| 525 | 525 |
| 526 bool HTMLTextAreaElement::shouldUseInputMethod() | |
| 527 { | |
| 528 return true; | |
| 529 } | |
| 530 | |
| 531 bool HTMLTextAreaElement::matchesReadOnlyPseudoClass() const | 526 bool HTMLTextAreaElement::matchesReadOnlyPseudoClass() const |
| 532 { | 527 { |
| 533 return isReadOnly(); | 528 return isReadOnly(); |
| 534 } | 529 } |
| 535 | 530 |
| 536 bool HTMLTextAreaElement::matchesReadWritePseudoClass() const | 531 bool HTMLTextAreaElement::matchesReadWritePseudoClass() const |
| 537 { | 532 { |
| 538 return !isReadOnly(); | 533 return !isReadOnly(); |
| 539 } | 534 } |
| 540 | 535 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 561 { | 556 { |
| 562 return true; | 557 return true; |
| 563 } | 558 } |
| 564 | 559 |
| 565 bool HTMLTextAreaElement::supportsAutofocus() const | 560 bool HTMLTextAreaElement::supportsAutofocus() const |
| 566 { | 561 { |
| 567 return true; | 562 return true; |
| 568 } | 563 } |
| 569 | 564 |
| 570 } | 565 } |
| OLD | NEW |