margin-valid.html

PASSExpected15 of 15 subtests pass724 ms

Details

Test
/css/css-box/parsing/margin-valid.html
Harness
OK

Subtests

StatusSubtestMessage
PASSe.style['margin'] = "10px" should set the property value
PASSe.style['margin'] = "20%" should set the property value
PASSe.style['margin'] = "calc(2em + 3ex)" should set the property value
PASSe.style['margin'] = "auto" should set the property value
PASSe.style['margin'] = "-10px" should set the property value
PASSe.style['margin'] = "-20%" should set the property value
PASSe.style['margin'] = "calc(2em + 3ex) auto" should set the property value
PASSe.style['margin'] = "auto calc(2em + 3ex) 20%" should set the property value
PASSe.style['margin'] = "10px 20% calc(2em + 3ex) auto" should set the property value
PASSe.style['margin-top'] = "10px" should set the property value
PASSe.style['margin-right'] = "20%" should set the property value
PASSe.style['margin-bottom'] = "calc(2em + 3ex)" should set the property value
PASSe.style['margin-left'] = "auto" should set the property value
PASSe.style['margin-top'] = "-10px" should set the property value
PASSe.style['margin-right'] = "-20%" should set the property value