Historically, the Apple Safari web browser has added an "intrinsic margin" to form controls which do not specify a `height`. It removed this margin following modification of the `height`. This non-standard behavior was identified as a source of confusion for web developers.

Summary

Harness status: OK

Found 8 tests

Details

ResultTest NameMessage
Passtext input element
Asserts run
Pass
assert_array_equals(["0px", "0px"], ["0px", "0px"])
    at Test.<anonymous> ( /css/cssom/cssstyledeclaration-setter-form-controls.html:38:3)
Passbutton input element
Asserts run
Pass
assert_array_equals(["0px", "0px"], ["0px", "0px"])
    at Test.<anonymous> ( /css/cssom/cssstyledeclaration-setter-form-controls.html:47:3)
Passsubmit input element
Asserts run
Pass
assert_array_equals(["0px", "0px"], ["0px", "0px"])
    at Test.<anonymous> ( /css/cssom/cssstyledeclaration-setter-form-controls.html:56:3)
Passradio input element
Asserts run
Pass
assert_array_equals(["3px", "0px"], ["3px", "0px"])
    at Test.<anonymous> ( /css/cssom/cssstyledeclaration-setter-form-controls.html:65:3)
Passcheckbox input element
Asserts run
Pass
assert_array_equals(["3px", "3px"], ["3px", "3px"])
    at Test.<anonymous> ( /css/cssom/cssstyledeclaration-setter-form-controls.html:74:3)
Passtextarea element
Asserts run
Pass
assert_array_equals(["0px", "0px"], ["0px", "0px"])
    at Test.<anonymous> ( /css/cssom/cssstyledeclaration-setter-form-controls.html:83:3)
Passselect element
Asserts run
Pass
assert_array_equals(["0px", "0px"], ["0px", "0px"])
    at Test.<anonymous> ( /css/cssom/cssstyledeclaration-setter-form-controls.html:92:3)
Passbutton element
Asserts run
Pass
assert_array_equals(["0px", "0px"], ["0px", "0px"])
    at Test.<anonymous> ( /css/cssom/cssstyledeclaration-setter-form-controls.html:101:3)