Why not using an html:select instead? I don't see what that wouldn't work and would avoid the ugly input hack.
Bug 1869442 Comment 1 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Why not using an html:select instead? I don't see why that wouldn't work and would avoid the ugly input hack.