normalization during transcoding
The text on the green background indicates the result.
The stylesheet was normalized to NFC.
The stylesheet was normalized to NFD.
No normalization took place.
Assertion: [Exploratory test] Text is not normalized during transcoding when the style sheet is in another encoding.
The imported style sheet is saved as Windows 1258 (Vietnamese code page). The selector contains the equivalent in that code page of U+00EA LATIN SMALL LETTER E WITH CIRCUMFLEX followed by U+0300 COMBINING GRAVE ACCENT. Under NFC, these merge. Under NFD, the first decomposes. If there is no green background, something has gone wrong.