diff --git a/files/en-us/web/api/ecdhkeyderiveparams/index.html b/files/en-us/web/api/ecdhkeyderiveparams/index.html index aec34a79d085550..85014501b1b7893 100644 --- a/files/en-us/web/api/ecdhkeyderiveparams/index.html +++ b/files/en-us/web/api/ecdhkeyderiveparams/index.html @@ -10,7 +10,7 @@ ---
The EcdhKeyDeriveParams
dictionary of the Web Crypto API represents the object that should be passed as the algorithm
parameter into {{domxref("SubtleCrypto.deriveKey()")}}, when using the ECDH algorithm.
The EcdhKeyDeriveParams
dictionary of the Web Crypto API represents the object that should be passed as the algorithm
parameter into {{domxref("SubtleCrypto.deriveKey()")}}, when using the ECDH algorithm.
ECDH enables two people who each have a key pair consisting of a public and a private key to derive a shared secret. They exchange public keys and use the combination of their private key and the other entity's public key to derive a secret key that they — and noone else — share.
diff --git a/files/en-us/web/api/ecdsaparams/index.html b/files/en-us/web/api/ecdsaparams/index.html index b2ad88685f0b8ab..dd2394402f825bc 100644 --- a/files/en-us/web/api/ecdsaparams/index.html +++ b/files/en-us/web/api/ecdsaparams/index.html @@ -10,7 +10,7 @@ ---The EcdsaParams
dictionary of the Web Crypto API represents the object that should be passed as the algorithm
parameter into {{domxref("SubtleCrypto.sign()")}} or {{domxref("SubtleCrypto.verify()")}} when using the ECDSA algorithm.
The EcdsaParams
dictionary of the Web Crypto API represents the object that should be passed as the algorithm
parameter into {{domxref("SubtleCrypto.sign()")}} or {{domxref("SubtleCrypto.verify()")}} when using the ECDSA algorithm.
hash
The EcKeyGenParams
dictionary of the Web Crypto API represents the object that should be passed as the algorithm
parameter into {{domxref("SubtleCrypto.generateKey()")}}, when generating any elliptic-curve-based key pair: that is, when the algorithm is identified as either of ECDSA or ECDH.
The EcKeyGenParams
dictionary of the Web Crypto API represents the object that should be passed as the algorithm
parameter into {{domxref("SubtleCrypto.generateKey()")}}, when generating any elliptic-curve-based key pair: that is, when the algorithm is identified as either of ECDSA or ECDH.
{{ APIRef("Web Crypto API") }}The EcKeyImportParams
dictionary of the Web Crypto API represents the object that should be passed as the algorithm
parameter into {{domxref("SubtleCrypto.importKey()")}} or {{domxref("SubtleCrypto.unwrapKey()")}}, when generating any elliptic-curve-based key pair: that is, when the algorithm is identified as either of ECDSA or ECDH.
{{ APIRef("Web Crypto API") }}The EcKeyImportParams
dictionary of the Web Crypto API represents the object that should be passed as the algorithm
parameter into {{domxref("SubtleCrypto.importKey()")}} or {{domxref("SubtleCrypto.unwrapKey()")}}, when generating any elliptic-curve-based key pair: that is, when the algorithm is identified as either of ECDSA or ECDH.
The blur
event fires when an element has lost focus. The main difference between this event and {{domxref("Element/focusout_event", "focusout")}} is that focusout
bubbles while blur
does not.
The blur
event fires when an element has lost focus. The main difference between this event and {{domxref("Element/focusout_event", "focusout")}} is that focusout
bubbles while blur
does not.
The opposite of blur
is {{domxref("Element/focus_event", "focus")}}.
The {{domxref("MouseEvent")}} object passed into the event handler for click
has its {{domxref("Event.detail", "detail")}} property set to the number of times the {{domxref("Event.target", "target")}} was clicked. In other words, detail
will be 2 for a double-click, 3 for triple-click, and so forth. This counter resets after a short interval without any clicks occurring; the specifics of how long that interval is may vary from browser to browser and across platforms. The interval is also likely to be affected by user preferences; for example, accessibility options may extend this interval to make it easier to perform multiple clicks with adaptive interfaces.
The {{domxref("MouseEvent")}} object passed into the event handler for click
has its {{domxref("UIEvent/detail", "detail")}} property set to the number of times the {{domxref("Event.target", "target")}} was clicked. In other words, detail
will be 2 for a double-click, 3 for triple-click, and so forth. This counter resets after a short interval without any clicks occurring; the specifics of how long that interval is may vary from browser to browser and across platforms. The interval is also likely to be affected by user preferences; for example, accessibility options may extend this interval to make it easier to perform multiple clicks with adaptive interfaces.
{{APIRef("CSS Typed Object Model API")}}{{SeeCompatTable}}
@@ -75,7 +75,7 @@In browsers
+ href="/en-US/docs/Web/API/Element/computedStyleMap#browser_compatibility">browsers
that support computedStyleMap()
, you'll see a list of all the CSS
properties and values. In other browsers you'll just see a link.
{{APIRef('Shadow DOM')}}{{non-standard_header}}{{deprecated_header}}{{draft}}
Use Element.createShadowRoot
to create an instance of shadow DOM. When shadow DOM is
+ href="/en-US/docs/Web/Web_Components/Using_shadow_DOM">shadow DOM. When shadow DOM is
created, it is always attached to an existing element. After the shadow DOM is created,
the element that it is attached to is called the {{glossary("shadow root")}}.
The focusout
event fires when an element is about to lose focus. The main difference between this event and {{domxref("Element/blur_event", "blur")}} is that focusout
bubbles while blur
does not.
The focusout
event fires when an element is about to lose focus. The main difference between this event and {{domxref("Element/blur_event", "blur")}} is that focusout
bubbles while blur
does not.
The opposite of focusout
is {{domxref("Element/focusin_event", "focusin")}}.
null
or ""
(the empty string); see Non-existing attributes for details.
+ href="#non-existing_attributes">Non-existing attributes for details.
When called on an HTML element in a DOM flagged as an HTML document, getAttributeNode
lower-cases its argument before proceeding.
The Attr
node inherits from Node
, but is not considered a part of the document tree. Common Node
attributes like parentNode, previousSibling, and nextSibling are null
for an Attr
node. You can, however, get the element to which the attribute belongs with the ownerElement
property.
The Attr
node inherits from Node
, but is not considered a part of the document tree. Common Node
attributes like parentNode, previousSibling, and nextSibling are null
for an Attr
node. You can, however, get the element to which the attribute belongs with the ownerElement
property.
getAttribute is usually used instead of getAttributeNode
to get the value of an element's attribute.
getAttribute is usually used instead of getAttributeNode
to get the value of an element's attribute.
{{ DOMAttributeMethods() }}
diff --git a/files/en-us/web/api/element/getattributenodens/index.html b/files/en-us/web/api/element/getattributenodens/index.html index 63044e3b13e6939..116fd8f5ed0f777 100644 --- a/files/en-us/web/api/element/getattributenodens/index.html +++ b/files/en-us/web/api/element/getattributenodens/index.html @@ -26,7 +26,7 @@getAttributeNodeNS
is more specific than getAttributeNode in that it allows you to specify attributes that are part of a particular namespace. The corresponding setter method is setAttributeNodeNS.
getAttributeNodeNS
is more specific than getAttributeNode in that it allows you to specify attributes that are part of a particular namespace. The corresponding setter method is setAttributeNodeNS.
{{ DOMAttributeMethods() }}
diff --git a/files/en-us/web/api/element/getattributens/index.html b/files/en-us/web/api/element/getattributens/index.html index 237c7793585c661..553ce6469cfe9fd 100644 --- a/files/en-us/web/api/element/getattributens/index.html +++ b/files/en-us/web/api/element/getattributens/index.html @@ -2,11 +2,11 @@ title: Element.getAttributeNS() slug: Web/API/Element/getAttributeNS tags: -- API -- DOM -- Element -- Method -- Reference + - API + - DOM + - Element + - Method + - Reference ---The
Element.getElementsByTagName()
method returns a live
{{domxref("HTMLCollection")}} of elements with the given tag name. All descendants of the
+ href="/en-US/docs/Web/API/Element/tagName">tag name. All descendants of the
specified element are searched, but not the element itself. The returned list is
live, which means it updates itself with the DOM tree automatically.
Therefore, there is no need to call Element.getElementsByTagName()
with
@@ -33,7 +33,7 @@
elements = element.getElementsByTagName(tagName)
+ class="brush: js">elements = element.getElementsByTagName(tagName)
elements
is a live {{domxref("HTMLCollection")}} of elements
diff --git a/files/en-us/web/api/element/index.html b/files/en-us/web/api/element/index.html
index e0d2f02a4ed8bf5..2bcd26521bfd5fb 100644
--- a/files/en-us/web/api/element/index.html
+++ b/files/en-us/web/api/element/index.html
@@ -52,7 +52,7 @@ null
if it is no namespace.
Note: In Firefox 3.5 and earlier, HTML elements are in no namespace. In later versions, HTML elements are in the http://www.w3.org/1999/xhtml
namespace in both HTML and XML trees. {{ gecko_minversion_inline("1.9.2")}}
Note: In Firefox 3.5 and earlier, HTML elements are in no namespace. In later versions, HTML elements are in the http://www.w3.org/1999/xhtml
namespace in both HTML and XML trees.
Listen to these events using addEventListener()
or by assigning an event listener to the oneventname
property of this interface.
The keypress
event is fired when a key that produces a character value is pressed down. Examples of keys that produce a character value are alphabetic, numeric, and punctuation keys. Examples of keys that don't produce a character value are modifier keys such as Alt, Shift, Ctrl, or Meta.
Since this event has been deprecated, you should look to use beforeinput
or keydown
instead.
Since this event has been deprecated, you should look to use beforeinput
or keydown
instead.