2002-11-17 18:37:56 +03:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2012-05-21 15:12:37 +04:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2002-11-17 18:37:56 +03:00
|
|
|
|
2006-03-25 08:47:31 +03:00
|
|
|
/* atom list for CSS pseudo-classes */
|
|
|
|
|
2002-11-17 18:37:56 +03:00
|
|
|
/*
|
|
|
|
* This file contains the list of nsIAtoms and their values for CSS
|
|
|
|
* pseudo-classes. It is designed to be used as inline input to
|
|
|
|
* nsCSSPseudoClasses.cpp *only* through the magic of C preprocessing.
|
2012-08-10 07:37:58 +04:00
|
|
|
* All entries must be enclosed in the macros CSS_PSEUDO_CLASS,
|
|
|
|
* CSS_STATE_DEPENDENT_PSEUDO_CLASS, or CSS_STATE_PSEUDO_CLASS which
|
|
|
|
* will have cruel and unusual things done to them. The entries should
|
2014-10-23 20:57:27 +04:00
|
|
|
* be kept in some sort of logical order. The common arguments to these
|
|
|
|
* macros are:
|
|
|
|
* name_ : The C++ identifier used for the atom (which will be a member
|
|
|
|
* of nsCSSPseudoClasses)
|
|
|
|
* value_ : The pseudo-class as a string, including the initial colon,
|
|
|
|
* used as the string value of the atom.
|
|
|
|
* flags_ : A bitfield containing flags defined in nsCSSPseudoClasses.h
|
|
|
|
* pref_ : The name of the preference controlling whether the
|
|
|
|
* pseudo-class is recognized by the parser, or the empty
|
|
|
|
* string if it's unconditional.
|
|
|
|
* CSS_STATE_PSEUDO_CLASS has an additional argument:
|
|
|
|
* bit_ : The event state bit or bits that corresponds to the
|
|
|
|
* pseudo-class, i.e., causes it to match (only one bit
|
|
|
|
* required to match).
|
|
|
|
* CSS_STATE_DEPENDENT_PSEUDO_CLASS has an additional argument:
|
|
|
|
* bit_ : The event state bits that affect whether the pseudo-class
|
|
|
|
* matches. Matching depends on a customized per-class
|
|
|
|
* algorithm which should be defined in SelectorMatches() in
|
|
|
|
* nsCSSRuleProcessor.cpp.
|
2012-08-10 07:37:58 +04:00
|
|
|
*
|
|
|
|
* If CSS_STATE_PSEUDO_CLASS is not defined, it'll be automatically
|
|
|
|
* defined to CSS_STATE_DEPENDENT_PSEUDO_CLASS;
|
|
|
|
* if CSS_STATE_DEPENDENT_PSEUDO_CLASS is not defined, it'll be
|
|
|
|
* automatically defined to CSS_PSEUDO_CLASS.
|
2002-11-17 18:37:56 +03:00
|
|
|
*/
|
|
|
|
|
2003-04-02 08:51:07 +04:00
|
|
|
// OUTPUT_CLASS=nsCSSPseudoClasses
|
|
|
|
// MACRO_NAME=CSS_PSEUDO_CLASS
|
|
|
|
|
2012-08-10 07:37:58 +04:00
|
|
|
#ifdef DEFINED_CSS_STATE_DEPENDENT_PSEUDO_CLASS
|
|
|
|
#error "CSS_STATE_DEPENDENT_PSEUDO_CLASS shouldn't be defined"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef CSS_STATE_DEPENDENT_PSEUDO_CLASS
|
2014-10-23 20:57:27 +04:00
|
|
|
#define CSS_STATE_DEPENDENT_PSEUDO_CLASS(_name, _value, _flags, _pref, _bit) \
|
|
|
|
CSS_PSEUDO_CLASS(_name, _value, _flags, _pref)
|
2012-08-10 07:37:58 +04:00
|
|
|
#define DEFINED_CSS_STATE_DEPENDENT_PSEUDO_CLASS
|
|
|
|
#endif
|
|
|
|
|
2009-12-11 10:37:41 +03:00
|
|
|
#ifdef DEFINED_CSS_STATE_PSEUDO_CLASS
|
2012-08-10 07:37:58 +04:00
|
|
|
#error "CSS_STATE_PSEUDO_CLASS shouldn't be defined"
|
2009-12-11 10:37:41 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef CSS_STATE_PSEUDO_CLASS
|
2014-10-23 20:57:27 +04:00
|
|
|
#define CSS_STATE_PSEUDO_CLASS(_name, _value, _flags, _pref, _bit) \
|
|
|
|
CSS_STATE_DEPENDENT_PSEUDO_CLASS(_name, _value, _flags, _pref, _bit)
|
2009-12-11 10:37:41 +03:00
|
|
|
#define DEFINED_CSS_STATE_PSEUDO_CLASS
|
|
|
|
#endif
|
|
|
|
|
2010-04-27 00:27:01 +04:00
|
|
|
// The CSS_PSEUDO_CLASS entries should all come before the
|
|
|
|
// CSS_STATE_PSEUDO_CLASS entries. The CSS_PSEUDO_CLASS entry order
|
2012-12-05 08:15:47 +04:00
|
|
|
// must be the same as the order of cases in SelectorMatches. :not
|
|
|
|
// must be the last CSS_PSEUDO_CLASS.
|
2010-04-27 00:27:01 +04:00
|
|
|
|
2014-10-23 20:57:27 +04:00
|
|
|
CSS_PSEUDO_CLASS(empty, ":empty", 0, "")
|
|
|
|
CSS_PSEUDO_CLASS(mozOnlyWhitespace, ":-moz-only-whitespace", 0, "")
|
|
|
|
CSS_PSEUDO_CLASS(mozEmptyExceptChildrenWithLocalname, ":-moz-empty-except-children-with-localname", 0, "")
|
|
|
|
CSS_PSEUDO_CLASS(lang, ":lang", 0, "")
|
|
|
|
CSS_PSEUDO_CLASS(mozBoundElement, ":-moz-bound-element", 0, "")
|
|
|
|
CSS_PSEUDO_CLASS(root, ":root", 0, "")
|
|
|
|
CSS_PSEUDO_CLASS(any, ":-moz-any", 0, "")
|
|
|
|
|
|
|
|
CSS_PSEUDO_CLASS(firstChild, ":first-child", 0, "")
|
|
|
|
CSS_PSEUDO_CLASS(firstNode, ":-moz-first-node", 0, "")
|
|
|
|
CSS_PSEUDO_CLASS(lastChild, ":last-child", 0, "")
|
|
|
|
CSS_PSEUDO_CLASS(lastNode, ":-moz-last-node", 0, "")
|
|
|
|
CSS_PSEUDO_CLASS(onlyChild, ":only-child", 0, "")
|
|
|
|
CSS_PSEUDO_CLASS(firstOfType, ":first-of-type", 0, "")
|
|
|
|
CSS_PSEUDO_CLASS(lastOfType, ":last-of-type", 0, "")
|
|
|
|
CSS_PSEUDO_CLASS(onlyOfType, ":only-of-type", 0, "")
|
|
|
|
CSS_PSEUDO_CLASS(nthChild, ":nth-child", 0, "")
|
|
|
|
CSS_PSEUDO_CLASS(nthLastChild, ":nth-last-child", 0, "")
|
|
|
|
CSS_PSEUDO_CLASS(nthOfType, ":nth-of-type", 0, "")
|
|
|
|
CSS_PSEUDO_CLASS(nthLastOfType, ":nth-last-of-type", 0, "")
|
2002-11-17 18:37:56 +03:00
|
|
|
|
2006-08-26 02:33:17 +04:00
|
|
|
// Match nodes that are HTML but not XHTML
|
2014-10-23 20:57:27 +04:00
|
|
|
CSS_PSEUDO_CLASS(mozIsHTML, ":-moz-is-html", 0, "")
|
2006-08-26 02:33:17 +04:00
|
|
|
|
2015-01-13 21:58:06 +03:00
|
|
|
// Match all custom elements whose created callback has not yet been invoked
|
|
|
|
CSS_STATE_PSEUDO_CLASS(unresolved, ":unresolved", 0, "", NS_EVENT_STATE_UNRESOLVED)
|
|
|
|
|
2014-10-23 20:57:28 +04:00
|
|
|
// Matches nodes that are in a native-anonymous subtree (i.e., nodes in
|
|
|
|
// a subtree of C++ anonymous content constructed by Gecko for its own
|
|
|
|
// purposes).
|
|
|
|
CSS_PSEUDO_CLASS(mozNativeAnonymous, ":-moz-native-anonymous",
|
|
|
|
CSS_PSEUDO_CLASS_UA_SHEET_ONLY, "")
|
|
|
|
|
2007-11-19 23:08:20 +03:00
|
|
|
// Matches anything when the specified look-and-feel metric is set
|
2014-10-23 20:57:27 +04:00
|
|
|
CSS_PSEUDO_CLASS(mozSystemMetric, ":-moz-system-metric", 0, "")
|
2007-11-19 23:08:20 +03:00
|
|
|
|
2009-07-29 22:33:53 +04:00
|
|
|
// -moz-locale-dir(ltr) and -moz-locale-dir(rtl) may be used
|
|
|
|
// to match based on the locale's chrome direction
|
2014-10-23 20:57:27 +04:00
|
|
|
CSS_PSEUDO_CLASS(mozLocaleDir, ":-moz-locale-dir", 0, "")
|
2009-07-29 22:33:53 +04:00
|
|
|
|
2009-10-02 10:22:18 +04:00
|
|
|
// -moz-lwtheme may be used to match a document that has a lightweight theme
|
2014-10-23 20:57:27 +04:00
|
|
|
CSS_PSEUDO_CLASS(mozLWTheme, ":-moz-lwtheme", 0, "")
|
2009-10-02 10:22:18 +04:00
|
|
|
|
2012-12-04 10:32:27 +04:00
|
|
|
// -moz-lwtheme-brighttext matches a document that has a dark lightweight theme
|
2014-10-23 20:57:27 +04:00
|
|
|
CSS_PSEUDO_CLASS(mozLWThemeBrightText, ":-moz-lwtheme-brighttext", 0, "")
|
2009-10-02 10:22:18 +04:00
|
|
|
|
|
|
|
// -moz-lwtheme-darktext matches a document that has a bright lightweight theme
|
2014-10-23 20:57:27 +04:00
|
|
|
CSS_PSEUDO_CLASS(mozLWThemeDarkText, ":-moz-lwtheme-darktext", 0, "")
|
2009-10-02 10:22:18 +04:00
|
|
|
|
2010-03-17 20:10:57 +03:00
|
|
|
// Matches anything when the containing window is inactive
|
2014-10-23 20:57:27 +04:00
|
|
|
CSS_PSEUDO_CLASS(mozWindowInactive, ":-moz-window-inactive", 0, "")
|
2010-03-17 20:10:57 +03:00
|
|
|
|
2010-10-07 08:25:47 +04:00
|
|
|
// Matches any table elements that have a nonzero border attribute,
|
|
|
|
// according to HTML integer attribute parsing rules.
|
2014-10-23 20:57:27 +04:00
|
|
|
CSS_PSEUDO_CLASS(mozTableBorderNonzero, ":-moz-table-border-nonzero", 0, "")
|
2010-10-07 08:25:47 +04:00
|
|
|
|
2015-10-07 06:04:32 +03:00
|
|
|
// Matches HTML frame/iframe elements which are mozbrowser.
|
|
|
|
CSS_PSEUDO_CLASS(mozBrowserFrame, ":-moz-browser-frame", 0, "")
|
|
|
|
|
2012-12-05 08:15:47 +04:00
|
|
|
// Matches whatever the contextual reference elements are for the
|
|
|
|
// matching operation.
|
2014-10-23 20:57:27 +04:00
|
|
|
CSS_PSEUDO_CLASS(scope, ":scope", 0, "layout.css.scope-pseudo.enabled")
|
2012-12-05 08:15:47 +04:00
|
|
|
|
2010-04-27 00:27:01 +04:00
|
|
|
// :not needs to come at the end of the non-bit pseudo-class list, since
|
|
|
|
// it doesn't actually get directly matched on in SelectorMatches.
|
2014-10-23 20:57:27 +04:00
|
|
|
CSS_PSEUDO_CLASS(notPseudo, ":not", 0, "")
|
2010-04-27 00:27:01 +04:00
|
|
|
|
2012-09-30 00:41:10 +04:00
|
|
|
// :-moz-dir(ltr) and :-moz-dir(rtl) match elements whose resolved
|
|
|
|
// directionality in the markup language is ltr or rtl respectively
|
2014-10-23 20:57:27 +04:00
|
|
|
CSS_STATE_DEPENDENT_PSEUDO_CLASS(dir, ":-moz-dir", 0, "",
|
2012-08-10 07:37:58 +04:00
|
|
|
NS_EVENT_STATE_LTR | NS_EVENT_STATE_RTL)
|
|
|
|
|
2014-10-23 20:57:27 +04:00
|
|
|
CSS_STATE_PSEUDO_CLASS(link, ":link", 0, "", NS_EVENT_STATE_UNVISITED)
|
2010-04-27 00:27:01 +04:00
|
|
|
// what matches :link or :visited
|
2014-10-23 20:57:27 +04:00
|
|
|
CSS_STATE_PSEUDO_CLASS(mozAnyLink, ":-moz-any-link", 0, "",
|
2010-04-27 00:27:01 +04:00
|
|
|
NS_EVENT_STATE_VISITED | NS_EVENT_STATE_UNVISITED)
|
2014-10-23 20:57:27 +04:00
|
|
|
CSS_STATE_PSEUDO_CLASS(visited, ":visited", 0, "", NS_EVENT_STATE_VISITED)
|
|
|
|
|
|
|
|
CSS_STATE_PSEUDO_CLASS(active, ":active", 0, "", NS_EVENT_STATE_ACTIVE)
|
|
|
|
CSS_STATE_PSEUDO_CLASS(checked, ":checked", 0, "", NS_EVENT_STATE_CHECKED)
|
|
|
|
CSS_STATE_PSEUDO_CLASS(disabled, ":disabled", 0, "", NS_EVENT_STATE_DISABLED)
|
|
|
|
CSS_STATE_PSEUDO_CLASS(enabled, ":enabled", 0, "", NS_EVENT_STATE_ENABLED)
|
|
|
|
CSS_STATE_PSEUDO_CLASS(focus, ":focus", 0, "", NS_EVENT_STATE_FOCUS)
|
|
|
|
CSS_STATE_PSEUDO_CLASS(hover, ":hover", 0, "", NS_EVENT_STATE_HOVER)
|
|
|
|
CSS_STATE_PSEUDO_CLASS(mozDragOver, ":-moz-drag-over", 0, "", NS_EVENT_STATE_DRAGOVER)
|
|
|
|
CSS_STATE_PSEUDO_CLASS(target, ":target", 0, "", NS_EVENT_STATE_URLTARGET)
|
|
|
|
CSS_STATE_PSEUDO_CLASS(indeterminate, ":indeterminate", 0, "",
|
2010-04-27 00:27:01 +04:00
|
|
|
NS_EVENT_STATE_INDETERMINATE)
|
|
|
|
|
2014-10-23 20:57:27 +04:00
|
|
|
CSS_STATE_PSEUDO_CLASS(mozDevtoolsHighlighted, ":-moz-devtools-highlighted", 0, "",
|
2013-09-07 13:39:50 +04:00
|
|
|
NS_EVENT_STATE_DEVTOOLS_HIGHLIGHTED)
|
|
|
|
|
2011-09-05 00:39:08 +04:00
|
|
|
// Matches the element which is being displayed full-screen, and
|
|
|
|
// any containing frames.
|
2016-02-17 03:47:11 +03:00
|
|
|
CSS_STATE_PSEUDO_CLASS(fullscreen, ":fullscreen", 0, "", NS_EVENT_STATE_FULL_SCREEN)
|
2014-10-23 20:57:27 +04:00
|
|
|
CSS_STATE_PSEUDO_CLASS(mozFullScreen, ":-moz-full-screen", 0, "", NS_EVENT_STATE_FULL_SCREEN)
|
2011-09-05 00:39:08 +04:00
|
|
|
|
2011-11-01 09:11:09 +04:00
|
|
|
// Matches any element which is an ancestor of the DOM full-screen element,
|
|
|
|
// or an ancestor of a containing frame of the full-screen element.
|
2014-10-23 20:57:27 +04:00
|
|
|
CSS_STATE_PSEUDO_CLASS(mozFullScreenAncestor, ":-moz-full-screen-ancestor", 0, "", NS_EVENT_STATE_FULL_SCREEN_ANCESTOR)
|
2011-11-01 09:11:09 +04:00
|
|
|
|
2010-04-27 00:27:01 +04:00
|
|
|
// Matches if the element is focused and should show a focus ring
|
2014-10-23 20:57:27 +04:00
|
|
|
CSS_STATE_PSEUDO_CLASS(mozFocusRing, ":-moz-focusring", 0, "", NS_EVENT_STATE_FOCUSRING)
|
2010-04-27 00:27:01 +04:00
|
|
|
|
|
|
|
// Image, object, etc state pseudo-classes
|
2014-10-23 20:57:27 +04:00
|
|
|
CSS_STATE_PSEUDO_CLASS(mozBroken, ":-moz-broken", 0, "", NS_EVENT_STATE_BROKEN)
|
|
|
|
CSS_STATE_PSEUDO_CLASS(mozUserDisabled, ":-moz-user-disabled", 0, "",
|
2010-04-27 00:27:01 +04:00
|
|
|
NS_EVENT_STATE_USERDISABLED)
|
2014-10-23 20:57:27 +04:00
|
|
|
CSS_STATE_PSEUDO_CLASS(mozSuppressed, ":-moz-suppressed", 0, "",
|
2010-04-27 00:27:01 +04:00
|
|
|
NS_EVENT_STATE_SUPPRESSED)
|
2014-10-23 20:57:27 +04:00
|
|
|
CSS_STATE_PSEUDO_CLASS(mozLoading, ":-moz-loading", 0, "", NS_EVENT_STATE_LOADING)
|
|
|
|
CSS_STATE_PSEUDO_CLASS(mozTypeUnsupported, ":-moz-type-unsupported", 0, "",
|
2010-04-27 00:27:01 +04:00
|
|
|
NS_EVENT_STATE_TYPE_UNSUPPORTED)
|
2014-10-23 20:57:27 +04:00
|
|
|
CSS_STATE_PSEUDO_CLASS(mozTypeUnsupportedPlatform, ":-moz-type-unsupported-platform", 0, "",
|
2012-07-26 08:44:11 +04:00
|
|
|
NS_EVENT_STATE_TYPE_UNSUPPORTED_PLATFORM)
|
2014-10-23 20:57:27 +04:00
|
|
|
CSS_STATE_PSEUDO_CLASS(mozHandlerClickToPlay, ":-moz-handler-clicktoplay", 0, "",
|
2011-10-07 21:46:02 +04:00
|
|
|
NS_EVENT_STATE_TYPE_CLICK_TO_PLAY)
|
2014-10-23 20:57:27 +04:00
|
|
|
CSS_STATE_PSEUDO_CLASS(mozHandlerVulnerableUpdatable, ":-moz-handler-vulnerable-updatable", 0, "",
|
2012-07-11 19:56:34 +04:00
|
|
|
NS_EVENT_STATE_VULNERABLE_UPDATABLE)
|
2014-10-23 20:57:27 +04:00
|
|
|
CSS_STATE_PSEUDO_CLASS(mozHandlerVulnerableNoUpdate, ":-moz-handler-vulnerable-no-update", 0, "",
|
2012-07-11 19:56:34 +04:00
|
|
|
NS_EVENT_STATE_VULNERABLE_NO_UPDATE)
|
2014-10-23 20:57:27 +04:00
|
|
|
CSS_STATE_PSEUDO_CLASS(mozHandlerDisabled, ":-moz-handler-disabled", 0, "",
|
2010-04-27 00:27:01 +04:00
|
|
|
NS_EVENT_STATE_HANDLER_DISABLED)
|
2014-10-23 20:57:27 +04:00
|
|
|
CSS_STATE_PSEUDO_CLASS(mozHandlerBlocked, ":-moz-handler-blocked", 0, "",
|
2010-04-27 00:27:01 +04:00
|
|
|
NS_EVENT_STATE_HANDLER_BLOCKED)
|
2014-10-23 20:57:27 +04:00
|
|
|
CSS_STATE_PSEUDO_CLASS(mozHandlerCrashed, ":-moz-handler-crashed", 0, "",
|
2010-04-27 00:27:01 +04:00
|
|
|
NS_EVENT_STATE_HANDLER_CRASHED)
|
|
|
|
|
2009-12-11 10:37:41 +03:00
|
|
|
CSS_STATE_PSEUDO_CLASS(mozMathIncrementScriptLevel,
|
2014-10-23 20:57:27 +04:00
|
|
|
":-moz-math-increment-script-level", 0, "",
|
2009-12-11 10:37:41 +03:00
|
|
|
NS_EVENT_STATE_INCREMENT_SCRIPT_LEVEL)
|
2008-01-09 12:38:28 +03:00
|
|
|
|
2005-08-02 12:29:03 +04:00
|
|
|
// CSS 3 UI
|
|
|
|
// http://www.w3.org/TR/2004/CR-css3-ui-20040511/#pseudo-classes
|
2014-10-23 20:57:27 +04:00
|
|
|
CSS_STATE_PSEUDO_CLASS(required, ":required", 0, "", NS_EVENT_STATE_REQUIRED)
|
|
|
|
CSS_STATE_PSEUDO_CLASS(optional, ":optional", 0, "", NS_EVENT_STATE_OPTIONAL)
|
|
|
|
CSS_STATE_PSEUDO_CLASS(valid, ":valid", 0, "", NS_EVENT_STATE_VALID)
|
|
|
|
CSS_STATE_PSEUDO_CLASS(invalid, ":invalid", 0, "", NS_EVENT_STATE_INVALID)
|
|
|
|
CSS_STATE_PSEUDO_CLASS(inRange, ":in-range", 0, "", NS_EVENT_STATE_INRANGE)
|
|
|
|
CSS_STATE_PSEUDO_CLASS(outOfRange, ":out-of-range", 0, "", NS_EVENT_STATE_OUTOFRANGE)
|
|
|
|
CSS_STATE_PSEUDO_CLASS(defaultPseudo, ":default", 0, "", NS_EVENT_STATE_DEFAULT)
|
|
|
|
CSS_STATE_PSEUDO_CLASS(mozReadOnly, ":-moz-read-only", 0, "",
|
2009-12-11 10:37:41 +03:00
|
|
|
NS_EVENT_STATE_MOZ_READONLY)
|
2014-10-23 20:57:27 +04:00
|
|
|
CSS_STATE_PSEUDO_CLASS(mozReadWrite, ":-moz-read-write", 0, "",
|
2009-12-11 10:37:41 +03:00
|
|
|
NS_EVENT_STATE_MOZ_READWRITE)
|
2014-10-23 20:57:27 +04:00
|
|
|
CSS_STATE_PSEUDO_CLASS(mozSubmitInvalid, ":-moz-submit-invalid", 0, "",
|
2010-09-10 09:08:56 +04:00
|
|
|
NS_EVENT_STATE_MOZ_SUBMITINVALID)
|
2014-10-23 20:57:27 +04:00
|
|
|
CSS_STATE_PSEUDO_CLASS(mozUIInvalid, ":-moz-ui-invalid", 0, "",
|
2010-11-24 02:48:18 +03:00
|
|
|
NS_EVENT_STATE_MOZ_UI_INVALID)
|
2014-10-23 20:57:27 +04:00
|
|
|
CSS_STATE_PSEUDO_CLASS(mozUIValid, ":-moz-ui-valid", 0, "",
|
2010-11-24 02:54:29 +03:00
|
|
|
NS_EVENT_STATE_MOZ_UI_VALID)
|
2014-10-23 20:57:27 +04:00
|
|
|
CSS_STATE_PSEUDO_CLASS(mozMeterOptimum, ":-moz-meter-optimum", 0, "",
|
2012-05-16 15:23:31 +04:00
|
|
|
NS_EVENT_STATE_OPTIMUM)
|
2014-10-23 20:57:27 +04:00
|
|
|
CSS_STATE_PSEUDO_CLASS(mozMeterSubOptimum, ":-moz-meter-sub-optimum", 0, "",
|
2012-05-16 15:23:31 +04:00
|
|
|
NS_EVENT_STATE_SUB_OPTIMUM)
|
2014-10-23 20:57:27 +04:00
|
|
|
CSS_STATE_PSEUDO_CLASS(mozMeterSubSubOptimum, ":-moz-meter-sub-sub-optimum", 0, "",
|
2012-05-16 15:23:31 +04:00
|
|
|
NS_EVENT_STATE_SUB_SUB_OPTIMUM)
|
2009-12-11 10:37:41 +03:00
|
|
|
|
2013-01-24 13:30:28 +04:00
|
|
|
// Those values should be parsed but do nothing.
|
2014-10-23 20:57:27 +04:00
|
|
|
CSS_STATE_PSEUDO_CLASS(mozPlaceholder, ":-moz-placeholder", 0, "", NS_EVENT_STATE_IGNORE)
|
2013-01-24 13:30:28 +04:00
|
|
|
|
2009-12-11 10:37:41 +03:00
|
|
|
#ifdef DEFINED_CSS_STATE_PSEUDO_CLASS
|
|
|
|
#undef DEFINED_CSS_STATE_PSEUDO_CLASS
|
|
|
|
#undef CSS_STATE_PSEUDO_CLASS
|
|
|
|
#endif
|
2012-08-10 07:37:58 +04:00
|
|
|
|
|
|
|
#ifdef DEFINED_CSS_STATE_DEPENDENT_PSEUDO_CLASS
|
|
|
|
#undef DEFINED_CSS_STATE_DEPENDENT_PSEUDO_CLASS
|
|
|
|
#undef CSS_STATE_DEPENDENT_PSEUDO_CLASS
|
|
|
|
#endif
|