]> source.dussan.org Git - jquery-ui.git/commit
Tests: Workaround IE issues in qunit-assert-domequal
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>
Wed, 10 May 2023 12:46:30 +0000 (14:46 +0200)
committerMichał Gołębiowski-Owczarek <m.goleb@gmail.com>
Wed, 10 May 2023 15:34:14 +0000 (17:34 +0200)
commitba249efb6bee192d978a2f66eee4c717041f15fd
treecbcd0580373aa1e6577c45ae6072c3faffaf11fc
parent613b522e9a39e952823f205d347993b8fc8b350a
Tests: Workaround IE issues in qunit-assert-domequal

In IE, `option` elements may have different initial `option` colors.
They may initially all be transparent, but later the selected
option gets a blue background with white text; we now ignore it.

The logic of `qunit-assert-domequal` was also fixed to use the same
method of fetching styles in all browsers; IE used to get a legacy
one meant for IE <9 due to a mistake in the performed check.
tests/lib/qunit-assert-domequal.js