blob: ddb793d18f702764917fb466613a8a7625540db6 [file] [log] [blame]
This is a testharness.js-based test.
PASS features "screenx=/104" should NOT set "left=104"
PASS features "screenx=_104" should NOT set "left=104"
PASS features "screenx=L104" should NOT set "left=104"
FAIL features "screenx=105.5" should set "left=105" assert_equals: "width=401,height=204,top=0,screenx=105.5 value after first non-digit will be ignored" expected 105 but got 0
FAIL features "screenx=105.32" should set "left=105" assert_equals: "width=401,height=204,top=0,screenx=105.32 value after first non-digit will be ignored" expected 105 but got 0
FAIL features "screenx=105LLl" should set "left=105" assert_equals: "width=401,height=204,top=0,screenx=105LLl value after first non-digit will be ignored" expected 105 but got 0
FAIL features "screenx=105^4" should set "left=105" assert_equals: "width=401,height=204,top=0,screenx=105^4 value after first non-digit will be ignored" expected 105 but got 0
FAIL features "screenx=105*3" should set "left=105" assert_equals: "width=401,height=204,top=0,screenx=105*3 value after first non-digit will be ignored" expected 105 but got 0
FAIL features "screenx=105/5" should set "left=105" assert_equals: "width=401,height=204,top=0,screenx=105/5 value after first non-digit will be ignored" expected 105 but got 0
FAIL features "screenx=105 " should set "left=105" assert_equals: "width=401,height=204,top=0,screenx=105 value after first non-digit will be ignored" expected 105 but got 0
FAIL features "screenx=105e1" should set "left=105" assert_equals: "width=401,height=204,top=0,screenx=105e1 value after first non-digit will be ignored" expected 105 but got 0
FAIL features "screenx=105e-1" should set "left=105" assert_equals: "width=401,height=204,top=0,screenx=105e-1 value after first non-digit will be ignored" expected 105 but got 0
Harness: the test ran to completion.