Fixed critical `srcset` parsing bug, added more tests.