check(document.querySelectorAll('#test')[0],{'font-weight':'100'},0);
check(document.querySelectorAll('#test')[0],{'font-weight':'100'},0.3);
check(document.querySelectorAll('#test')[0],{'font-weight':'100'},0.6);
check(document.querySelectorAll('#test')[0],{'font-weight':'100'},0.8999999999999999);
check(document.querySelectorAll('#test')[0],{'font-weight':'300'},1.2);
check(document.querySelectorAll('#test')[0],{'font-weight':'500'},1.5);
check(document.querySelectorAll('#test')[0],{'font-weight':'bold'},1.8);
check(document.querySelectorAll('#test')[0],{'font-weight':'900'},2.1);