gecko-dev/layout/reftests/forms/select/dynamic-text-indent-1.html
Boris Zbarsky fccccf142c Bug 1347411 part 5. Change stylo to correctly recompute style on the anonymous boxes that hang off comboboxes. r=heycam
I did manual testing for ::-moz-dropdown-list.  Unfortunately, the only way I
know to test it is to have a combobox in a non-e10s window and dynamically
change its background color, then drop down the dropdown and see whether it
picked up the changed background color.

MozReview-Commit-ID: B2RkW4otv4s
2017-03-15 14:00:43 -04:00

15 lines
326 B
HTML

<!DOCTYPE html>
<html class="reftest-wait">
<select>
<option selected>Text<option>
</select>
<script>
onload = function() {
var s = document.querySelector("select");
window.w = s.offsetWidth;
s.style.textIndent = "15px";
document.documentElement.className = "";
}
</script>
</html>