https://github.com/web-platform-tests/wpt
Raw File
Tip revision: caabb339c4b96dfc4a9e42a40c118e5df7ccd070 authored by Tarun Bansal on 07 May 2018, 19:22:03 UTC
Add client hints headers as CORS safe headers
Tip revision: caabb33
Attr.html
<!DOCTYPE html>
<html>
<head>
<title>Custom Elements: CEReactions on Attr interface</title>
<meta name="author" title="Ryosuke Niwa" href="mailto:rniwa@webkit.org">
<meta name="assert" content="value of Attr interface must have CEReactions">
<meta name="help" content="https://dom.spec.whatwg.org/#node">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../resources/custom-elements-helpers.js"></script>
<script src="./resources/reactions.js"></script>
</head>
<body>
<div id="log"></div>
<script>

testAttributeMutator(function (element, name, value) {
    element.attributes[name].value = value;
}, 'value on Attr');

</script>
</body>
</html>
back to top