Status: FAIL | Duration: 17ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-counter-styles/japanese-formal/counter-japanese-formal-extended.html
<!DOCTYPE html> <title>CSS Counter Styles: Longhand East Asian Counter Styles Extended Implementation (optional)</title> <link rel="help" href="https://drafts.csswg.org/css-counter-styles/#extended-range-optional"> <link rel="author" href="mailto:saku@email.sakupi01.com" title="saku"> <link rel="match" href="counter-japanese-formal-extended-ref.html"> <style> div::after { content: counter(n, japanese-formal); } </style> <!-- Extended range implementation tests (algorithm step 2: split into 4-digit groups) --> <!-- Test second group marker (萬) - ten-thousands group --> <div style="counter-reset: n 10000;"></div> <div style="counter-reset: n 20000;"></div> <div style="counter-reset: n 50000;"></div> <div style="counter-reset: n 99999;"></div> <!-- Test complex patterns within ten-thousands group (algorithm step 4: digit markers) --> <div style="counter-reset: n 12345;"></div> <div style="counter-reset: n 10001;"></div> <div style="counter-reset: n 10010;"></div> <div style="counter-reset: n 10100;"></div> <div style="counter-reset: n 11000;"></div> <!-- Test third group marker (億) - hundred-millions group --> <div style="counter-reset: n 100000000;"></div> <div style="counter-reset: n 200000000;"></div> <div style="counter-reset: n 500000000;"></div> <div style="counter-reset: n 999999999;"></div> <!-- Test complex patterns within hundred-millions group (algorithm step 6: zero dropping) --> <div style="counter-reset: n 123456789;"></div> <div style="counter-reset: n 100000001;"></div> <div style="counter-reset: n 100010000;"></div> <div style="counter-reset: n 100100000;"></div> <div style="counter-reset: n 101000000;"></div> <div style="counter-reset: n 110000000;"></div> <!-- Test fourth group marker (兆) - trillions group --> <div style="counter-reset: n 1000000000000;"></div> <div style="counter-reset: n 2000000000000;"></div> <div style="counter-reset: n 5000000000000;"></div> <div style="counter-reset: n 9999999999999;"></div> <!-- Test extended ranges (algorithm step 3: group markers up to 10^16) --> <!-- Test 10^13 range (ten-trillions) --> <div style="counter-reset: n 10000000000000;"></div> <div style="counter-reset: n 50000000000000;"></div> <div style="counter-reset: n 99999999999999;"></div> <!-- Test 10^15 range (hundred-trillions) --> <div style="counter-reset: n 100000000000000;"></div> <div style="counter-reset: n 500000000000000;"></div> <div style="counter-reset: n 999999999999999;"></div> <!-- Test complex patterns in trillions group (step 5: drop ones, step 6: drop zeros) --> <div style="counter-reset: n 1234567890123;"></div> <div style="counter-reset: n 1000000000001;"></div> <div style="counter-reset: n 1000000010000;"></div> <div style="counter-reset: n 1000001000000;"></div> <div style="counter-reset: n 1000100000000;"></div> <div style="counter-reset: n 1010000000000;"></div> <div style="counter-reset: n 1100000000000;"></div> <!-- Test interaction between multiple groups --> <div style="counter-reset: n 1001001001001;"></div> <div style="counter-reset: n 1010101010101;"></div> <div style="counter-reset: n 1000100010001;"></div> <div style="counter-reset: n 5005005005005;"></div> <!-- Test zero dropping behavior across different groups --> <div style="counter-reset: n 1000000000000;"></div> <div style="counter-reset: n 1000000000;"></div> <div style="counter-reset: n 1000000;"></div> <div style="counter-reset: n 1000;"></div> <div style="counter-reset: n 10000000000000;"></div> <div style="counter-reset: n 100000000000000;"></div> <!-- Test boundary values at the edge of range (-10^16+1 to 10^16-1) --> <div style="counter-reset: n 9999999999999999;"></div> <div style="counter-reset: n 1000000000000000;"></div> <!-- Test out-of-range values (should fallback to cjk-decimal) --> <div style="counter-reset: n 10000000000000000;"></div> <!-- Test negative numbers (algorithm step 8: negative sign handling) --> <div style="counter-reset: n -10000;"></div> <div style="counter-reset: n -100000000;"></div> <div style="counter-reset: n -1000000000000;"></div> <div style="counter-reset: n -9999999999999999;"></div> <div style="counter-reset: n -1;"></div>
/css/css-counter-styles/japanese-formal/counter-japanese-formal-extended-ref.html
<!DOCTYPE html> <!-- Extended range implementation tests (algorithm step 2: split into 4-digit groups) --> <!-- Test second group marker (萬) - ten-thousands group --> <div>壱萬</div> <div>弐萬</div> <div>伍萬</div> <div>九萬九阡九百九拾九</div> <!-- Test complex patterns within ten-thousands group (algorithm step 4: digit markers) --> <div>壱萬弐阡参百四拾伍</div> <div>壱萬壱</div> <div>壱萬壱拾</div> <div>壱萬壱百</div> <div>壱萬壱阡</div> <!-- Test third group marker (億) - hundred-millions group --> <div>壱億</div> <div>弐億</div> <div>伍億</div> <div>九億九阡九百九拾九萬九阡九百九拾九</div> <!-- Test complex patterns within hundred-millions group (algorithm step 6: zero dropping) --> <div>壱億弐阡参百四拾伍萬六阡七百八拾九</div> <div>壱億壱</div> <div>壱億壱萬</div> <div>壱億壱拾萬</div> <div>壱億壱百萬</div> <div>壱億壱阡萬</div> <!-- Test fourth group marker (兆) - trillions group --> <div>壱兆</div> <div>弐兆</div> <div>伍兆</div> <div>九兆九阡九百九拾九億九阡九百九拾九萬九阡九百九拾九</div> <!-- Test extended ranges (algorithm step 3: group markers up to 10^16) --> <!-- Test 10^13 range (ten-trillions) --> <div>壱拾兆</div> <div>伍拾兆</div> <div>九拾九兆九阡九百九拾九億九阡九百九拾九萬九阡九百九拾九</div> <!-- Test 10^15 range (hundred-trillions) --> <div>壱百兆</div> <div>伍百兆</div> <div>九百九拾九兆九阡九百九拾九億九阡九百九拾九萬九阡九百九拾九</div> <!-- Test complex patterns in trillions group (step 5: drop ones, step 6: drop zeros) --> <div>壱兆弐阡参百四拾伍億六阡七百八拾九萬壱百弐拾参</div> <div>壱兆壱</div> <div>壱兆壱萬</div> <div>壱兆壱百萬</div> <div>壱兆壱億</div> <div>壱兆壱百億</div> <div>壱兆壱阡億</div> <!-- Test interaction between multiple groups --> <div>壱兆壱拾億壱百萬壱阡壱</div> <div>壱兆壱百壱億壱百壱萬壱百壱</div> <div>壱兆壱億壱萬壱</div> <div>伍兆伍拾億伍百萬伍阡伍</div> <!-- Test zero dropping behavior across different groups --> <div>壱兆</div> <div>壱拾億</div> <div>壱百萬</div> <div>壱阡</div> <div>壱拾兆</div> <div>壱百兆</div> <!-- Test boundary values at the edge of range (-10^16+1 to 10^16-1) --> <div>九阡九百九拾九兆九阡九百九拾九億九阡九百九拾九萬九阡九百九拾九</div> <div>壱阡兆</div> <!-- Test out-of-range values (should fallback to cjk-decimal) --> <div>一〇〇〇〇〇〇〇〇〇〇〇〇〇〇〇〇</div> <!-- Test negative numbers (algorithm step 8: negative sign handling) --> <div>マイナス壱萬</div> <div>マイナス壱億</div> <div>マイナス壱兆</div> <div>マイナス九阡九百九拾九兆九阡九百九拾九億九阡九百九拾九萬九阡九百九拾九</div> <div>マイナス壱</div>