[cssom] Use more specific return type for ownerNode and make it nullable.