Search completed in 1.13 seconds.
19 results for "pseudoelement":
Your results are loading. Please wait...
CSSPseudoElement - Web APIs
EventTarget.dispatchEvent() Dispatches an event to this pseudo-element. EventTarget.removeEventListener() Removes an event listener from the pseudo-element. ...
... EventTarget.dispatchEvent() Dispatches an event to this pseudo-element. EventTarget.removeEventListener() Removes an event listener from the pseudo-element. ...
... EventTarget.dispatchEvent() Dispatches an event to this pseudo-element. EventTarget.removeEventListener() Removes an event listener from the pseudo-element. ...
...And 3 more matches
CSSPseudoElement.element - Web APIs
The element read-only property of the CSSPseudoElement interface returns a reference to the originating element of the pseudo-element, in other words its parent element. Syntax var originatingElement = cssPseudoElement.element; Value An Element representing the pseudo-element's originating element. ...
... The element read-only property of the CSSPseudoElement interface returns a reference to the originating element of the pseudo-element, in other words its parent element. Syntax var originatingElement = cssPseudoElement.element; Value An Element representing the pseudo-element's originating element. ...
...eference to the originating element of the pseudo-element, in other words its parent element. Syntax var originatingElement = cssPseudoElement.element; Value An Element representing the pseudo-element's originating element. ...
...And 2 more matches
CSSPseudoElement.type - Web APIs
The type read-only property of the CSSPseudoElement interface returns the type of the pseudo-element as a string, represented in the form of a CSS selector. ...
... The type read-only property of the CSSPseudoElement interface returns the type of the pseudo-element as a string, represented in the form of a CSS selector. ...
... The type read-only property of the CSSPseudoElement interface returns the type of the pseudo-element as a string, represented in the form of a CSS selector. ...
...And 2 more matches
AnimationEvent.pseudoElement - Web APIs
Summary The AnimationEvent.pseudoElement read-only property is a DOMString, starting with '::', containing the name of the pseudo-element the animation runs on. If the animation doesn't run on a pseudo-element but on the element, an empty string: ''. Syntax name = AnimationEvent.pseudoElement Specifications Specification Status Comment CSS AnimationsThe definition of 'AnimationEvent.pseudoElement' in that specification. Working Draft Initial definition. ...
TransitionEvent.pseudoElement - Web APIs
The TransitionEvent.pseudoElement read-only property is a DOMString, starting with '::', containing the name of the pseudo-element the animation runs on. If the transition doesn't run on a pseudo-element but on the element, an empty string: ''. Syntax name = TransitionEvent.pseudoElement Specifications Specification Status Comment CSS TransitionsThe definition of 'TransitionEvent.pseudoElement' in that specification. Working Draft Initial definition. ...
Index - Web APIs
Web › API › Index
imation-delay, in which case the event will be fired with elapsedTime containing (-1 * delay). 90 AnimationEvent.initAnimationEvent() API, AnimationEvent, CSSOM, Method, Obsolete, Web Animations The AnimationEvent.initAnimationEvent() method Initializes an animation event created using the deprecated Document.createEvent("AnimationEvent") method. 91 AnimationEvent.pseudoElement API, AnimationEvent, CSS, CSSOM, Experimental, Property, Reference, Web Animations The AnimationEvent.pseudoElement read-only property is a DOMString, starting with '::', containing the name of the pseudo-element the animation runs on. If the animation doesn't run on a pseudo-element but on the element, an empty string: ''. 92 AnimationPlaybackEvent API, Animation, Animat...
... be raised. 447 CSSPrimitiveValue.setStringValue() API, CSSPrimitiveValue, Method, NeedsExample, setStringValue The setStringValue() method of the CSSPrimitiveValue interface is used to set a string value. If the property attached to this value can't accept the specified unit or the string value, the value will be unchanged and a DOMException will be raised. ...
... CSSPrimitiveValue.setStringValue() API, CSSPrimitiveValue, Method, NeedsExample, setStringValue The setStringValue() method of the CSSPrimitiveValue interface is used to set a string value. If the property attached to this value can't accept the specified unit or the string value, the value will be unchanged and a DOMException will be raised. ...
...And 4 more matches
nsITreeView
nsIDOMDataTransfer dataTransfer ); Parameters row The index of the row. orientation The position around the given row. Defined in constants. dataTransfer This parameter, added in Gecko 1.9.2, provides the data that has been dropped. getCellProperties() An atomized list of properties for a given cell. Each property, x, that the view gives back will cause the CSS ::moz-tree-cell-*(x) pseudoelement to be matched on the treechildren element. See getRowProperties() for an example. AString getCellProperties( in long row, in nsITreeColumn col, in nsISupportsArray properties ); Parameters row The index of the row. col The current column. properties An array of the cell's current properties. Obsolete since Gecko 22 Return value A string of space-separated property names. ge...
...etColumnProperties( in nsITreeColumn col, in nsISupportsArray properties ); Parameters col The current column. properties An array of the column's current properties. Obsolete since Gecko 22 Return value A string of space-separated property names. getImageSrc() The image path for a given cell. For defining an icon for a cell. If the empty string is returned, the ::moz-tree-image pseudoelement will be used. AString getImageSrc( in long row, in nsITreeColumn col ); Parameters row The index of the row. col The index of the column. Return value The image path of the cell. getLevel() The level is an integer value that represents the level of indentation. It is multiplied by the width specified in the ::moz-tree-indentation pseudoelement to compute the exact indentation. ...
...ype progressmeter. See the constants section for possible modes. long getProgressMode( in long row, in nsITreeColumn col ); Parameters row The index of the row. col The index of the column. Return value The progress mode for the cell. getRowProperties() An atomized list of properties for a given row. Each property, x, that the view gives back will cause the CSS ::moz-tree-row(x) pseudoelement to be matched on the treechildren element. void getRowProperties( in long index, in nsISupportsArray properties ); Parameters index The index of the row. properties An array of the row's current properties. Obsolete since Gecko 22 Return value A string of space-separated property names. Example Your function will not be provided with a properties array. (This is one way of det...
... is cell or text. boolean isSelectable( in long row, in nsITreeColumn col ); Parameters row The row of the cell. col The column of the cell. Return value true if the cell is selectable. Otherwise false. isSeparator() Used to determine if the row at index is a separator. A value of true will result in the tree drawing a horizontal separator. The tree uses the ::moz-tree-separator pseudoelement to draw the separator. boolean isSeparator( in long index ); Parameters index The index of the item being asked about. true if the row is a separator. Otherwise false. isSorted() Specifies if there is currently a sort on any column. Used mostly by dragdrop to affect drop feedback. boolean isSorted(); Parameters None. true if the column is sorted. Otherwise false. performAction(...
nsIDOMWindowUtils
WindowWithId(in unsigned long long aOuterWindowID); long getPCCountScriptCount(); AString getPCCountScriptSummary(in long aScript); AString getPCCountScriptContents(in long aScript); void getScrollXY(in boolean aFlushLayout, out long aScrollX, out long aScrollY); AString getVisitedDependentComputedStyle(in nsIDOMElement aElement, in AString aPseudoElement, in AString aPropertyName); boolean isInModalState(); void leaveModalState(); void loadSheet(in nsIURI sheetURI, in unsigned long type); nsIDOMNodeList nodesFromRect(in float aX, in float aY, in float aTopSize, in float aRightSize, in float aBottomSize, in float aLeftSize, in boolean aIgnoreRootScrollFrame, in boolean aFlushLayout); void processUp...
...ns of Firefox. getScrollXY() Returns the scroll position of the window's currently loaded document. void getScrollXY( in boolean aFlushLayout, out long aScrollX, out long aScrollY ); Parameters aFlushLayout Flushes layout if true. Otherwise, no flush occurs. aScrollX aScrollY getVisitedDependentComputedStyle() Perform the equivalent of: window.getComputedStyle(aElement, aPseudoElement). getPropertyValue(aPropertyName) except that, when the link whose presence in history is allowed to influence aElement's style is visited, get the value the property would have if allowed all properties to change as a result of :visited selectors (except for cases where getComputedStyle uses data from the frame). This is easier to implement than adding our property restrictions to this API, and...
...if allowed all properties to change as a result of :visited selectors (except for cases where getComputedStyle uses data from the frame). This is easier to implement than adding our property restrictions to this API, and is sufficient for the present testing requirements (which are essentially testing 'color'). AString getVisitedDependentComputedStyle( in nsIDOMElement aElement, in AString aPseudoElement, in AString aPropertyName ); Parameters aElement aPseudoElement aPropertyName Return value isInModalState() Is the window is in a modal state? [See enterModalState()] boolean isInModalState(); Parameters None. Return value leaveModalState() Resume normal window state, where scripts can run and events are delivered. void leaveModalState(); Parameters None. l...
nsITreeBoxObject
coordinate system is the client coordinate system for the document this boxObject lives in, and the units are CSS pixels. void getCellAt(in long x, in long y, out long row, out nsITreeColumn col, out ACString childElt); Parameters x The x coordinate y The y coordinate Returns row The row index at the coordinates col The nsITreeColumn hit. ChildElt The pseudoelement hit: this can have values of "cell", "twisty", "image", and "text". getCoordsForCellItem() Find the coordinates of an element within a specific cell. void getCoordsForCellItem(in long row, in nsITreeColumn col, in ACString element, out long x, out long y, out long width, out long height); Parameters row The index of the row col The nsITreeColumn ...
...ve values of "cell", "twisty", "image", and "text". getCoordsForCellItem() Find the coordinates of an element within a specific cell. void getCoordsForCellItem(in long row, in nsITreeColumn col, in ACString element, out long x, out long y, out long width, out long height); Parameters row The index of the row col The nsITreeColumn element The pseudoelement. This can have values of "cell", "twisty", "image", and "text". Returns x The x coordinate col The y coordinate. width The width of the element height The height of the element isCellCropped() Determine if the text of a cell is being cropped or not. boolean isCellCropped(in long row, in nsITreeColumn col); Parameters row The index of the row col ...
AnimationEvent() - Web APIs
The AnimationEvent() constructor returns a newly created AnimationEvent, representing an event in relation with an animation. Syntax animationEvent = new AnimationEvent(type, {animationName: aPropertyName, elapsedTime : aFloat, pseudoElement: aPseudoElementName}); Parameters The AnimationEvent() constructor also inherits arguments from Event(). type A DOMString representing the name of the type of the AnimationEvent. It is case-sensitive and can be: 'animationstart', 'animationend', or 'animationiteration'. animationName Optional A DOMString containing the value of the animation-name CSS property associated with the transition. It defaults to "". elapsedTime Optional A float giving the amount of time ...
...tion. It defaults to "". elapsedTime Optional A float giving the amount of time the animation has been running, in seconds, when this event fired, excluding any time the animation was paused. For an "animationstart" event, elapsedTime is 0.0 unless there was a negative value for animation-delay, in which case the event will be fired with elapsedTime containing (-1 * delay). It defaults to 0.0. pseudoElement Optional Is a DOMString, starting with "::", containing the name of the pseudo-element the animation runs on. If the animation doesn't run on a pseudo-element but on the element itself, specify an empty string: "". It defaults to "". Return value A new AnimationEvent, initialized per any provided options. Specifications Specification Status Comment CSS Animations...
TransitionEvent() - Web APIs
The TransitionEvent() constructor returns a newly created TransitionEvent, representing an event in relation with an transition. Syntax transitionEvent = new TransitionEvent(type, {propertyName: aPropertyName, elapsedTime : aFloat, pseudoElement: aPseudoElementName}); Arguments The TransitionEvent() constructor also inherits arguments from Event(). type Is a DOMString representing the name of the type of the TransitionEvent. It is case-sensitive and can only be: 'transitionend'. propertyName Optional Is a DOMString containing the value of the property-name CSS property associated with the transition. It defaults to "". elapsedTime Optional Is float giving the amount of time the animation has b...
...on. It defaults to "". elapsedTime Optional Is float giving the amount of time the animation has been running, in seconds, when this event fired, excluding any time the animation was paused. For an "animationstart" event, elapsedTime is 0.0 unless there was a negative value for animation-delay, in which case the event will be fired with elapsedTime containing (-1 * delay). It defaults to 0.0. pseudoElement Optional Is a DOMString, starting with "::", containing the name of the pseudo-element the animation runs on. If the animation doesn't run on a pseudo-element but on the element, an empty string: "". It defaults to "". Specifications Specification Status Comment CSS TransitionsThe definition of 'TransitionEvent()' in that specification. Working Draft Initial ...
AnimationEvent - Web APIs
animation. AnimationEvent.elapsedTime Read only Is a float giving the amount of time the animation has been running, in seconds, when this event fired, excluding any time the animation was paused. For an animationstart event, elapsedTime is 0.0 unless there was a negative value for animation-delay, in which case the event will be fired with elapsedTime containing (-1 * delay). AnimationEvent.pseudoElement Read only Is a DOMString, starting with '::', containing the name of the pseudo-element the animation runs on. If the animation doesn't run on a pseudo-element but on the element, an empty string: ''. Methods Also inherits methods from its parent Event. AnimationEvent.initAnimationEvent() Initializes a AnimationEvent created using the deprecated Document.createEvent("AnimationEvent") ...
Element - Web APIs
Web › API › Element
djacentHTML() Parses the text as HTML or XML and inserts the resulting nodes into the tree in the position given. Element.insertAdjacentText() Inserts a given text node at a given position relative to the element it is invoked upon. Element.matches() Returns a Boolean indicating whether or not the element would be selected by the specified selector string. Element.pseudo() Returns a CSSPseudoElement representing the child pseudo-element matched by the specified pseudo-element selector. Element.querySelector() Returns the first Node which matches the specified selector string relative to the element. Element.querySelectorAll() Returns a NodeList of nodes which match the specified selector string relative to the element. Element.releasePointerCapture() Releases (stops) pointer capture th...
GeometryUtils - Web APIs
Properties This interface does not implement any properties. Methods GeometryUtils.getBoxQuads() Returns a list of DOMQuad objects representing the CSS fragments of the node. ...
KeyframeEffect.target - Web APIs
performs as both a getter and a setter, except with animations and transitions generated by CSS. Syntax var targetElement = document.getElementById("elementToAnimate"); var keyframes = new KeyframeEffect( targetElement, keyframeBlock, timingOptions ); // returns #elementToAnimate keyframes.target; // assigns keyframes a new target keyframes.target = newTargetElement; Value An Element, CSSPseudoElement, or null. Examples In the Follow the White Rabbit example, whiteRabbit sets the target element to be animated: var whiteRabbit = document.getElementById("rabbit"); var rabbitDownKeyframes = new KeyframeEffect( whiteRabbit, [ { transform: 'translateY(0%)' }, { transform: 'translateY(100%)' } ], { duration: 3000, fill: 'forwards' } ); // returns <div id="rabbit">Click the rabbi...
KeyframeEffect - Web APIs
onstructor KeyframeEffect() Returns a new KeyframeEffect object instance, and also allows you to clone an existing keyframe effect object instance. Properties KeyframeEffect.target Gets and sets the element, or originating element of the pseudo-element, being animated by this object. This may be null for animations that do not target a specific element or pseudo-element. KeyframeEffect.pseudoElement Gets and sets the selector of the pseudo-element being animated by this object. This may be null for animations that do not target a pseudo-element. KeyframeEffect.iterationComposite Gets and sets the iteration composite operation for resolving the property value changes of this keyframe effect. KeyframeEffect.composite Gets and sets the composite operation property for resolving the prope...
KeyframeEffectOptions - Web APIs
g) value but result in translateX(-200px) rotate(20deg). accumulate is similar but a little smarter: blur(2) and blur(5) become blur(7), not blur(2) blur(5). replace overwrites the previous value with the new one. iterationComposite Optional Determines how values build from iteration to iteration in this animation. Can be set to accumulate or replace (see above). Defaults to replace. pseudoElement Optional The selector of the pseudo-element to be targeted, if any. Defaults to null. delay Optional The number of milliseconds to delay the start of the animation. Defaults to 0. direction Optional Whether the animation runs forwards (normal), backwards (reverse), switches direction after each iteration (alternate), or runs backwards and switches direction after each iteration (alternat...
TransitionEvent - Web APIs
es Also inherits properties from its parent Event. TransitionEvent.propertyName Read only Is a DOMString containing the name CSS property associated with the transition. TransitionEvent.elapsedTime Read only Is a float giving the amount of time the transition has been running, in seconds, when this event fired. This value is not affected by the transition-delay property. TransitionEvent.pseudoElement Read only Is a DOMString, starting with ::, containing the name of the pseudo-element the animation runs on. If the transition doesn't run on a pseudo-element but on the element, an empty string: ''. Types of TransitionEvent transitioncancel An Event fired when a CSS transition has been cancelled. transitionend An Event fired when a CSS transition has finished playing. transitionrun A...
Web APIs
Web › API
BroadcastChannel BudgetService BudgetState BufferSource ByteLengthQueuingStrategy ByteString C CDATASection CSS CSSConditionRule CSSCounterStyleRule CSSGroupingRule CSSImageValue CSSKeyframeRule CSSKeyframesRule CSSKeywordValue CSSMathProduct CSSMathSum CSSMathValue CSSMediaRule CSSNamespaceRule CSSNumericValue CSSOMString CSSPageRule CSSPositionValue CSSPrimitiveValue CSSPseudoElement CSSRule CSSRuleList CSSStyleDeclaration CSSStyleRule CSSStyleSheet CSSStyleValue CSSSupportsRule CSSUnitValue CSSUnparsedValue CSSValue CSSValueList CSSVariableReferenceValue Cache CacheStorage CanvasCaptureMediaStreamTrack CanvasGradient CanvasImageSource CanvasPattern CanvasRenderingContext2D CaretPosition ChannelMergerNode ChannelSplitterNode CharacterData ChildNode Cli...