haikuwebkit/LayoutTests/fast/selectors/lang-equal-ignoring-ascii-c...

28 lines
1.2 KiB
Plaintext
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Verify :lang()'s equal ignoring ascii case
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS document.querySelector(':lang(Aà)') is document.getElementById('a')
PASS document.querySelector(':lang(aÀ)') is null
PASS document.querySelector(':lang(AÀ)') is null
PASS document.querySelector(':lang(Cč)') is document.getElementById('c')
PASS document.querySelector(':lang(cČ)') is null
PASS document.querySelector(':lang(CČ)') is null
PASS document.querySelector(':lang(eê)') is document.getElementById('e')
PASS document.querySelector(':lang(eÊ)') is null
PASS document.querySelector(':lang(EÊ)') is null
PASS document.querySelector(':lang(Iį)') is document.getElementById('i')
PASS document.querySelector(':lang(iÄ®)') is null
PASS document.querySelector(':lang(IÄ®)') is null
PASS document.querySelector(':lang(uû)') is document.getElementById('u')
PASS document.querySelector(':lang(uÃ)') is null
PASS document.querySelector(':lang(UÃ)') is null
PASS document.querySelector(':lang(oø)') is document.getElementById('o')
PASS document.querySelector(':lang(oØ)') is null
PASS document.querySelector(':lang(OØ)') is null
PASS successfullyParsed is true
TEST COMPLETE