diff options
author | Gaming4JC <g4jc@hyperbola.info> | 2020-01-05 12:13:14 -0500 |
---|---|---|
committer | Gaming4JC <g4jc@hyperbola.info> | 2020-01-26 15:50:25 -0500 |
commit | bf004bb63bcc9e2ea5f9417461ecb3042b27a2fa (patch) | |
tree | 8ffe8d9d391a5c72e033085f4ad02cff3757ca9a /testing/web-platform/meta/custom-elements/attribute-changed-callback.html.ini | |
parent | 08fc057471e0f74a558de887e6f9ea9e19d42876 (diff) | |
download | UXP-bf004bb63bcc9e2ea5f9417461ecb3042b27a2fa.tar UXP-bf004bb63bcc9e2ea5f9417461ecb3042b27a2fa.tar.gz UXP-bf004bb63bcc9e2ea5f9417461ecb3042b27a2fa.tar.lz UXP-bf004bb63bcc9e2ea5f9417461ecb3042b27a2fa.tar.xz UXP-bf004bb63bcc9e2ea5f9417461ecb3042b27a2fa.zip |
Bug 1334051 - Part 2: Invoke attributeChangedCallback only if attribute name is in the observed attribute list.
We call attributeChangedCallback in two cases:
1. When any of the attributes in the observed attribute list has changed, appended, removed, or replaced.
2. When upgrading an element, for each attribute in element's attribute list that is in the observed attribute list.
Note: w/ Fixup for not implementing an API Enhancement Bug 1363481.
Tag UXP Issue #1344
Diffstat (limited to 'testing/web-platform/meta/custom-elements/attribute-changed-callback.html.ini')
-rw-r--r-- | testing/web-platform/meta/custom-elements/attribute-changed-callback.html.ini | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/testing/web-platform/meta/custom-elements/attribute-changed-callback.html.ini b/testing/web-platform/meta/custom-elements/attribute-changed-callback.html.ini index 10eea70b2..1b1bea6c9 100644 --- a/testing/web-platform/meta/custom-elements/attribute-changed-callback.html.ini +++ b/testing/web-platform/meta/custom-elements/attribute-changed-callback.html.ini @@ -12,21 +12,5 @@ [setAttributeNode and removeAttributeNS must enqueue and invoke attributeChangedCallback for an SVG attribute] expected: FAIL - [Mutating attributeChangedCallback after calling customElements.define must not affect the callback being invoked] - expected: FAIL - - [attributedChangedCallback must not be invoked when the observed attributes does not contain the attribute] - expected: FAIL - - [Mutating observedAttributes after calling customElements.define must not affect the set of attributes for which attributedChangedCallback is invoked] - expected: FAIL - - [attributedChangedCallback must be enqueued for attributes specified in a non-Array iterable observedAttributes] - expected: FAIL - [attributedChangedCallback must be enqueued for style attribute change by mutating inline style declaration] expected: FAIL - - [attributedChangedCallback must not be enqueued when mutating inline style declaration if the style attribute is not observed] - expected: FAIL - |