Fix #14150: revert to ownerDocument.defaultView.getComputedStyle. Close gh-1311. (cherry-picked from 3e3680c2cdc524ee9194ef27fdce318cf301144c)