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 554 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
565 bool HTMLTextAreaElement::isInteractiveContent() const | 565 bool HTMLTextAreaElement::isInteractiveContent() const |
566 { | 566 { |
567 return true; | 567 return true; |
568 } | 568 } |
569 | 569 |
570 bool HTMLTextAreaElement::supportsAutofocus() const | 570 bool HTMLTextAreaElement::supportsAutofocus() const |
571 { | 571 { |
572 return true; | 572 return true; |
573 } | 573 } |
574 | 574 |
575 void HTMLTextAreaElement::detach(const AttachContext& context) | |
576 { | |
577 // Since we do a lazy update from renderer, do it if we have | |
578 // failed to do a lazy update. Updated value will be needed | |
579 // while saving the form control state. | |
tkent
2014/09/03 08:04:44
I don't understand the comment.
Does the code to s
spartha
2014/09/03 08:50:57
It uses value(). It tries to update m_value in the
tkent
2014/09/03 09:11:27
Thanks. I understand.
We should remove ASSERT(ren
spartha
2014/09/03 14:47:33
Done.
| |
580 updateValue(); | |
581 HTMLTextFormControlElement::detach(context); | |
575 } | 582 } |
583 | |
584 } | |
OLD | NEW |