feat: implement ARIA string reflection on Element (#32080)

* feat: implement ARIA string reflection

* Update components/script/dom/element.rs

Co-authored-by: Martin Robinson <mrobinson@igalia.com>

* fix: respond to PR comments

* fix: make functions non-public

* fix: use proper ARIAMixin mixin

* fix: tidy issues

* fix: double newline at end of file

* fix: move role before aria-* to match spec order

* fix: fix link to spec and format as spec does

* fix: delete now-passing WPT tests

* fix: remove legacy-layout test

---------

Co-authored-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
Nolan Lawson 2024-04-27 09:31:32 -07:00 committed by GitHub
parent 66563ed027
commit 02b3dd0b61
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 433 additions and 708 deletions

View file

@ -1,126 +0,0 @@
[aria-attribute-reflection.html]
[role attribute reflects.]
expected: FAIL
[aria-atomic attribute reflects.]
expected: FAIL
[aria-autocomplete attribute reflects.]
expected: FAIL
[aria-busy attribute reflects.]
expected: FAIL
[aria-checked attribute reflects.]
expected: FAIL
[aria-colcount attribute reflects.]
expected: FAIL
[aria-colindex attribute reflects.]
expected: FAIL
[aria-colspan attribute reflects.]
expected: FAIL
[aria-current attribute reflects.]
expected: FAIL
[aria-description attribute reflects.]
expected: FAIL
[aria-disabled attribute reflects.]
expected: FAIL
[aria-expanded attribute reflects.]
expected: FAIL
[aria-haspopup attribute reflects.]
expected: FAIL
[aria-hidden attribute reflects.]
expected: FAIL
[aria-invalid attribute reflects.]
expected: FAIL
[aria-keyshortcuts attribute reflects.]
expected: FAIL
[aria-label attribute reflects.]
expected: FAIL
[aria-level attribute reflects.]
expected: FAIL
[aria-live attribute reflects.]
expected: FAIL
[aria-modal attribute reflects.]
expected: FAIL
[aria-multiline attribute reflects.]
expected: FAIL
[aria-multiselectable attribute reflects.]
expected: FAIL
[aria-orientation attribute reflects.]
expected: FAIL
[aria-placeholder attribute reflects.]
expected: FAIL
[aria-posinset attribute reflects.]
expected: FAIL
[aria-pressed attribute reflects.]
expected: FAIL
[aria-readonly attribute reflects.]
expected: FAIL
[aria-relevant attribute reflects.]
expected: FAIL
[aria-required attribute reflects.]
expected: FAIL
[aria-roledescription attribute reflects.]
expected: FAIL
[aria-rowcount attribute reflects.]
expected: FAIL
[aria-rowindex attribute reflects.]
expected: FAIL
[aria-rowspan attribute reflects.]
expected: FAIL
[aria-selected attribute reflects.]
expected: FAIL
[aria-setsize attribute reflects.]
expected: FAIL
[aria-sort attribute reflects.]
expected: FAIL
[aria-valuemax attribute reflects.]
expected: FAIL
[aria-valuemin attribute reflects.]
expected: FAIL
[aria-valuenow attribute reflects.]
expected: FAIL
[aria-valuetext attribute reflects.]
expected: FAIL
[aria-braillelabel attribute reflects.]
expected: FAIL
[aria-brailleroledescription attribute reflects.]
expected: FAIL