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

Side by Side Diff: third_party/WebKit/Source/core/dom/Element.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) 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 Peter Kelly (pmk@post.com) 4 * (C) 2001 Peter Kelly (pmk@post.com)
5 * (C) 2001 Dirk Mueller (mueller@kde.org) 5 * (C) 2001 Dirk Mueller (mueller@kde.org)
6 * Copyright (C) 2003-2011, 2013, 2014 Apple Inc. All rights reserved. 6 * Copyright (C) 2003-2011, 2013, 2014 Apple Inc. All rights reserved.
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after
463 // Also used for script elements and some SVG elements for similar purposes, 463 // Also used for script elements and some SVG elements for similar purposes,
464 // but making parsing a special case in this respect should be avoided if po ssible. 464 // but making parsing a special case in this respect should be avoided if po ssible.
465 virtual void finishParsingChildren(); 465 virtual void finishParsingChildren();
466 466
467 void beginParsingChildren() { setIsFinishedParsingChildren(false); } 467 void beginParsingChildren() { setIsFinishedParsingChildren(false); }
468 468
469 PseudoElement* pseudoElement(PseudoId) const; 469 PseudoElement* pseudoElement(PseudoId) const;
470 LayoutObject* pseudoElementLayoutObject(PseudoId) const; 470 LayoutObject* pseudoElementLayoutObject(PseudoId) const;
471 471
472 virtual bool matchesDefaultPseudoClass() const { return false; } 472 virtual bool matchesDefaultPseudoClass() const { return false; }
473 virtual bool matchesEnabledPseudoClass() const { return false; }
473 virtual bool matchesReadOnlyPseudoClass() const { return false; } 474 virtual bool matchesReadOnlyPseudoClass() const { return false; }
474 virtual bool matchesReadWritePseudoClass() const { return false; } 475 virtual bool matchesReadWritePseudoClass() const { return false; }
475 virtual bool matchesValidityPseudoClasses() const { return false; } 476 virtual bool matchesValidityPseudoClasses() const { return false; }
476 bool matches(const String& selectors, ExceptionState&); 477 bool matches(const String& selectors, ExceptionState&);
477 Element* closest(const String& selectors, ExceptionState&); 478 Element* closest(const String& selectors, ExceptionState&);
478 virtual bool shouldAppearIndeterminate() const { return false; } 479 virtual bool shouldAppearIndeterminate() const { return false; }
479 480
480 DOMTokenList& classList(); 481 DOMTokenList& classList();
481 482
482 DOMStringMap& dataset(); 483 DOMStringMap& dataset();
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after
958 static T* create(const QualifiedName&, Document&) 959 static T* create(const QualifiedName&, Document&)
959 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ 960 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \
960 T* T::create(const QualifiedName& tagName, Document& document) \ 961 T* T::create(const QualifiedName& tagName, Document& document) \
961 { \ 962 { \
962 return new T(tagName, document); \ 963 return new T(tagName, document); \
963 } 964 }
964 965
965 } // namespace blink 966 } // namespace blink
966 967
967 #endif // Element_h 968 #endif // Element_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/SelectorChecker.cpp ('k') | third_party/WebKit/Source/core/html/HTMLAnchorElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698