зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1621319
- fix test_bug365410.html with non-native theme enabled. r=mstange
Our <select multiple> has enough padding so that both sides take more space that one list item, and since this test sets the height explicitly and <select> has box-sizing: border-box by default, page-up / page-down steps through one less item than what the test expects. I think this is a test bug, but let me know if you want some bug on file to consider reducing this padding for non-native theme. Differential Revision: https://phabricator.services.mozilla.com/D66239 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
76ae1d169f
Коммит
e882c88b18
|
@ -3,12 +3,13 @@
|
|||
<!--
|
||||
https://bugzilla.mozilla.org/show_bug.cgi?id=365410
|
||||
-->
|
||||
<head>
|
||||
<title>Test for Bug 365410</title>
|
||||
<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"/>
|
||||
</head>
|
||||
<title>Test for Bug 365410</title>
|
||||
<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>
|
||||
select { box-sizing: content-box }
|
||||
</style>
|
||||
<body>
|
||||
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=365410">Mozilla Bug 365410</a>
|
||||
<p id="display">
|
||||
|
|
Загрузка…
Ссылка в новой задаче