ValidationTextBox#pattern changes should update state

Fixes #17408.
Do not copy properties indiscriminately from `constraints`

Fixes #17250.
Fix dijit Editor in cross-domain pages with document.domain set

Fixes #17529.