blob: c30881e6edbf00cb1c73c371d3f8d4221920712f [file] [log] [blame]
This tests checks that the 'text' keyword is parsed correctly in the 'background-clip' and '-webkit-background-clip' properties, and that 'background-clip' is parsed correctly in the 'background' shorthand.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS test("background-clip: content-box", "background-clip") is "content-box"
PASS test("background-clip: padding-box", "background-clip") is "padding-box"
PASS test("background-clip: border-box", "background-clip") is "border-box"
PASS test("background-clip: text", "background-clip") is ""
PASS test("background-clip: text", "-webkit-background-clip") is ""
PASS test("-webkit-background-clip: text", "background-clip") is "text"
PASS test("-webkit-background-clip: text", "-webkit-background-clip") is "text"
PASS test("background: url() padding-box", "-webkit-background-clip") is "padding-box"
PASS test("-webkit-mask: url() ", "background-clip") is ""
PASS test("background: url() ", "background-clip") is "initial"
PASS test("background: url() padding-box", "background-clip") is "padding-box"
PASS test("background: url() padding-box border-box", "background-clip") is "border-box"
PASS test("background: repeat content-box border-box url() ", "background-clip") is "border-box"
PASS test("background: padding-box blue content-box url() repeat scroll ", "background-clip") is "content-box"
PASS successfullyParsed is true
TEST COMPLETE