зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1577530 - Remove the test since some themes seem to do weird stuff when padding is specified, and this is covered once non-native-theme is enabled.
MANUAL PUSH: Remove just-introduced orange test CLOSED TREE
This commit is contained in:
Родитель
86901e12e4
Коммит
1a2cd6ace4
|
@ -1,18 +0,0 @@
|
||||||
<!doctype html>
|
|
||||||
<title>CSS Test Reference</title>
|
|
||||||
<style>
|
|
||||||
input {
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
width: 100px;
|
|
||||||
font-size: 16px;
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
<input value="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx">
|
|
||||||
<script>
|
|
||||||
let input = document.querySelector("input");
|
|
||||||
input.style.display = "revert";
|
|
||||||
let computed = getComputedStyle(input);
|
|
||||||
for (let prop of ["padding-top", "padding-right", "padding-bottom", "padding-left"])
|
|
||||||
input.style[prop] = computed[prop];
|
|
||||||
</script>
|
|
|
@ -1,15 +0,0 @@
|
||||||
<!doctype html>
|
|
||||||
<title>text-overflow: ellipsis on an input should look the same with and without specified padding</title>
|
|
||||||
<link rel="help" href="https://drafts.csswg.org/css-overflow/#block-ellipsis">
|
|
||||||
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1577530">
|
|
||||||
<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
|
|
||||||
<link rel="author" href="https://mozilla.org" title="Mozilla">
|
|
||||||
<link rel="match" href="text-overflow-ellipsis-input-ref.html">
|
|
||||||
<style>
|
|
||||||
input {
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
width: 100px;
|
|
||||||
font-size: 16px;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
<input value="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx">
|
|
Загрузка…
Ссылка в новой задаче