`context` is safe here; see the preceding `createDocument` and `createTextNode`.