Source code

Revision control

Copy as Markdown

Other Tools

Test Info: Warnings

<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>MozRadio Tests</title>
<link rel="stylesheet" href="chrome://global/skin/in-content/common.css">
<link rel="stylesheet" href="chrome://mochikit/content/tests/SimpleTest/test.css"/>
<script src="input-test-helpers.js"></script>
<script>
let testHelpers = new InputTestHelpers();
add_setup(async function setup() {
let { html } = await testHelpers.setupLit();
let templateFn = (attrs, children) => html`
<moz-radio-group name="test-name" label="Radio group label">
<moz-radio ${attrs}>${children}</moz-radio>
</moz-radio-group>
`;
await testHelpers.setupInputTests({ templateFn });
testHelpers.checkable = true;
});
add_task(async function testMozRadioProperties() {
await testHelpers.testCommonInputProperties("moz-radio");
});
</script>
</head>
<body>
</body>
</html>