author | Anders Hartvoll Ruud <andruud@chromium.org> |
Thu, 11 Oct 2018 10:03:54 +0000 | |
changeset 441066 | 696aabb8f7015b1441e0fc03ed3ab8a7aff66216 |
parent 441065 | 3d1e70d63f789715ac2be51029d613c8581d186d |
child 441067 | 40e4e38aceb9741999de7b9728339fa47eef82f2 |
push id | 34842 |
push user | aciure@mozilla.com |
push date | Sat, 13 Oct 2018 09:36:47 +0000 |
treeherder | mozilla-central@94a62c1aad52 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | testonly |
bugs | 1497153, 13416, 641877, 1264575, 598243 |
milestone | 64.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
testing/web-platform/tests/css/css-properties-values-api/typedom.tentative.html | file | annotate | diff | comparison | revisions |
--- a/testing/web-platform/tests/css/css-properties-values-api/typedom.tentative.html +++ b/testing/web-platform/tests/css/css-properties-values-api/typedom.tentative.html @@ -589,9 +589,17 @@ test(function(){ // the properties have compatible syntaxes. assert_throws(new TypeError(), () => { target.attributeStyleMap.clear(); target.attributeStyleMap.set(prop1, value); }); } }, 'Direct CSSStyleValue instances are tied to their associated property'); +// StylePropertyMapReadOnly iteration + +test(function(){ + let name = gen_prop('<length>', '10px'); + let result = Array.from(target.computedStyleMap()).filter(e => e[0] == name)[0]; + assert_true(typeof(result) !== 'undefined'); +}, 'Registered property with initial value show up on iteration of computedStyleMap'); + </script>