In Opera, when an <input type="number"> has its value cleared while it's hidden, the value is restored to the previous value when it is shown again.

If the value is set to another number, insead of being cleared, the bug does not occur.