Fix #14150: revert to ownerDocument.defaultView.getComputedStyle. Close gh-1311.