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, 2009, 2010, 2011 Apple Inc. All r
ights reserved. | 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r
ights reserved. |
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 * Copyright (C) 2010 Google Inc. All rights reserved. | 8 * Copyright (C) 2010 Google Inc. All rights reserved. |
9 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) | 9 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) |
10 * Copyright (C) 2012 Samsung Electronics. All rights reserved. | 10 * Copyright (C) 2012 Samsung Electronics. All rights reserved. |
(...skipping 682 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
693 } else if (name == multipleAttr) { | 693 } else if (name == multipleAttr) { |
694 m_inputTypeView->multipleAttributeChanged(); | 694 m_inputTypeView->multipleAttributeChanged(); |
695 setNeedsValidityCheck(); | 695 setNeedsValidityCheck(); |
696 } else if (name == stepAttr) { | 696 } else if (name == stepAttr) { |
697 m_inputTypeView->stepAttributeChanged(); | 697 m_inputTypeView->stepAttributeChanged(); |
698 setNeedsValidityCheck(); | 698 setNeedsValidityCheck(); |
699 UseCounter::count(document(), UseCounter::StepAttribute); | 699 UseCounter::count(document(), UseCounter::StepAttribute); |
700 } else if (name == patternAttr) { | 700 } else if (name == patternAttr) { |
701 setNeedsValidityCheck(); | 701 setNeedsValidityCheck(); |
702 UseCounter::count(document(), UseCounter::PatternAttribute); | 702 UseCounter::count(document(), UseCounter::PatternAttribute); |
703 } else if (name == precisionAttr) { | |
704 setNeedsValidityCheck(); | |
705 UseCounter::count(document(), UseCounter::PrecisionAttribute); | |
706 } else if (name == disabledAttr) { | 703 } else if (name == disabledAttr) { |
707 HTMLTextFormControlElement::parseAttribute(name, value); | 704 HTMLTextFormControlElement::parseAttribute(name, value); |
708 m_inputTypeView->disabledAttributeChanged(); | 705 m_inputTypeView->disabledAttributeChanged(); |
709 } else if (name == readonlyAttr) { | 706 } else if (name == readonlyAttr) { |
710 HTMLTextFormControlElement::parseAttribute(name, value); | 707 HTMLTextFormControlElement::parseAttribute(name, value); |
711 m_inputTypeView->readonlyAttributeChanged(); | 708 m_inputTypeView->readonlyAttributeChanged(); |
712 } else if (name == listAttr) { | 709 } else if (name == listAttr) { |
713 m_hasNonEmptyList = !value.isEmpty(); | 710 m_hasNonEmptyList = !value.isEmpty(); |
714 if (m_hasNonEmptyList) { | 711 if (m_hasNonEmptyList) { |
715 resetListAttributeTargetObserver(); | 712 resetListAttributeTargetObserver(); |
(...skipping 1160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1876 return m_inputTypeView->customStyleForRenderer(originalStyleForRenderer()); | 1873 return m_inputTypeView->customStyleForRenderer(originalStyleForRenderer()); |
1877 } | 1874 } |
1878 #endif | 1875 #endif |
1879 | 1876 |
1880 bool HTMLInputElement::shouldDispatchFormControlChangeEvent(String& oldValue, St
ring& newValue) | 1877 bool HTMLInputElement::shouldDispatchFormControlChangeEvent(String& oldValue, St
ring& newValue) |
1881 { | 1878 { |
1882 return m_inputType->shouldDispatchFormControlChangeEvent(oldValue, newValue)
; | 1879 return m_inputType->shouldDispatchFormControlChangeEvent(oldValue, newValue)
; |
1883 } | 1880 } |
1884 | 1881 |
1885 } // namespace | 1882 } // namespace |
OLD | NEW |