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

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

Issue 1914933003: output should not match to :enabled or :disabled pseudo classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated as per review comments Created 4 years, 7 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 isDisabledFormControl() const override;
65 bool matchesEnabledPseudoClass() const override;
65 bool isEnumeratable() const override { return true; } 66 bool isEnumeratable() const override { return true; }
66 bool supportLabels() const override { return true; } 67 bool supportLabels() const override { return true; }
67 bool supportsFocus() const override; 68 bool supportsFocus() const override;
68 void childrenChanged(const ChildrenChange&) override; 69 void childrenChanged(const ChildrenChange&) override;
69 void resetImpl() override; 70 void resetImpl() override;
70 71
71 void valueWasSet() final; 72 void valueWasSet() final;
72 73
73 bool m_isDefaultValueMode; 74 bool m_isDefaultValueMode;
74 String m_defaultValue; 75 String m_defaultValue;
75 Member<DOMTokenList> m_tokens; 76 Member<DOMTokenList> m_tokens;
76 }; 77 };
77 78
78 } // namespace blink 79 } // namespace blink
79 80
80 #endif // HTMLOutputElement_h 81 #endif // HTMLOutputElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLOptionElement.cpp ('k') | third_party/WebKit/Source/core/html/HTMLOutputElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698