зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1792964: Add hittesting test for tables, table rows, table cells r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D159524
This commit is contained in:
Родитель
32271e47f7
Коммит
afa76746a5
|
@ -78,6 +78,13 @@ async function runTests(browser, accDoc) {
|
|||
container2Input,
|
||||
container2Input
|
||||
);
|
||||
|
||||
info("hittesting table, row, cells -- rows are not in the layout tree");
|
||||
const table = findAccessibleChildByID(accDoc, "table");
|
||||
const row = findAccessibleChildByID(accDoc, "row");
|
||||
const cell1 = findAccessibleChildByID(accDoc, "cell1");
|
||||
|
||||
await hitTest(browser, table, row, cell1);
|
||||
}
|
||||
|
||||
addAccessibleTask(
|
||||
|
@ -106,6 +113,13 @@ addAccessibleTask(
|
|||
<div id="container2" style="width: 0px">
|
||||
<input id="container2_input">
|
||||
</div>
|
||||
|
||||
<table id="table" border>
|
||||
<tr id="row">
|
||||
<td id="cell1">hello</td>
|
||||
<td id="cell2">world</td>
|
||||
</tr>
|
||||
</table>
|
||||
`,
|
||||
runTests,
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче