mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55:07 +02:00
This change imports the remaining HTML-AAM tests from WPT that haven’t yet been imported in any previous PRs — giving us complete in-tree regression-testing coverage for all available WPT tests for the requirements in the HTML-AAM spec.
30 lines
887 B
HTML
30 lines
887 B
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<title>HTMLOptGroupElement Role Verification Tests</title>
|
|
<script src="../../resources/testharness.js"></script>
|
|
<script src="../../resources/testharnessreport.js"></script>
|
|
<script src="../../resources/testdriver.js"></script>
|
|
<script src="../../resources/testdriver-vendor.js"></script>
|
|
<script src="../../resources/testdriver-actions.js"></script>
|
|
<script src="../../wai-aria/scripts/aria-utils.js"></script>
|
|
</head>
|
|
<body>
|
|
|
|
<select>
|
|
<optgroup label="x" data-testname="el-optgroup" data-expectedrole="group" class="ex">
|
|
<option>x1</option>
|
|
<option>x2</option>
|
|
</optgroup>
|
|
<optgroup data-testname="el-optgroup-no-label" data-expectedrole="not defined in spec?" class="ex-todo">
|
|
<option>y1</option>
|
|
<option>y2</option>
|
|
</optgroup>
|
|
</select>
|
|
|
|
<script>
|
|
AriaUtils.verifyRolesBySelector(".ex");
|
|
</script>
|
|
|
|
</body>
|
|
</html> |