css/css-backgrounds/parsing/
920 / 933 WPT subtests passing
- Failed
- 13
- Timed out
- 0
- Not run
- 0
- Test files
- 74
- Blocking files
- 0
Chrome 817 / 933 WPT subtests passing on the same files, none blocking
Tests
74 test files hereEach test file opens in place to its subtests, and each subtest that did not pass to its message.
Test fileSubtests passingChromeFailedStanding
background-attachment-computed.html 5 / 5 passingChrome 2 / 50 failedClean
5 passing subtests
- Property background-attachment value 'fixed'
- Property background-attachment value 'scroll, fixed, local'
- Property background-attachment value 'scroll' multiple base values
- Property background-attachment value 'scroll, fixed' multiple base values
- Property background-attachment value 'scroll, fixed, local' multiple base values
background-attachment-invalid.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- e.style['background-attachment'] = "auto" should not set the property value
- e.style['background-attachment'] = "local, none" should not set the property value
background-attachment-valid.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- e.style['background-attachment'] = "fixed" should set the property value
- e.style['background-attachment'] = "scroll, fixed, local, fixed, scroll" should set the property value
background-clip-computed.html 11 / 11 passingChrome 8 / 110 failedClean
11 passing subtests
- Property background-clip value 'border-box'
- Property background-clip value 'padding-box'
- Property background-clip value 'content-box'
- Property background-clip value 'border-area'
- Property background-clip value 'border-box, padding-box, content-box, border-area'
- Property background-clip value 'text'
- Property background-clip value 'border-area text'
- Property background-clip value 'text border-area'
- Property background-clip value 'border-box' multiple base values
- Property background-clip value 'border-box, padding-box' multiple base values
- Property background-clip value 'border-box, padding-box, content-box' multiple base values
background-clip-invalid.html 5 / 5 passingChrome 5 / 50 failedClean
5 passing subtests
- e.style['background-clip'] = "fill-box" should not set the property value
- e.style['background-clip'] = "margin-box" should not set the property value
- e.style['background-clip'] = "stroke-box" should not set the property value
- e.style['background-clip'] = "view-box" should not set the property value
- e.style['background-clip'] = "border" should not set the property value
background-clip-valid.html 9 / 9 passingChrome 9 / 90 failedClean
9 passing subtests
- e.style['background-clip'] = "border-box" should set the property value
- e.style['background-clip'] = "padding-box" should set the property value
- e.style['background-clip'] = "content-box" should set the property value
- e.style['background-clip'] = "border-area" should set the property value
- e.style['background-clip'] = "text" should set the property value
- e.style['background-clip'] = "border-area text" should set the property value
- e.style['background-clip'] = "text border-area" should set the property value
- e.style['background-clip'] = "border-box, padding-box, content-box, border-area" should set the property value
- e.style['background-clip'] = "border-area text, content-box" should set the property value
background-color-computed.html 7 / 7 passingChrome 7 / 70 failedClean
7 passing subtests
- Property background-color value 'currentcolor'
- Property background-color value 'red'
- Property background-color value '#00FF00'
- Property background-color value 'rgb(0, 0, 255)'
- Property background-color value 'rgb(100%, 100%, 0%)'
- Property background-color value 'hsl(120, 100%, 50%)'
- Property background-color value 'transparent'
background-color-invalid.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- e.style['background-color'] = "none" should not set the property value
- e.style['background-color'] = "black white" should not set the property value
- e.style['background-color'] = "black, white" should not set the property value
background-color-valid.html 9 / 9 passingChrome 9 / 90 failedClean
9 passing subtests
- e.style['background-color'] = "currentcolor" should set the property value
- e.style['background-color'] = "currentColor" should set the property value
- e.style['background-color'] = "red" should set the property value
- e.style['background-color'] = "#00FF00" should set the property value
- e.style['background-color'] = "rgb(0, 0, 255)" should set the property value
- e.style['background-color'] = "rgb(100%, 100%, 0%)" should set the property value
- e.style['background-color'] = "hsl(120, 100%, 50%)" should set the property value
- e.style['background-color'] = "teal" should set the property value
- e.style['background-color'] = "transparent" should set the property value
background-computed.html 37 / 39 passingChrome 13 / 392 failedWith failures
- ¶
FAILProperty background-size value 'contain'
assert_equals: expected "contain" but got "contain, contain, contain"
- ¶
FAILProperty background-size value 'auto 1px, 2% 3%'
assert_equals: expected "auto 1px, 2% 3%" but got "auto 1px, 2% 3%, auto 1px"
37 passing subtests
- Property background-attachment value 'local'
- Property background-attachment value 'scroll, fixed'
- Property background-attachment value 'local, fixed, scroll'
- Property background-attachment value 'local, fixed, scroll, fixed'
- Property background-clip value 'border-box'
- Property background-clip value 'content-box, border-box'
- Property background-clip value 'border-box, padding-box, content-box'
- Property background-clip value 'content-box, border-box, padding-box, content-box'
- Property background-clip value 'content-box, border-box, padding-box'
- Property background-clip value 'content-box, border-box, border-area'
- Property background-clip value 'border-area text'
- Property background-clip value 'border-area text, content-box'
- Property background-color value 'rgb(255, 0, 0)'
- Property background-origin value 'border-box'
- Property background-origin value 'content-box, border-box'
- Property background-origin value 'border-box, padding-box, content-box'
- Property background-origin value 'content-box, border-box, padding-box, content-box'
- Property background-position value '50% 6px'
- Property background-position value '12px 13px, 50% 6px'
- Property background-position value '12px 13px, 50% 6px, 30px -10px'
- Property background-position value '12px 13px, 50% 6px, 30px -10px, -7px 8px'
- Property background-position-x value '0.5em'
- Property background-position-x value '-20%, 10px'
- Property background-position-x value 'center, left, right'
- Property background-position-x value 'calc(10px - 0.5em), -20%, right, 15%'
- Property background-position-y value '0.5em'
- Property background-position-y value '-20%, 10px'
- Property background-position-y value 'center, top, bottom'
- Property background-position-y value 'calc(10px - 0.5em), -20%, bottom, 15%'
- Property background-repeat value 'round'
- Property background-repeat value 'repeat-x, repeat'
- Property background-repeat value 'repeat space, round no-repeat, repeat-x'
- Property background-repeat value 'repeat-y, round no-repeat, repeat-x, repeat'
- Property background-size value 'auto 1px, 2% 3%, contain'
- Property background-size value 'auto 1px, 2% 3%, contain, 7px 8px'
- background shorthand with 'border-area text' computes background-clip correctly
- background shorthand with 'text border-area' computes background-clip correctly
background-image-computed.sub.html 48 / 48 passingChrome 48 / 480 failedClean
48 passing subtests
- Property background-image value 'none'
- Property background-image value 'url("http://web-platform.test/")'
- Property background-image value 'none, url("http://web-platform.test/")'
- Property background-image value 'linear-gradient(to left bottom, red, blue)'
- Property background-image value 'radial-gradient(rgb(255, 0, 0), rgb(0, 0, 255))'
- Property background-image value 'radial-gradient(at center, red, blue)'
- Property background-image value 'radial-gradient(at 50%, red, blue)'
- Property background-image value 'radial-gradient(at 10px 10px, rgb(255, 0, 0), rgb(0, 0, 255))'
- Property background-image value 'radial-gradient(farthest-side, rgb(255, 0, 0), rgb(0, 0, 255))'
- Property background-image value 'radial-gradient(farthest-side at 10px 10px, rgb(255, 0, 0), rgb(0, 0, 255))'
- Property background-image value 'radial-gradient(farthest-corner, red, blue)'
- Property background-image value 'radial-gradient(farthest-corner at center, red, blue)'
- Property background-image value 'radial-gradient(farthest-corner at 50%, red, blue)'
- Property background-image value 'radial-gradient(farthest-corner at 10px 10px, red, blue)'
- Property background-image value 'radial-gradient(10px at 20px 30px, rgb(255, 0, 0), rgb(0, 0, 255))'
- Property background-image value 'radial-gradient(circle calc(-0.5em + 10px) at calc(-1em + 10px) calc(-2em + 10px), red, blue)'
- Property background-image value 'radial-gradient(ellipse calc(-0.5em + 10px) calc(0.5em + 10px) at 20px 30px, red, blue)'
- Property background-image value 'radial-gradient(ellipse calc(0.5em + 10px) calc(-0.5em + 10px) at 20px 30px, red, blue)'
- Property background-image value 'radial-gradient(10px at 1lh 1lh, red, blue)'
- Property background-image value 'conic-gradient(rgb(255, 0, 0), rgb(0, 0, 255))'
- Property background-image value 'conic-gradient(red, gold)'
- Property background-image value 'conic-gradient(red 0%, gold 100%)'
- Property background-image value 'conic-gradient(red 0deg, gold 1turn)'
- Property background-image value 'conic-gradient(white -50%, black 150%)'
- Property background-image value 'conic-gradient(white -180deg, black 540deg)'
- Property background-image value 'conic-gradient(hsl(0,0%,75%), hsl(0,0%,25%))'
- Property background-image value 'conic-gradient(at center, red, blue)'
- Property background-image value 'conic-gradient(at 50%, red, blue)'
- Property background-image value 'conic-gradient(at 25% 75%, red, gold)'
- Property background-image value 'conic-gradient(at 10px 10px, rgb(255, 0, 0), rgb(0, 0, 255))'
- Property background-image value 'conic-gradient(from 0deg, red, blue)'
- Property background-image value 'conic-gradient(from 0deg at center, red, blue)'
- Property background-image value 'conic-gradient(from 0deg at 50%, red, blue)'
- Property background-image value 'conic-gradient(from 0deg at 50% 50%, red, gold)'
- Property background-image value 'conic-gradient(from 0deg at 10px 10px, red, blue)'
- Property background-image value 'conic-gradient(from 45deg, rgb(255, 0, 0), rgb(0, 0, 255))'
- Property background-image value 'conic-gradient(from 45deg, white, black, white)'
- Property background-image value 'conic-gradient(from 45deg at center, red, blue)'
- Property background-image value 'conic-gradient(from 45deg at 50%, red, blue)'
- Property background-image value 'conic-gradient(from 45deg at 10px 10px, red, blue)'
- Property background-image value 'conic-gradient(from -45deg, rgb(255, 0, 0), rgb(0, 0, 255))'
- Property background-image value 'conic-gradient(from -45deg at center, red, blue)'
- Property background-image value 'conic-gradient(from -45deg at 50%, red, blue)'
- Property background-image value 'conic-gradient(from -45deg at 10px 10px, red, blue)'
- Property background-image value 'conic-gradient(from 45deg at 1lh 1lh, red, blue)'
- Property background-image value 'repeating-conic-gradient(red, gold)'
- Property background-image value 'repeating-conic-gradient(from 0deg at center, red, gold)'
- Property background-image value 'light-dark(none, none)'
background-image-invalid.html 14 / 14 passingChrome 14 / 140 failedClean
14 passing subtests
- e.style['background-image'] = "none, auto" should not set the property value
- e.style['background-image'] = "radial-gradient(circle -10px at center, red, blue)" should not set the property value
- e.style['background-image'] = "repeating-radial-gradient(-10px at center, red, blue)" should not set the property value
- e.style['background-image'] = "radial-gradient(ellipse -20px 30px at center, red, blue)" should not set the property value
- e.style['background-image'] = "repeating-radial-gradient(-20% 30% at center, red, blue)" should not set the property value
- e.style['background-image'] = "radial-gradient(20px -30px at center, red, blue)" should not set the property value
- e.style['background-image'] = "repeating-radial-gradient(20px -30px ellipse at center, red, blue)" should not set the property value
- e.style['background-image'] = "cross-fade(auto blue, 50% red)" should not set the property value
- e.style['background-image'] = "cross-fade(1px red, green)" should not set the property value
- e.style['background-image'] = "cross-fade(calc(1% + 1px) red, green)" should not set the property value
- e.style['background-image'] = "cross-fade(-1% red, green)" should not set the property value
- e.style['background-image'] = "cross-fade(101% red, green)" should not set the property value
- e.style['background-image'] = "light-dark(\"light.png\", \"dark.png\")" should not set the property value
- e.style['background-image'] = "image-set(light-dark(\"light.png\", \"dark.png\") 1x)" should not set the property value
background-image-valid.html 15 / 15 passingChrome 8 / 150 failedClean
15 passing subtests
- e.style['background-image'] = "none" should set the property value
- e.style['background-image'] = "url(\"http://www.example.com/\")" should set the property value
- e.style['background-image'] = "none, url(\"http://www.example.com/\")" should set the property value
- e.style['background-image'] = "light-dark(url(\"a.png\"), url(\"b.png\"))" should set the property value
- e.style['background-image'] = "light-dark(linear-gradient(red), url(\"b.png\"))" should set the property value
- e.style['background-image'] = "light-dark(image(blue), url(\"b.png\"))" should set the property value
- e.style['background-image'] = "light-dark(image-set(url(\"a.png\") 1x), image-set(url(\"b.png\") 2x))" should set the property value
- e.style['background-image'] = "light-dark(image-set(\"a.png\" 1x), image-set(\"b.png\" 2x))" should set the property value
- e.style['background-image'] = "cross-fade(50% url(http://www.example.com), 50% url(http://www.example.com))" should set the property value
- e.style['background-image'] = "cross-fade(red 33%, white 33%, blue)" should set the property value
- e.style['background-image'] = "cross-fade(blue, linear-gradient(90deg, rgb(2, 0, 36) 0%, rgb(0, 212, 255) 100%))" should set the property value
- e.style['background-image'] = "cross-fade( 1% red, green)" should set the property value
- e.style['background-image'] = "cross-fade(1% red , green)" should set the property value
- e.style['background-image'] = "cross-fade(1% red, green )" should set the property value
- e.style['background-image'] = "cross-fade(red 1%, cross-fade(red 2%, green))" should set the property value
background-invalid.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- e.style['background'] = "red, green" should not set the property value
- e.style['background'] = "black 0 url(https://example.invalid/) / cover" should not set the property value
background-origin-computed.html 7 / 7 passingChrome 4 / 70 failedClean
7 passing subtests
- Property background-origin value 'border-box'
- Property background-origin value 'padding-box'
- Property background-origin value 'content-box'
- Property background-origin value 'border-box, padding-box, content-box'
- Property background-origin value 'border-box' multiple base values
- Property background-origin value 'border-box, padding-box' multiple base values
- Property background-origin value 'border-box, padding-box, content-box' multiple base values
background-origin-invalid.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- e.style['background-origin'] = "fill-box" should not set the property value
- e.style['background-origin'] = "margin-box" should not set the property value
- e.style['background-origin'] = "stroke-box" should not set the property value
- e.style['background-origin'] = "view-box" should not set the property value
background-origin-valid.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- e.style['background-origin'] = "border-box" should set the property value
- e.style['background-origin'] = "padding-box" should set the property value
- e.style['background-origin'] = "content-box" should set the property value
- e.style['background-origin'] = "border-box, padding-box, content-box" should set the property value
background-position-computed.html 32 / 32 passingChrome 29 / 320 failedClean
32 passing subtests
- Property background-position value '1px'
- Property background-position value '1px center'
- Property background-position value '-2% -3%'
- Property background-position value '5% top'
- Property background-position value 'center'
- Property background-position value 'center center'
- Property background-position value 'center 6px'
- Property background-position value 'center left'
- Property background-position value 'center right 7%'
- Property background-position value 'center bottom'
- Property background-position value 'center top 8px'
- Property background-position value 'left'
- Property background-position value 'right 9%'
- Property background-position value 'left 10px center'
- Property background-position value 'right 11% bottom'
- Property background-position value 'left 12px top 13px'
- Property background-position value 'right center'
- Property background-position value 'left bottom'
- Property background-position value 'right top 14%'
- Property background-position value 'bottom'
- Property background-position value 'top 15px center'
- Property background-position value 'bottom 16% left'
- Property background-position value 'top 17px right -18px'
- Property background-position value 'bottom center'
- Property background-position value 'top left'
- Property background-position value 'bottom right 19%'
- Property background-position value 'calc(10px + 0.5em) calc(10px - 0.5em)'
- Property background-position value 'calc(10px - 0.5em) calc(10px + 0.5em)'
- Property background-position value '12px 13px, 50% 6px, 30px -10px'
- Property background-position value 'center' multiple base values
- Property background-position value 'center, left' multiple base values
- Property background-position value 'center, left, bottom' multiple base values
background-position-invalid.html 11 / 11 passingChrome 11 / 110 failedClean
11 passing subtests
- e.style['background-position'] = "left right" should not set the property value
- e.style['background-position'] = "top bottom" should not set the property value
- e.style['background-position'] = "1% center 2px" should not set the property value
- e.style['background-position'] = "right 7% 50%" should not set the property value
- e.style['background-position'] = "50% top 8px" should not set the property value
- e.style['background-position'] = "left 10px 50%" should not set the property value
- e.style['background-position'] = "right 11% 100%" should not set the property value
- e.style['background-position'] = "100% top 14%" should not set the property value
- e.style['background-position'] = "50% top 15px" should not set the property value
- e.style['background-position'] = "0% bottom 16%" should not set the property value
- e.style['background-position'] = "right 19% 100%" should not set the property value
background-position-valid.html 31 / 31 passingChrome 31 / 310 failedClean
31 passing subtests
- e.style['background-position'] = "1px" should set the property value
- e.style['background-position'] = "1px center" should set the property value
- e.style['background-position'] = "-2% -3%" should set the property value
- e.style['background-position'] = "5% top" should set the property value
- e.style['background-position'] = "center" should set the property value
- e.style['background-position'] = "center center" should set the property value
- e.style['background-position'] = "center 6px" should set the property value
- e.style['background-position'] = "center left" should set the property value
- e.style['background-position'] = "center right 7%" should set the property value
- e.style['background-position'] = "center bottom" should set the property value
- e.style['background-position'] = "center top 8px" should set the property value
- e.style['background-position'] = "left" should set the property value
- e.style['background-position'] = "right 9%" should set the property value
- e.style['background-position'] = "left 10px center" should set the property value
- e.style['background-position'] = "right 11% bottom" should set the property value
- e.style['background-position'] = "left 12px top 13px" should set the property value
- e.style['background-position'] = "right center" should set the property value
- e.style['background-position'] = "left bottom" should set the property value
- e.style['background-position'] = "right top 14%" should set the property value
- e.style['background-position'] = "bottom" should set the property value
- e.style['background-position'] = "top 15px center" should set the property value
- e.style['background-position'] = "bottom 16% left" should set the property value
- e.style['background-position'] = "top 17px right 18px" should set the property value
- e.style['background-position'] = "bottom center" should set the property value
- e.style['background-position'] = "top left" should set the property value
- e.style['background-position'] = "bottom right 19%" should set the property value
- e.style['background-position'] = "20% 0%" should set the property value
- e.style['background-position'] = "0% 0%" should set the property value
- e.style['background-position'] = "0%" should set the property value
- e.style['background-position'] = "0% center" should set the property value
- e.style['background-position'] = "center 0%" should set the property value
background-position-x-computed.html 17 / 19 passingChrome 10 / 192 failedWith failures
- ¶
FAILProperty background-position-x value 'x-start'
assert_equals: expected "x-start" but got "0%"
- ¶
FAILProperty background-position-x value 'x-end'
assert_equals: expected "x-end" but got "100%"
17 passing subtests
- Property background-position-x value 'center'
- Property background-position-x value 'left'
- Property background-position-x value 'right'
- Property background-position-x value '-20%'
- Property background-position-x value '10px'
- Property background-position-x value '0.5em'
- Property background-position-x value 'calc(10px - 0.5em)'
- Property background-position-x value 'left -20%'
- Property background-position-x value 'right -10px'
- Property background-position-x value '-20%, 10px'
- Property background-position-x value 'center, left, right'
- Property background-position-x value '0.5em, x-start, x-end'
- Property background-position-x value 'calc(10px - 0.5em), -20%, 10px'
- Property background-position-x value 'calc(10px - 0.5em), left -20%, right 10px'
- Property background-position-x value 'center' multiple base values
- Property background-position-x value 'center, left' multiple base values
- Property background-position-x value 'center, left, right' multiple base values
background-position-x-invalid.html 9 / 9 passingChrome 9 / 90 failedClean
9 passing subtests
- e.style['background-position-x'] = "top" should not set the property value
- e.style['background-position-x'] = "bottom" should not set the property value
- e.style['background-position-x'] = "y-start" should not set the property value
- e.style['background-position-x'] = "y-end" should not set the property value
- e.style['background-position-x'] = "center 10px" should not set the property value
- e.style['background-position-x'] = "20% left" should not set the property value
- e.style['background-position-x'] = "right left" should not set the property value
- e.style['background-position-x'] = "x-start center" should not set the property value
- e.style['background-position-x'] = "left, center right" should not set the property value
background-position-x-valid.html 15 / 15 passingChrome 12 / 150 failedClean
15 passing subtests
- e.style['background-position-x'] = "center" should set the property value
- e.style['background-position-x'] = "left" should set the property value
- e.style['background-position-x'] = "right" should set the property value
- e.style['background-position-x'] = "x-start" should set the property value
- e.style['background-position-x'] = "x-end" should set the property value
- e.style['background-position-x'] = "-20%" should set the property value
- e.style['background-position-x'] = "10px" should set the property value
- e.style['background-position-x'] = "0.5em" should set the property value
- e.style['background-position-x'] = "calc(10px - 0.5em)" should set the property value
- e.style['background-position-x'] = "left -20%" should set the property value
- e.style['background-position-x'] = "right 10px" should set the property value
- e.style['background-position-x'] = "-20%, 10px" should set the property value
- e.style['background-position-x'] = "center, left, right" should set the property value
- e.style['background-position-x'] = "0.5em, x-start, x-end" should set the property value
- e.style['background-position-x'] = "calc(10px - 0.5em), left -20%, right 10px" should set the property value
background-position-y-computed.html 17 / 19 passingChrome 10 / 192 failedWith failures
- ¶
FAILProperty background-position-y value 'y-start'
assert_equals: expected "y-start" but got "0%"
- ¶
FAILProperty background-position-y value 'y-end'
assert_equals: expected "y-end" but got "100%"
17 passing subtests
- Property background-position-y value 'center'
- Property background-position-y value 'top'
- Property background-position-y value 'bottom'
- Property background-position-y value '-20%'
- Property background-position-y value '10px'
- Property background-position-y value '0.5em'
- Property background-position-y value 'calc(10px - 0.5em)'
- Property background-position-y value 'top -20%'
- Property background-position-y value 'bottom -10px'
- Property background-position-y value '-20%, 10px'
- Property background-position-y value 'center, top, bottom'
- Property background-position-y value '0.5em, y-start, y-end'
- Property background-position-y value 'calc(10px - 0.5em), -20%, 10px'
- Property background-position-y value 'calc(10px - 0.5em), top -20%, bottom 10px'
- Property background-position-y value 'center' multiple base values
- Property background-position-y value 'center, top' multiple base values
- Property background-position-y value 'center, top, bottom' multiple base values
background-position-y-invalid.html 9 / 9 passingChrome 9 / 90 failedClean
9 passing subtests
- e.style['background-position-y'] = "left" should not set the property value
- e.style['background-position-y'] = "right" should not set the property value
- e.style['background-position-y'] = "x-start" should not set the property value
- e.style['background-position-y'] = "x-end" should not set the property value
- e.style['background-position-y'] = "center 10px" should not set the property value
- e.style['background-position-y'] = "20% top" should not set the property value
- e.style['background-position-y'] = "bottom top" should not set the property value
- e.style['background-position-y'] = "y-start center" should not set the property value
- e.style['background-position-y'] = "top, center bottom" should not set the property value
background-position-y-valid.html 15 / 15 passingChrome 12 / 150 failedClean
15 passing subtests
- e.style['background-position-y'] = "center" should set the property value
- e.style['background-position-y'] = "top" should set the property value
- e.style['background-position-y'] = "bottom" should set the property value
- e.style['background-position-y'] = "y-start" should set the property value
- e.style['background-position-y'] = "y-end" should set the property value
- e.style['background-position-y'] = "-20%" should set the property value
- e.style['background-position-y'] = "10px" should set the property value
- e.style['background-position-y'] = "0.5em" should set the property value
- e.style['background-position-y'] = "calc(10px - 0.5em)" should set the property value
- e.style['background-position-y'] = "top -20%" should set the property value
- e.style['background-position-y'] = "bottom 10px" should set the property value
- e.style['background-position-y'] = "-20%, 10px" should set the property value
- e.style['background-position-y'] = "center, top, bottom" should set the property value
- e.style['background-position-y'] = "0.5em, y-start, y-end" should set the property value
- e.style['background-position-y'] = "calc(10px - 0.5em), top -20%, bottom 10px" should set the property value
background-repeat-computed.html 13 / 13 passingChrome 10 / 130 failedClean
13 passing subtests
- Property background-repeat value 'repeat-x'
- Property background-repeat value 'repeat-y'
- Property background-repeat value 'repeat'
- Property background-repeat value 'space'
- Property background-repeat value 'round'
- Property background-repeat value 'no-repeat'
- Property background-repeat value 'repeat space'
- Property background-repeat value 'round no-repeat'
- Property background-repeat value 'repeat repeat'
- Property background-repeat value 'repeat-x, repeat-y, repeat'
- Property background-repeat value 'repeat-x' multiple base values
- Property background-repeat value 'repeat-x, repeat-y' multiple base values
- Property background-repeat value 'repeat-x, repeat-y, repeat' multiple base values
background-repeat-invalid.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- e.style['background-repeat'] = "repeat repeat-x" should not set the property value
- e.style['background-repeat'] = "repeat-y round" should not set the property value
- e.style['background-repeat'] = "repeat space round" should not set the property value
background-repeat-valid.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- e.style['background-repeat'] = "repeat" should set the property value
- e.style['background-repeat'] = "repeat-x, repeat-y, repeat" should set the property value
- e.style['background-repeat'] = "repeat space, round no-repeat, repeat-x" should set the property value
- e.style['background-repeat'] = "repeat repeat" should set the property value
background-shorthand-serialization.html 23 / 24 passingChrome 10 / 241 failedWith failures
- ¶
FAILinitial background-color
assert_equals: expected "none" but got "transparent"
23 passing subtests
- single value
- multiple values
- multiple backgrounds
- background-size with non-initial background-position
- multiple backgrounds with varying values
- all initial values
- initial background-position
- initial background-size
- initial background-repeat
- initial background-attachment
- initial component beside a non-initial one
- initial attachment beside an image
- an all-initial layer between two others
- initial keyword not surviving an override
- border-area border-box
- border-area padding-box
- border-area text sets background-clip
- text border-area serializes as border-area text
- border-area text sets background-origin to border-box
- background-size with every earlier component omitted
- horizontal offset from an edge with the initial vertical offset
- vertical offset from an edge with the initial horizontal offset
- the serialized shorthand parses back to itself
background-size-computed.html 14 / 16 passingChrome 12 / 162 failedWith failures
- ¶
FAILProperty background-size value 'auto' multiple base values
assert_equals: expected "auto" but got "auto, auto"
- ¶
FAILProperty background-size value '100%' multiple base values
assert_equals: expected "100% auto" but got "100% auto, 100% auto"
14 passing subtests
- Property background-size value '1px'
- Property background-size value '1px auto'
- Property background-size value '2% 3%'
- Property background-size value 'auto'
- Property background-size value 'auto auto'
- Property background-size value 'auto 4%'
- Property background-size value 'contain'
- Property background-size value 'cover'
- Property background-size value 'calc(10px + 0.5em) calc(10px - 0.5em)'
- Property background-size value 'calc(10px - 0.5em) calc(10px + 0.5em)'
- Property background-size value 'auto 1px, 2% 3%, contain'
- Property background-size value 'auto, auto' multiple base values
- Property background-size value 'auto, auto, auto' multiple base values
- Property background-size value 'auto, 100%' multiple base values
background-size-invalid.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- e.style['background-size'] = "-1px" should not set the property value
- e.style['background-size'] = "2% -3%" should not set the property value
- e.style['background-size'] = "1px 2px 3px" should not set the property value
background-size-valid.html 9 / 9 passingChrome 9 / 90 failedClean
9 passing subtests
- e.style['background-size'] = "1px" should set the property value
- e.style['background-size'] = "1px auto" should set the property value
- e.style['background-size'] = "2% 3%" should set the property value
- e.style['background-size'] = "auto" should set the property value
- e.style['background-size'] = "auto auto" should set the property value
- e.style['background-size'] = "auto 4%" should set the property value
- e.style['background-size'] = "contain" should set the property value
- e.style['background-size'] = "cover" should set the property value
- e.style['background-size'] = "auto 1px, 2% 3%, contain" should set the property value
background-valid.html 46 / 46 passingChrome 21 / 460 failedClean
46 passing subtests
- e.style['background'] = "url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box, rgb(5, 6, 7) url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box" should set the property value
- e.style['background'] = "none" should set background-attachment
- e.style['background'] = "none" should set background-clip
- e.style['background'] = "none" should set background-color
- e.style['background'] = "none" should set background-image
- e.style['background'] = "none" should set background-origin
- e.style['background'] = "none" should set background-position
- e.style['background'] = "none" should set background-repeat
- e.style['background'] = "none" should set background-size
- e.style['background'] = "none" should not set unrelated longhands
- e.style['background'] = "url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box, rgb(5, 6, 7) url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box" should set background-attachment
- e.style['background'] = "url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box, rgb(5, 6, 7) url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box" should set background-clip
- e.style['background'] = "url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box, rgb(5, 6, 7) url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box" should set background-color
- e.style['background'] = "url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box, rgb(5, 6, 7) url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box" should set background-image
- e.style['background'] = "url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box, rgb(5, 6, 7) url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box" should set background-origin
- e.style['background'] = "url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box, rgb(5, 6, 7) url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box" should set background-position
- e.style['background'] = "url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box, rgb(5, 6, 7) url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box" should set background-repeat
- e.style['background'] = "url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box, rgb(5, 6, 7) url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box" should set background-size
- e.style['background'] = "url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box, rgb(5, 6, 7) url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box" should not set unrelated longhands
- e.style['background'] = "border-box content-box" should set background-attachment
- e.style['background'] = "border-box content-box" should set background-clip
- e.style['background'] = "border-box content-box" should set background-color
- e.style['background'] = "border-box content-box" should set background-image
- e.style['background'] = "border-box content-box" should set background-origin
- e.style['background'] = "border-box content-box" should set background-position
- e.style['background'] = "border-box content-box" should set background-repeat
- e.style['background'] = "border-box content-box" should set background-size
- e.style['background'] = "border-box content-box" should not set unrelated longhands
- e.style['background'] = "border-area" should set background-attachment
- e.style['background'] = "border-area" should set background-clip
- e.style['background'] = "border-area" should set background-color
- e.style['background'] = "border-area" should set background-image
- e.style['background'] = "border-area" should set background-origin
- e.style['background'] = "border-area" should set background-position
- e.style['background'] = "border-area" should set background-repeat
- e.style['background'] = "border-area" should set background-size
- e.style['background'] = "border-area" should not set unrelated longhands
- e.style['background'] = "border-area text" should set background-attachment
- e.style['background'] = "border-area text" should set background-clip
- e.style['background'] = "border-area text" should set background-color
- e.style['background'] = "border-area text" should set background-image
- e.style['background'] = "border-area text" should set background-origin
- e.style['background'] = "border-area text" should set background-position
- e.style['background'] = "border-area text" should set background-repeat
- e.style['background'] = "border-area text" should set background-size
- e.style['background'] = "border-area text" should not set unrelated longhands
border-color-computed.html 8 / 8 passingChrome 8 / 80 failedClean
8 passing subtests
- Property border-color value 'currentcolor'
- Property border-color value 'red yellow'
- Property border-color value 'red yellow currentcolor'
- Property border-color value 'red yellow green blue'
- Property border-top-color value 'red'
- Property border-right-color value 'yellow'
- Property border-bottom-color value 'green'
- Property border-left-color value 'blue'
border-color-invalid.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- e.style['border-color'] = "auto" should not set the property value
- e.style['border-color'] = "black, white" should not set the property value
- e.style['border-color'] = "black white red green blue" should not set the property value
border-color-shorthand.html 20 / 20 passingChrome 20 / 200 failedClean
20 passing subtests
- e.style['border-color'] = "currentcolor" should set border-bottom-color
- e.style['border-color'] = "currentcolor" should set border-left-color
- e.style['border-color'] = "currentcolor" should set border-right-color
- e.style['border-color'] = "currentcolor" should set border-top-color
- e.style['border-color'] = "currentcolor" should not set unrelated longhands
- e.style['border-color'] = "red yellow" should set border-bottom-color
- e.style['border-color'] = "red yellow" should set border-left-color
- e.style['border-color'] = "red yellow" should set border-right-color
- e.style['border-color'] = "red yellow" should set border-top-color
- e.style['border-color'] = "red yellow" should not set unrelated longhands
- e.style['border-color'] = "red yellow green" should set border-bottom-color
- e.style['border-color'] = "red yellow green" should set border-left-color
- e.style['border-color'] = "red yellow green" should set border-right-color
- e.style['border-color'] = "red yellow green" should set border-top-color
- e.style['border-color'] = "red yellow green" should not set unrelated longhands
- e.style['border-color'] = "red yellow green blue" should set border-bottom-color
- e.style['border-color'] = "red yellow green blue" should set border-left-color
- e.style['border-color'] = "red yellow green blue" should set border-right-color
- e.style['border-color'] = "red yellow green blue" should set border-top-color
- e.style['border-color'] = "red yellow green blue" should not set unrelated longhands
border-color-valid.html 7 / 7 passingChrome 7 / 70 failedClean
7 passing subtests
- e.style['border-color'] = "currentcolor" should set the property value
- e.style['border-color'] = "currentColor" should set the property value
- e.style['border-color'] = "red yellow green blue" should set the property value
- e.style['border-top-color'] = "red" should set the property value
- e.style['border-right-color'] = "yellow" should set the property value
- e.style['border-bottom-color'] = "green" should set the property value
- e.style['border-left-color'] = "blue" should set the property value
border-image-invalid.html 17 / 17 passingChrome 17 / 170 failedClean
17 passing subtests
- e.style['border-image'] = "auto" should not set the property value
- e.style['border-image'] = "none, url(\"http://www.example.com/\")" should not set the property value
- e.style['border-image'] = "stretch repeat round" should not set the property value
- e.style['border-image'] = "fill" should not set the property value
- e.style['border-image'] = "1 2 3 4 5" should not set the property value
- e.style['border-image'] = "1% fill 2%" should not set the property value
- e.style['border-image'] = "1 / -2px" should not set the property value
- e.style['border-image'] = "-1 / 2px" should not set the property value
- e.style['border-image'] = "1 / 1 2 3 4 5" should not set the property value
- e.style['border-image'] = "1 2 3 4 5 / / 1px" should not set the property value
- e.style['border-image'] = "1 / / auto" should not set the property value
- e.style['border-image'] = "1 2% 3 4% / / 1%" should not set the property value
- e.style['border-image'] = "1 2% 3 4% fill / / 1 2 3 4 5" should not set the property value
- e.style['border-image'] = "1 / none / 1px" should not set the property value
- e.style['border-image'] = "1 2% 3 4% / 1 2 3 4 5 / 2" should not set the property value
- e.style['border-image'] = "1 2 3 4 5 / 1px / 1px" should not set the property value
- e.style['border-image'] = "1 / 1px / auto" should not set the property value
border-image-outset-computed.html 5 / 7 passingChrome 7 / 72 failedWith failures
- ¶
FAILProperty border-image-outset value 'calc(10 + (sign(2cqw - 10px) * 5))'
assert_equals: expected "5" but got "0"
- ¶
FAILProperty border-image-outset value 'calc(10 + (sign(2cqw - 10px) * 5)) calc(20px + (sign(2cqw - 10px) * 5px)'
assert_equals: expected "5 15px" but got "0"
5 passing subtests
- Property border-image-outset value '1px'
- Property border-image-outset value '1px 2'
- Property border-image-outset value '1px 2 3px'
- Property border-image-outset value '1px 2 3px 4'
- Property border-image-outset value '0 calc(0.5em + 10px) 3 calc(-0.5em + 10px)'
border-image-outset-invalid.html 5 / 5 passingChrome 5 / 50 failedClean
5 passing subtests
- e.style['border-image-outset'] = "auto" should not set the property value
- e.style['border-image-outset'] = "-1" should not set the property value
- e.style['border-image-outset'] = "-2px" should not set the property value
- e.style['border-image-outset'] = "1%" should not set the property value
- e.style['border-image-outset'] = "1 2 3 4 5" should not set the property value
border-image-outset-valid.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- e.style['border-image-outset'] = "1px" should set the property value
- e.style['border-image-outset'] = "2" should set the property value
- e.style['border-image-outset'] = "1px 2 3px 4" should set the property value
border-image-repeat-computed.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- Property border-image-repeat value 'round'
- Property border-image-repeat value 'stretch repeat'
- Property border-image-repeat value 'round space'
border-image-repeat-invalid.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- e.style['border-image-repeat'] = "auto" should not set the property value
- e.style['border-image-repeat'] = "stretch repeat round" should not set the property value
border-image-repeat-valid.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- e.style['border-image-repeat'] = "stretch" should set the property value
- e.style['border-image-repeat'] = "space space" should set the property value
- e.style['border-image-repeat'] = "repeat round" should set the property value
border-image-shorthand.sub.html 30 / 30 passingChrome 30 / 300 failedClean
30 passing subtests
- e.style['border-image'] = "none" should set border-image-outset
- e.style['border-image'] = "none" should set border-image-repeat
- e.style['border-image'] = "none" should set border-image-slice
- e.style['border-image'] = "none" should set border-image-source
- e.style['border-image'] = "none" should set border-image-width
- e.style['border-image'] = "none" should not set unrelated longhands
- e.style['border-image'] = "url(\"http://web-platform.test/\") 1 2 3 4 fill" should set border-image-outset
- e.style['border-image'] = "url(\"http://web-platform.test/\") 1 2 3 4 fill" should set border-image-repeat
- e.style['border-image'] = "url(\"http://web-platform.test/\") 1 2 3 4 fill" should set border-image-slice
- e.style['border-image'] = "url(\"http://web-platform.test/\") 1 2 3 4 fill" should set border-image-source
- e.style['border-image'] = "url(\"http://web-platform.test/\") 1 2 3 4 fill" should set border-image-width
- e.style['border-image'] = "url(\"http://web-platform.test/\") 1 2 3 4 fill" should not set unrelated longhands
- e.style['border-image'] = "repeat round" should set border-image-outset
- e.style['border-image'] = "repeat round" should set border-image-repeat
- e.style['border-image'] = "repeat round" should set border-image-slice
- e.style['border-image'] = "repeat round" should set border-image-source
- e.style['border-image'] = "repeat round" should set border-image-width
- e.style['border-image'] = "repeat round" should not set unrelated longhands
- e.style['border-image'] = "url(\"http://web-platform.test/\") fill 1 2% 3 4%" should set border-image-outset
- e.style['border-image'] = "url(\"http://web-platform.test/\") fill 1 2% 3 4%" should set border-image-repeat
- e.style['border-image'] = "url(\"http://web-platform.test/\") fill 1 2% 3 4%" should set border-image-slice
- e.style['border-image'] = "url(\"http://web-platform.test/\") fill 1 2% 3 4%" should set border-image-source
- e.style['border-image'] = "url(\"http://web-platform.test/\") fill 1 2% 3 4%" should set border-image-width
- e.style['border-image'] = "url(\"http://web-platform.test/\") fill 1 2% 3 4%" should not set unrelated longhands
- e.style['border-image'] = "1 2% 3 4% / 5% / 6" should set border-image-outset
- e.style['border-image'] = "1 2% 3 4% / 5% / 6" should set border-image-repeat
- e.style['border-image'] = "1 2% 3 4% / 5% / 6" should set border-image-slice
- e.style['border-image'] = "1 2% 3 4% / 5% / 6" should set border-image-source
- e.style['border-image'] = "1 2% 3 4% / 5% / 6" should set border-image-width
- e.style['border-image'] = "1 2% 3 4% / 5% / 6" should not set unrelated longhands
border-image-slice-computed.html 5 / 7 passingChrome 7 / 72 failedWith failures
- ¶
FAILProperty border-image-slice value 'calc(10 + (sign(2cqw - 10px) * 5))'
assert_equals: expected "5" but got "100%"
- ¶
FAILProperty border-image-slice value 'calc(10 + (sign(2cqw - 10px) * 5)) calc(20% + (sign(2cqw - 10px) * 5%))'
assert_equals: expected "5 15%" but got "100%"
5 passing subtests
- Property border-image-slice value '1'
- Property border-image-slice value '1 2%'
- Property border-image-slice value '1 2% 3'
- Property border-image-slice value '1 2% 3 4%'
- Property border-image-slice value '1% 2 3% 4 fill'
border-image-slice-invalid.html 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- e.style['border-image-slice'] = "fill" should not set the property value
- e.style['border-image-slice'] = "1 -2% fill" should not set the property value
- e.style['border-image-slice'] = "-1 2% fill" should not set the property value
- e.style['border-image-slice'] = "1 2 3 4 5" should not set the property value
- e.style['border-image-slice'] = "1% fill 2%" should not set the property value
- e.style['border-image-slice'] = "-10" should not set the property value
border-image-slice-valid.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- e.style['border-image-slice'] = "1" should set the property value
- e.style['border-image-slice'] = "1 2% 3 4%" should set the property value
- e.style['border-image-slice'] = "1 2% 3 4% fill" should set the property value
- e.style['border-image-slice'] = "fill 1 2% 3 4%" should set the property value
border-image-source-computed.sub.html 10 / 10 passingChrome 10 / 100 failedClean
10 passing subtests
- Property border-image-source value 'none'
- Property border-image-source value 'url("http://web-platform.test/")'
- Property border-image-source value 'linear-gradient(-45deg, red, currentcolor)'
- Property border-image-source value 'linear-gradient(45deg, red calc(10% + 5px), blue 90%)'
- Property border-image-source value 'repeating-linear-gradient(-45deg, red, 30%, currentcolor 70%, lime)'
- Property border-image-source value 'radial-gradient(10px at 20px 30px, currentcolor, lime)'
- Property border-image-source value 'radial-gradient(circle at calc(50% * 2 / 4) 40%, red, blue)'
- Property border-image-source value 'conic-gradient(from 90deg at 80% 90%, lime, black)'
- Property border-image-source value 'conic-gradient(from 2rad at 50% 50%, red, blue calc(270deg - 20deg))'
- url values are made absolute
border-image-source-invalid.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- e.style['border-image-source'] = "auto" should not set the property value
- e.style['border-image-source'] = "none, url(\"http://www.example.com/\")" should not set the property value
border-image-source-valid.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- e.style['border-image-source'] = "none" should set the property value
- e.style['border-image-source'] = "url(\"http://www.example.com/\")" should set the property value
border-image-valid.html 30 / 30 passingChrome 30 / 300 failedClean
30 passing subtests
- e.style['border-image'] = "none" should set the property value
- e.style['border-image'] = "stretch" should set the property value
- e.style['border-image'] = "none 100% / 1 / 0 stretch" should set the property value
- e.style['border-image'] = "url(\"http://www.example.com/\") 1 2 3 4 fill" should set the property value
- e.style['border-image'] = "url(\"http://www.example.com/\") 1 2 3 4 fill / 1 / 0 stretch" should set the property value
- e.style['border-image'] = "url(\"http://www.example.com/\")" should set the property value
- e.style['border-image'] = "repeat round" should set the property value
- e.style['border-image'] = "none repeat round" should set the property value
- e.style['border-image'] = "space" should set the property value
- e.style['border-image'] = "none space space" should set the property value
- e.style['border-image'] = "none 100% / 1 / 0 space" should set the property value
- e.style['border-image'] = "1" should set the property value
- e.style['border-image'] = "none 1 1 1 1" should set the property value
- e.style['border-image'] = "none 1 / 1 / 0 stretch" should set the property value
- e.style['border-image'] = "url(\"http://www.example.com/\") 1 2% 3 4%" should set the property value
- e.style['border-image'] = "url(\"http://www.example.com/\") 1 2% 3 4% fill" should set the property value
- e.style['border-image'] = "url(\"http://www.example.com/\") fill 1 2% 3 4%" should set the property value
- e.style['border-image'] = "1 / 1px" should set the property value
- e.style['border-image'] = "1 2% 3 4% / 2%" should set the property value
- e.style['border-image'] = "1 2% 3 4% fill / 3" should set the property value
- e.style['border-image'] = "fill 1 2% 3 4% / auto" should set the property value
- e.style['border-image'] = "1 / 1px 2% 3 auto" should set the property value
- e.style['border-image'] = "1 / / 1px" should set the property value
- e.style['border-image'] = "1 2% 3 4% / / 2" should set the property value
- e.style['border-image'] = "url(\"http://www.example.com/\") 1 2% 3 4% fill / / 1px 2 3px 4" should set the property value
- e.style['border-image'] = "1 / 1px / 1px" should set the property value
- e.style['border-image'] = "1 2% 3 4% / 2% / 2" should set the property value
- e.style['border-image'] = "1 2% 3 4% fill / 3 / 1px 2 3px 4" should set the property value
- e.style['border-image'] = "1 / auto / 1px" should set the property value
- e.style['border-image'] = "1 2% 3 4% / 1px 2% 3 auto / 2" should set the property value
border-image-width-computed.html 12 / 12 passingChrome 12 / 120 failedClean
12 passing subtests
- Property border-image-width value '0'
- Property border-image-width value '1'
- Property border-image-width value 'auto'
- Property border-image-width value '10px'
- Property border-image-width value '20%'
- Property border-image-width value 'calc(20% + 10px)'
- Property border-image-width value 'calc(-0.5em + 10px)'
- Property border-image-width value 'calc(0.5em + 10px)'
- Property border-image-width value '1 auto'
- Property border-image-width value '1 auto 10px'
- Property border-image-width value '1 auto 10px 20%'
- Property border-image-width value '20% 10px auto 1'
border-image-width-invalid.html 5 / 5 passingChrome 5 / 50 failedClean
5 passing subtests
- e.style['border-image-width'] = "none" should not set the property value
- e.style['border-image-width'] = "-1px" should not set the property value
- e.style['border-image-width'] = "-2%" should not set the property value
- e.style['border-image-width'] = "-3" should not set the property value
- e.style['border-image-width'] = "1 2 3 4 5" should not set the property value
border-image-width-valid.html 5 / 5 passingChrome 5 / 50 failedClean
5 passing subtests
- e.style['border-image-width'] = "1px" should set the property value
- e.style['border-image-width'] = "2%" should set the property value
- e.style['border-image-width'] = "3" should set the property value
- e.style['border-image-width'] = "auto" should set the property value
- e.style['border-image-width'] = "1px 2% 3 auto" should set the property value
border-invalid.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- e.style['border'] = "auto" should not set the property value
- e.style['border'] = "thin double green 1px" should not set the property value
- e.style['border'] = "-2em" should not set the property value
border-radius-computed.html 14 / 14 passingChrome 14 / 140 failedClean
14 passing subtests
- Property border-radius value '1px'
- Property border-radius value '1px 2% 3px 4%'
- Property border-radius value '5em / 1px 2% 3px 4%'
- Property border-radius value '1px 2% 3px 4% / 5em'
- Property border-radius value '1px 1px 1px 2% / 1px 2% 1px 2%'
- Property border-radius value '1px 1px 1px 1px / 1px 1px 2% 1px'
- Property border-radius value '1px 1px 2% 2%'
- Property border-radius value '1px 2% 1px 1px'
- Property border-radius value '1px 2% 2% 2% / 1px 2% 3px 2%'
- Property border-top-left-radius value 'calc(-0.5em + 10px)'
- Property border-top-right-radius value '20%'
- Property border-bottom-right-radius value 'calc(0.5em + 10px) 40%'
- Property border-bottom-left-radius value '50% 60px'
- Property border-top-left-radius value '40px 0px'
border-radius-invalid.html 11 / 11 passingChrome 11 / 110 failedClean
11 passing subtests
- e.style['border-radius'] = "auto" should not set the property value
- e.style['border-radius'] = "none" should not set the property value
- e.style['border-radius'] = "1px 2px 3px 4px 5px" should not set the property value
- e.style['border-radius'] = "-1px" should not set the property value
- e.style['border-radius'] = "1px -2px" should not set the property value
- e.style['border-radius'] = "1em /" should not set the property value
- e.style['border-radius'] = "1px / 2px / 3px" should not set the property value
- e.style['border-radius'] = "4 / 5" should not set the property value
- e.style['border-radius'] = "5em 1px 5em 2% 5em 3px 5em 4%" should not set the property value
- e.style['border-radius'] = "1px 5em 2% 5em 3px 5em 4% 5em" should not set the property value
- e.style['border-top-left-radius'] = "10px 20px 30px" should not set the property value
border-radius-valid.html 23 / 23 passingChrome 23 / 230 failedClean
23 passing subtests
- e.style['border-radius'] = "initial" should set the property value
- e.style['border-radius'] = "inherit" should set the property value
- e.style['border-radius'] = "unset" should set the property value
- e.style['border-radius'] = "revert" should set the property value
- e.style['border-radius'] = "1px" should set the property value
- e.style['border-radius'] = "1px 5%" should set the property value
- e.style['border-radius'] = "1px 2% 3px" should set the property value
- e.style['border-radius'] = "1px 2% 3px 4%" should set the property value
- e.style['border-radius'] = "1px / 2px" should set the property value
- e.style['border-radius'] = "5em / 1px 2% 3px 4%" should set the property value
- e.style['border-radius'] = "1px 2% / 3px 4px" should set the property value
- e.style['border-radius'] = "1px 2px 3em / 1px 2px 3%" should set the property value
- e.style['border-radius'] = "1px 2% / 2px 3em 4px 5em" should set the property value
- e.style['border-radius'] = "1px 2% 3px 4% / 5em" should set the property value
- e.style['border-radius'] = "1px 1px 1px 2% / 1px 2% 1px 2%" should set the property value
- e.style['border-radius'] = "1px 1px 1px 1px / 1px 1px 2% 1px" should set the property value
- e.style['border-radius'] = "1px 1px 2% 2%" should set the property value
- e.style['border-radius'] = "1px 2% 1px 1px" should set the property value
- e.style['border-radius'] = "1px 2% 2% 2% / 1px 2% 3px 2%" should set the property value
- e.style['border-top-left-radius'] = "10px" should set the property value
- e.style['border-top-right-radius'] = "20%" should set the property value
- e.style['border-bottom-right-radius'] = "30px 40%" should set the property value
- e.style['border-bottom-left-radius'] = "50% 60px" should set the property value
border-shorthand.html 36 / 36 passingChrome 36 / 360 failedClean
36 passing subtests
- e.style['border'] = "2px solid color-mix(42deg)" should not set the property value
- e.style['border'] = "2px solid color-contrast(42deg)" should not set the property value
- e.style['border'] = "5px dotted blue" should set border-bottom-color
- e.style['border'] = "5px dotted blue" should set border-bottom-style
- e.style['border'] = "5px dotted blue" should set border-bottom-width
- e.style['border'] = "5px dotted blue" should set border-image-outset
- e.style['border'] = "5px dotted blue" should set border-image-repeat
- e.style['border'] = "5px dotted blue" should set border-image-slice
- e.style['border'] = "5px dotted blue" should set border-image-source
- e.style['border'] = "5px dotted blue" should set border-image-width
- e.style['border'] = "5px dotted blue" should set border-left-color
- e.style['border'] = "5px dotted blue" should set border-left-style
- e.style['border'] = "5px dotted blue" should set border-left-width
- e.style['border'] = "5px dotted blue" should set border-right-color
- e.style['border'] = "5px dotted blue" should set border-right-style
- e.style['border'] = "5px dotted blue" should set border-right-width
- e.style['border'] = "5px dotted blue" should set border-top-color
- e.style['border'] = "5px dotted blue" should set border-top-style
- e.style['border'] = "5px dotted blue" should set border-top-width
- e.style['border'] = "5px dotted blue" should not set unrelated longhands
- e.style['border-top'] = "thin" should set border-top-color
- e.style['border-top'] = "thin" should set border-top-style
- e.style['border-top'] = "thin" should set border-top-width
- e.style['border-top'] = "thin" should not set unrelated longhands
- e.style['border-right'] = "double" should set border-right-color
- e.style['border-right'] = "double" should set border-right-style
- e.style['border-right'] = "double" should set border-right-width
- e.style['border-right'] = "double" should not set unrelated longhands
- e.style['border-bottom'] = "green" should set border-bottom-color
- e.style['border-bottom'] = "green" should set border-bottom-style
- e.style['border-bottom'] = "green" should set border-bottom-width
- e.style['border-bottom'] = "green" should not set unrelated longhands
- e.style['border-left'] = "1px dotted red" should set border-left-color
- e.style['border-left'] = "1px dotted red" should set border-left-style
- e.style['border-left'] = "1px dotted red" should set border-left-width
- e.style['border-left'] = "1px dotted red" should not set unrelated longhands
border-style-computed.html 8 / 8 passingChrome 8 / 80 failedClean
8 passing subtests
- Property border-style value 'none'
- Property border-style value 'inset outset'
- Property border-style value 'hidden dotted dashed'
- Property border-style value 'solid double groove ridge'
- Property border-top-style value 'solid'
- Property border-right-style value 'double'
- Property border-bottom-style value 'groove'
- Property border-left-style value 'ridge'
border-style-invalid.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- e.style['border-style'] = "auto" should not set the property value
- e.style['border-style'] = "solid double groove ridge none" should not set the property value
border-style-shorthand.html 20 / 20 passingChrome 20 / 200 failedClean
20 passing subtests
- e.style['border-style'] = "none" should set border-bottom-style
- e.style['border-style'] = "none" should set border-left-style
- e.style['border-style'] = "none" should set border-right-style
- e.style['border-style'] = "none" should set border-top-style
- e.style['border-style'] = "none" should not set unrelated longhands
- e.style['border-style'] = "inset outset" should set border-bottom-style
- e.style['border-style'] = "inset outset" should set border-left-style
- e.style['border-style'] = "inset outset" should set border-right-style
- e.style['border-style'] = "inset outset" should set border-top-style
- e.style['border-style'] = "inset outset" should not set unrelated longhands
- e.style['border-style'] = "hidden dotted dashed" should set border-bottom-style
- e.style['border-style'] = "hidden dotted dashed" should set border-left-style
- e.style['border-style'] = "hidden dotted dashed" should set border-right-style
- e.style['border-style'] = "hidden dotted dashed" should set border-top-style
- e.style['border-style'] = "hidden dotted dashed" should not set unrelated longhands
- e.style['border-style'] = "solid double groove ridge" should set border-bottom-style
- e.style['border-style'] = "solid double groove ridge" should set border-left-style
- e.style['border-style'] = "solid double groove ridge" should set border-right-style
- e.style['border-style'] = "solid double groove ridge" should set border-top-style
- e.style['border-style'] = "solid double groove ridge" should not set unrelated longhands
border-style-valid.html 8 / 8 passingChrome 8 / 80 failedClean
8 passing subtests
- e.style['border-style'] = "none" should set the property value
- e.style['border-style'] = "none hidden dotted dashed" should set the property value
- e.style['border-style'] = "solid double groove ridge" should set the property value
- e.style['border-style'] = "inset outset" should set the property value
- e.style['border-top-style'] = "solid" should set the property value
- e.style['border-right-style'] = "double" should set the property value
- e.style['border-bottom-style'] = "groove" should set the property value
- e.style['border-left-style'] = "ridge" should set the property value
border-valid.html 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- e.style['border'] = "1px dotted red" should set the property value
- e.style['border'] = "green double thin" should set the property value
- e.style['border-top'] = "thin" should set the property value
- e.style['border-right'] = "double" should set the property value
- e.style['border-bottom'] = "green" should set the property value
- e.style['border-left'] = "1px dotted red" should set the property value
border-width-computed.html 11 / 11 passingChrome 11 / 110 failedClean
11 passing subtests
- Property border-width value '1px'
- Property border-width value '1px 2px'
- Property border-width value '1px 2px 3px'
- Property border-width value '1px 2px 3px 4px'
- Property border-width value '0.5em'
- Property border-width value '2px thin medium thick'
- Property border-top-width value '0px'
- Property border-right-width value '10px'
- Property border-bottom-width value 'calc(-0.5em + 10px)'
- Property border-left-width value 'calc(0.5em + 10px)'
- thin ≤ medium ≤ thick
border-width-invalid.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- e.style['border-width'] = "none" should not set the property value
- e.style['border-width'] = "thin medium thick medium thin" should not set the property value
- e.style['border-width'] = "-1px" should not set the property value
border-width-shorthand.html 20 / 20 passingChrome 20 / 200 failedClean
20 passing subtests
- e.style['border-width'] = "5px" should set border-bottom-width
- e.style['border-width'] = "5px" should set border-left-width
- e.style['border-width'] = "5px" should set border-right-width
- e.style['border-width'] = "5px" should set border-top-width
- e.style['border-width'] = "5px" should not set unrelated longhands
- e.style['border-width'] = "thick thin" should set border-bottom-width
- e.style['border-width'] = "thick thin" should set border-left-width
- e.style['border-width'] = "thick thin" should set border-right-width
- e.style['border-width'] = "thick thin" should set border-top-width
- e.style['border-width'] = "thick thin" should not set unrelated longhands
- e.style['border-width'] = "thin medium thick" should set border-bottom-width
- e.style['border-width'] = "thin medium thick" should set border-left-width
- e.style['border-width'] = "thin medium thick" should set border-right-width
- e.style['border-width'] = "thin medium thick" should set border-top-width
- e.style['border-width'] = "thin medium thick" should not set unrelated longhands
- e.style['border-width'] = "1px 2px 3px 4px" should set border-bottom-width
- e.style['border-width'] = "1px 2px 3px 4px" should set border-left-width
- e.style['border-width'] = "1px 2px 3px 4px" should set border-right-width
- e.style['border-width'] = "1px 2px 3px 4px" should set border-top-width
- e.style['border-width'] = "1px 2px 3px 4px" should not set unrelated longhands
border-width-valid.html 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- e.style['border-width'] = "1em" should set the property value
- e.style['border-width'] = "2px thin medium thick" should set the property value
- e.style['border-top-width'] = "0px" should set the property value
- e.style['border-right-width'] = "thin" should set the property value
- e.style['border-bottom-width'] = "medium" should set the property value
- e.style['border-left-width'] = "thick" should set the property value
box-shadow-computed.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- Property box-shadow value 'none'
- Property box-shadow value '1px 2px'
- Property box-shadow value 'currentcolor -1em -2em 3em -4em'
- Property box-shadow value 'rgb(0, 255, 0) 1px 2px 3px 4px inset'
box-shadow-invalid.html 40 / 40 passingChrome 40 / 400 failedClean
40 passing subtests
- e.style['box-shadow'] = "auto" should not set the property value
- e.style['box-shadow'] = "1 2" should not set the property value
- e.style['box-shadow'] = "1% 2%" should not set the property value
- e.style['box-shadow'] = "1px calc(2px + 2%)" should not set the property value
- e.style['box-shadow'] = "1px" should not set the property value
- e.style['box-shadow'] = "1px 2px 3px 4px 5px" should not set the property value
- e.style['box-shadow'] = "red 1px 2px blue" should not set the property value
- e.style['box-shadow'] = "red" should not set the property value
- e.style['box-shadow'] = "4px red" should not set the property value
- e.style['box-shadow'] = "red 4px" should not set the property value
- e.style['box-shadow'] = "-4px red 4px" should not set the property value
- e.style['box-shadow'] = "red -4px 4px red" should not set the property value
- e.style['box-shadow'] = "-4px 4px red 0" should not set the property value
- e.style['box-shadow'] = "-4px 4px 0 red 0" should not set the property value
- e.style['box-shadow'] = "inset" should not set the property value
- e.style['box-shadow'] = "inset 4px" should not set the property value
- e.style['box-shadow'] = "4px inset" should not set the property value
- e.style['box-shadow'] = "4px inset -4px" should not set the property value
- e.style['box-shadow'] = "inset 4px -4px inset" should not set the property value
- e.style['box-shadow'] = "4px -4px inset 0" should not set the property value
- e.style['box-shadow'] = "4px -4px 0 inset 0" should not set the property value
- e.style['box-shadow'] = "red inset" should not set the property value
- e.style['box-shadow'] = "inset red" should not set the property value
- e.style['box-shadow'] = "4px red inset" should not set the property value
- e.style['box-shadow'] = "red inset 4px" should not set the property value
- e.style['box-shadow'] = "4px inset red" should not set the property value
- e.style['box-shadow'] = "inset red 4px" should not set the property value
- e.style['box-shadow'] = "4px red inset -4px" should not set the property value
- e.style['box-shadow'] = "4px inset red -4px" should not set the property value
- e.style['box-shadow'] = "inset 4px red -4px" should not set the property value
- e.style['box-shadow'] = "4px red 4px inset" should not set the property value
- e.style['box-shadow'] = "red 4px inset -4px" should not set the property value
- e.style['box-shadow'] = "4px inset -4px red" should not set the property value
- e.style['box-shadow'] = "4px -4px red inset 0" should not set the property value
- e.style['box-shadow'] = "4px -4px inset red 0" should not set the property value
- e.style['box-shadow'] = "inset 4px -4px red 0" should not set the property value
- e.style['box-shadow'] = "4px -4px red 0 inset" should not set the property value
- e.style['box-shadow'] = "red 4px -4px inset 0" should not set the property value
- e.style['box-shadow'] = "4px -4px inset 0 red" should not set the property value
- e.style['box-shadow'] = "1px 1px -1px" should not set the property value
box-shadow-valid.html 38 / 38 passingChrome 38 / 380 failedClean
38 passing subtests
- e.style['box-shadow'] = "none" should set the property value
- e.style['box-shadow'] = "1px 2px" should set the property value
- e.style['box-shadow'] = "red 1px 2px 3px -4px inset" should set the property value
- e.style['box-shadow'] = "inset 1px 2px red" should set the property value
- e.style['box-shadow'] = "1px -2px inset, red -3px 4px" should set the property value
- e.style['box-shadow'] = "inset 1px -2px, -3px 4px red" should set the property value
- e.style['box-shadow'] = "4px 4px green" should set the property value
- e.style['box-shadow'] = "green -4px 4px" should set the property value
- e.style['box-shadow'] = "-4px 4px 0 green" should set the property value
- e.style['box-shadow'] = "green -4px 4px 0" should set the property value
- e.style['box-shadow'] = "-4px 4px 0 0 green" should set the property value
- e.style['box-shadow'] = "green -4px 4px 0 0" should set the property value
- e.style['box-shadow'] = "4px -4px inset" should set the property value
- e.style['box-shadow'] = "inset 4px -4px" should set the property value
- e.style['box-shadow'] = "4px -4px 0 inset" should set the property value
- e.style['box-shadow'] = "inset 4px -4px 0" should set the property value
- e.style['box-shadow'] = "4px -4px 0 0 inset" should set the property value
- e.style['box-shadow'] = "inset 4px -4px 0 0" should set the property value
- e.style['box-shadow'] = "4px -4px green inset" should set the property value
- e.style['box-shadow'] = "4px -4px inset green" should set the property value
- e.style['box-shadow'] = "inset green 4px -4px" should set the property value
- e.style['box-shadow'] = "green inset 4px -4px" should set the property value
- e.style['box-shadow'] = "green 4px -4px inset" should set the property value
- e.style['box-shadow'] = "inset 4px -4px green" should set the property value
- e.style['box-shadow'] = "inset green 4px -4px 0" should set the property value
- e.style['box-shadow'] = "green inset 4px -4px 0" should set the property value
- e.style['box-shadow'] = "4px -4px 0 green inset" should set the property value
- e.style['box-shadow'] = "4px -4px 0 inset green" should set the property value
- e.style['box-shadow'] = "green 4px -4px 0 inset" should set the property value
- e.style['box-shadow'] = "inset 4px -4px 0 green" should set the property value
- e.style['box-shadow'] = "inset green 4px -4px 0 0" should set the property value
- e.style['box-shadow'] = "green inset 4px -4px 0 0" should set the property value
- e.style['box-shadow'] = "4px -4px 0 0 green inset" should set the property value
- e.style['box-shadow'] = "4px -4px 0 0 inset green" should set the property value
- e.style['box-shadow'] = "green 4px -4px 0 0 inset" should set the property value
- e.style['box-shadow'] = "inset 4px -4px 0 0 green" should set the property value
- e.style['box-shadow'] = "1px 1px calc(-1px)" should set the property value
- e.style['box-shadow'] = "1px 1px calc(1em - 2px)" should set the property value
webkit-border-radius-valid.html 25 / 25 passingChrome 24 / 250 failedClean
25 passing subtests
- e.style['-webkit-border-radius'] = "initial" should set the property value
- e.style['-webkit-border-radius'] = "inherit" should set the property value
- e.style['-webkit-border-radius'] = "unset" should set the property value
- e.style['-webkit-border-radius'] = "revert" should set the property value
- e.style['-webkit-border-radius'] = "1px" should set the property value
- e.style['-webkit-border-radius'] = "1px 5%" should set the property value
- e.style['-webkit-border-radius'] = "1px 2% 3px" should set the property value
- e.style['-webkit-border-radius'] = "1px 2% 3px 4%" should set the property value
- e.style['-webkit-border-radius'] = "1px / 2px" should set the property value
- e.style['-webkit-border-radius'] = "5em / 1px 2% 3px 4%" should set the property value
- e.style['-webkit-border-radius'] = "1px 2% / 3px 4px" should set the property value
- e.style['-webkit-border-radius'] = "1px 2px 3em / 1px 2px 3%" should set the property value
- e.style['-webkit-border-radius'] = "1px 2% / 2px 3em 4px 5em" should set the property value
- e.style['-webkit-border-radius'] = "1px 2% 3px 4% / 5em" should set the property value
- e.style['-webkit-border-radius'] = "1px 1px 1px 2% / 1px 2% 1px 2%" should set the property value
- e.style['-webkit-border-radius'] = "1px 1px 1px 1px / 1px 1px 2% 1px" should set the property value
- e.style['-webkit-border-radius'] = "1px 1px 2% 2%" should set the property value
- e.style['-webkit-border-radius'] = "1px 2% 1px 1px" should set the property value
- e.style['-webkit-border-radius'] = "1px 2% 2% 2% / 1px 2% 3px 2%" should set the property value
- e.style['-webkit-border-top-left-radius'] = "10px" should set the property value
- e.style['-webkit-border-top-right-radius'] = "20%" should set the property value
- e.style['-webkit-border-bottom-right-radius'] = "30px 40%" should set the property value
- e.style['-webkit-border-bottom-left-radius'] = "50% 60px" should set the property value
- Serialize border-radius from -webkit-border-radius: 1px 2px
- Serialize -webkit-border-radius from border-radius: 1px 2px