blob: be788697a0fc9f09152ea59fad2a63be5f03be44 [file] [log] [blame]
This is a testharness.js-based test.
Found 61 tests; 59 PASS, 2 FAIL, 0 TIMEOUT, 0 NOTRUN.
PASS Can set 'margin-top' to CSS-wide keywords
PASS Can set 'margin-top' to var() references
PASS Can set 'margin-top' to the 'auto' keyword
PASS Can set 'margin-top' to a percent
PASS Can set 'margin-top' to a length
PASS Setting 'margin-top' to a time throws TypeError
PASS Setting 'margin-top' to an angle throws TypeError
PASS Setting 'margin-top' to a flexible length throws TypeError
PASS Setting 'margin-top' to a number throws TypeError
PASS Setting 'margin-top' to a position throws TypeError
PASS Setting 'margin-top' to a URL throws TypeError
PASS Setting 'margin-top' to a transform throws TypeError
PASS Can set 'margin-left' to CSS-wide keywords
PASS Can set 'margin-left' to var() references
PASS Can set 'margin-left' to the 'auto' keyword
PASS Can set 'margin-left' to a percent
PASS Can set 'margin-left' to a length
PASS Setting 'margin-left' to a time throws TypeError
PASS Setting 'margin-left' to an angle throws TypeError
PASS Setting 'margin-left' to a flexible length throws TypeError
PASS Setting 'margin-left' to a number throws TypeError
PASS Setting 'margin-left' to a position throws TypeError
PASS Setting 'margin-left' to a URL throws TypeError
PASS Setting 'margin-left' to a transform throws TypeError
PASS Can set 'margin-right' to CSS-wide keywords
PASS Can set 'margin-right' to var() references
PASS Can set 'margin-right' to the 'auto' keyword
PASS Can set 'margin-right' to a percent
PASS Can set 'margin-right' to a length
PASS Setting 'margin-right' to a time throws TypeError
PASS Setting 'margin-right' to an angle throws TypeError
PASS Setting 'margin-right' to a flexible length throws TypeError
PASS Setting 'margin-right' to a number throws TypeError
PASS Setting 'margin-right' to a position throws TypeError
PASS Setting 'margin-right' to a URL throws TypeError
PASS Setting 'margin-right' to a transform throws TypeError
PASS Can set 'margin-bottom' to CSS-wide keywords
PASS Can set 'margin-bottom' to var() references
PASS Can set 'margin-bottom' to the 'auto' keyword
PASS Can set 'margin-bottom' to a percent
PASS Can set 'margin-bottom' to a length
PASS Setting 'margin-bottom' to a time throws TypeError
PASS Setting 'margin-bottom' to an angle throws TypeError
PASS Setting 'margin-bottom' to a flexible length throws TypeError
PASS Setting 'margin-bottom' to a number throws TypeError
PASS Setting 'margin-bottom' to a position throws TypeError
PASS Setting 'margin-bottom' to a URL throws TypeError
PASS Setting 'margin-bottom' to a transform throws TypeError
FAIL Can set 'margin' to CSS-wide keywords assert_equals: expected "CSSKeywordValue" but got "CSSStyleValue"
FAIL Can set 'margin' to var() references assert_equals: expected "CSSUnparsedValue" but got "CSSStyleValue"
PASS Setting 'margin' to a length throws TypeError
PASS Setting 'margin' to a percent throws TypeError
PASS Setting 'margin' to a time throws TypeError
PASS Setting 'margin' to an angle throws TypeError
PASS Setting 'margin' to a flexible length throws TypeError
PASS Setting 'margin' to a number throws TypeError
PASS Setting 'margin' to a position throws TypeError
PASS Setting 'margin' to a URL throws TypeError
PASS Setting 'margin' to a transform throws TypeError
PASS 'margin' does not supported '1px'
PASS 'margin' does not supported '1px 2px 3px 4px'
Harness: the test ran to completion.