Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(258)

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLOutputElement.h

Issue 1752103003: OUTPUT element should not match to |:disabled| selector. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2010 Google Inc. All rights reserved. 2 * Copyright (c) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 54
55 bool canContainRangeEndPoint() const override { return false; } 55 bool canContainRangeEndPoint() const override { return false; }
56 56
57 DECLARE_VIRTUAL_TRACE(); 57 DECLARE_VIRTUAL_TRACE();
58 58
59 private: 59 private:
60 HTMLOutputElement(Document&, HTMLFormElement*); 60 HTMLOutputElement(Document&, HTMLFormElement*);
61 61
62 void parseAttribute(const QualifiedName&, const AtomicString&, const AtomicS tring&) override; 62 void parseAttribute(const QualifiedName&, const AtomicString&, const AtomicS tring&) override;
63 const AtomicString& formControlType() const override; 63 const AtomicString& formControlType() const override;
64 bool isDisabledFormControl() const override;
64 bool isEnumeratable() const override { return true; } 65 bool isEnumeratable() const override { return true; }
65 bool supportLabels() const override { return true; } 66 bool supportLabels() const override { return true; }
66 bool supportsFocus() const override; 67 bool supportsFocus() const override;
67 void childrenChanged(const ChildrenChange&) override; 68 void childrenChanged(const ChildrenChange&) override;
68 void resetImpl() override; 69 void resetImpl() override;
69 70
70 void valueWasSet() final; 71 void valueWasSet() final;
71 72
72 bool m_isDefaultValueMode; 73 bool m_isDefaultValueMode;
73 String m_defaultValue; 74 String m_defaultValue;
74 RefPtrWillBeMember<DOMTokenList> m_tokens; 75 RefPtrWillBeMember<DOMTokenList> m_tokens;
75 }; 76 };
76 77
77 } // namespace blink 78 } // namespace blink
78 79
79 #endif // HTMLOutputElement_h 80 #endif // HTMLOutputElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698