Backed out changeset 09cb174a237e (bug 1791049) for failing test_user_select.html on a CLOSED TREE

This commit is contained in:
Andreea Pavel 2022-09-20 12:59:40 +03:00
parent bff1f333c7
commit 56e3c600fd
2 changed files with 14 additions and 5 deletions

View File

@ -924,6 +924,7 @@ support-files = file_title.xhtml
support-files = file_toScreenRect.html
[test_treewalker_nextsibling.xml]
[test_user_select.html]
skip-if = os == "android" # Bug 1791049
[test_viewport_metrics_on_landscape_content.html]
support-files =
file_viewport_metrics_on_landscape_content.html

View File

@ -1,10 +1,12 @@
<!DOCTYPE>
<html>
<head>
<title>user-select selection tests</title>
<script src="/tests/SimpleTest/SimpleTest.js"></script>
<script src="/tests/SimpleTest/EventUtils.js"></script>
<link rel="stylesheet" href="/tests/SimpleTest/test.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
<script src="/tests/SimpleTest/SimpleTest.js"></script>
<script src="/tests/SimpleTest/EventUtils.js"></script>
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
<style type="text/css">
@font-face {
font-family: Ahem;
src: url("Ahem.ttf");
@ -15,6 +17,10 @@ n { display: none; }
a { position:absolute; bottom: 0; right:0; }
.text { user-select: text; }
</style>
</head>
<body>
<div id="test1">aaaaaaa<s>bbbbbbbb</s>ccccccc</div>
<div id="test2"><s>aaaaaaa</s>bbbbbbbbccccccc</div>
<div id="test3">aaaaaaabbbbbbbb<s>ccccccc</s></div>
@ -347,3 +353,5 @@ window.onload = function() {
SimpleTest.waitForExplicitFinish();
</script>
</pre>
</body>
</html>