blob: 08f701dc700b595dfa5dbc11dd6b24eeec7bcb17 [file] [log] [blame]
Tests that border shorthands are computed properly.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS computedStyle.getPropertyValue('border-bottom') is '10px solid rgb(255, 0, 0)'
PASS computedStyle.getPropertyValue('border-bottom') is '320px solid rgb(0, 0, 255)'
PASS computedStyle.getPropertyValue('border-bottom') is '0px none rgb(0, 128, 0)'
PASS computedStyle.getPropertyValue('border-top') is '10px solid rgb(255, 0, 0)'
PASS computedStyle.getPropertyValue('border-top') is '320px solid rgb(0, 0, 255)'
PASS computedStyle.getPropertyValue('border-top') is '0px none rgb(0, 128, 0)'
PASS computedStyle.getPropertyValue('border-right') is '10px solid rgb(255, 0, 0)'
PASS computedStyle.getPropertyValue('border-right') is '320px solid rgb(0, 0, 255)'
PASS computedStyle.getPropertyValue('border-right') is '0px none rgb(0, 128, 0)'
PASS computedStyle.getPropertyValue('border-left') is '10px solid rgb(255, 0, 0)'
PASS computedStyle.getPropertyValue('border-left') is '320px solid rgb(0, 0, 255)'
PASS computedStyle.getPropertyValue('border-left') is '0px none rgb(0, 128, 0)'
PASS computedStyle.getPropertyValue('border') is '320px solid rgb(255, 0, 0)'
PASS computedStyle.getPropertyValue('border') is ''
PASS successfullyParsed is true
TEST COMPLETE