<!DOCTYPE html><html><head><title>CSS Backgrounds and Borders Test: background shorthand - two <box> values</title><linkrel="author"title="Intel"href="http://www.intel.com"/><linkrel="help"href="http://www.w3.org/TR/css3-background/#the-background"/><metaname="flags"content="dom"/><metaname="assert"content="Check if two <box> values are present, then the first sets 'background-origin' and the second 'background-clip'"/><style>#test{background:border-boxpadding-box;}</style><scriptsrc="/resources/testharness.js"></script><scriptsrc="/resources/testharnessreport.js"></script></head><body><divid="log"></div><divid="test"></div><script>varcs=getComputedStyle(document.getElementById("test"),null);test(function(){assert_equals(cs.getPropertyValue("background-origin"),"border-box","background specified value for background-origin");},"background_specified_box_two_origin");test(function(){assert_equals(cs.getPropertyValue("background-clip"),"padding-box","background specified value for background-clip");},"background_specified_box_two_clip");</script></body></html>