diff --git a/tests/wpt/toascii.json b/tests/wpt/toascii.json index bca28b4a1..d02c4c7e8 100644 --- a/tests/wpt/toascii.json +++ b/tests/wpt/toascii.json @@ -172,5 +172,31 @@ { "input": "≯", "output": "xn--hdh" + }, + { + "comment": "NFC normalization (forbidden < and > characters are normalized to valid ones)", + "input": "=\u0338", + "output": "xn--1ch" + }, + { + "input": "<\u0338", + "output": "xn--gdh" + }, + { + "input": ">\u0338", + "output": "xn--hdh" + }, + { + "comment": "Same with inserted IDNA ignored code point", + "input": "=\u00AD\u0338", + "output": "xn--1ch" + }, + { + "input": "<\u00AD\u0338", + "output": "xn--gdh" + }, + { + "input": ">\u00AD\u0338", + "output": "xn--hdh" } ]