<!DOCTYPE html> | |
<style> | |
#search1::-webkit-search-cancel-button { | |
border: 10px solid lime; | |
padding: 10px; | |
} | |
#search1::-webkit-search-decoration { | |
border: 10px solid lime; | |
padding: 10px; | |
} | |
</style> | |
<body> | |
<script src="../../../resources/js-test.js"></script> | |
<input type="search" id="search1"> | |
<input type="search" id="search2"> | |
<script> | |
shouldBe('document.getElementById("search1").offsetWidth', 'document.getElementById("search2").offsetWidth'); | |
</script> | |
</body> |