When an optgroup element became 'enabled' or not-'enabled', distribution should happen.

Since an optgroup element does not create a renderer, we cannot check this using reftest.

optgroup 1 optgroup 2
optgroup 3 optgroup 4