summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/speech/intrinsic-input-width-with-speech-border-padding.html
blob: b715013c49d236b569841189930bbbde8b46beaa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE html>
<style>
input::-webkit-input-speech-button {
    border: 10px solid lime;
    padding: 10px;
}
</style>
<body>
<script src="../js/resources/js-test-pre.js"></script>

<input id="input1">
<input x-webkit-speech id="speechInput1">
<script>
shouldBe('document.getElementById("speechInput1").offsetWidth', 'document.getElementById("input1").offsetWidth');
</script>

</body>