blob: 992f2ef53c3ccd947b9fefdd53a1a5b42ebc4991 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
const PAGE = `
<!doctype html>
<select style="direction: rtl">
<option>ABC</option>
<option>DEFG</option>
</select>
`;
add_task(async function() {
const url = "data:text/html," + encodeURI(PAGE);
await BrowserTestUtils.withNewTab(
{
gBrowser,
url,
},
async function(browser) {
let popup = await openSelectPopup("click");
is(popup.style.direction, "rtl", "Should be the right dir");
}
);
});
|