Skip to content
Skip the list of specifications

css/css-backgrounds/parsing/

border-image-source-computed.sub.html

Fails: 5 of 9 assertions match, 4 do not; 1 more could not be judged

A parsing and computed-value check: each value the parser must accept or reject, and what it computes to.

Why some could not be judgedAssertions
No assertion with written values to accept or reject1

Run it in the playgroundThe fileOn GitHubBrowsers’ results on wpt.fyi

Each assertion

Every row shows what the file expected and what the engine returned, whether they match or not.

AssertionExpectedGotVerdict
Property border-image-source value 'linear-gradient(-45deg, red, currentcolor)'linear-gradient(-45deg, rgb(255, 0, 0), rgb(0, 0, 255))linear-gradient(-45deg, rgb(255, 0, 0), rgb(0, 0, 0))Fails
Property border-image-source value 'repeating-linear-gradient(-45deg, red, 30%, currentcolor 70%, lime)'repeating-linear-gradient(-45deg, rgb(255, 0, 0), 30%, rgb(0, 0, 255) 70%, rgb(0, 255, 0))repeating-linear-gradient(-45deg, rgb(255, 0, 0), 30%, rgb(0, 0, 0) 70%, rgb(0, 255, 0))Fails
Property border-image-source value 'radial-gradient(10px at 20px 30px, currentcolor, lime)'radial-gradient(10px at 20px 30px, rgb(0, 0, 255), rgb(0, 255, 0))radial-gradient(10px at 20px 30px, rgb(0, 0, 0), rgb(0, 255, 0))Fails
Property border-image-source value 'conic-gradient(from 2rad at 50% 50%, red, blue calc(270deg - 20deg))'conic-gradient(from 114.592deg, rgb(255, 0, 0), rgb(0, 0, 255) 250deg)conic-gradient(from 114.591559deg, rgb(255, 0, 0), rgb(0, 0, 255) 250deg)Fails
Property border-image-source value 'none'nonenonePasses
Property border-image-source value 'url("http://{{host}}/")'url("http://{{host}}/")url("http://{{host}}/")Passes
Property border-image-source value 'linear-gradient(45deg, red calc(10% + 5px), blue 90%)'linear-gradient(45deg, rgb(255, 0, 0) calc(10% + 5px), rgb(0, 0, 255) 90%)linear-gradient(45deg, rgb(255, 0, 0) calc(10% + 5px), rgb(0, 0, 255) 90%)Passes
Property border-image-source value 'radial-gradient(circle at calc(50% * 2 / 4) 40%, red, blue)'radial-gradient(circle at 25% 40%, rgb(255, 0, 0), rgb(0, 0, 255))radial-gradient(circle at 25% 40%, rgb(255, 0, 0), rgb(0, 0, 255))Passes
Property border-image-source value 'conic-gradient(from 90deg at 80% 90%, lime, black)'conic-gradient(from 90deg at 80% 90%, rgb(0, 255, 0), rgb(0, 0, 0))conic-gradient(from 90deg at 80% 90%, rgb(0, 255, 0), rgb(0, 0, 0))Passes

Results of the run of 8 November 2026, engine build 1d7a91105. The data behind every page is open.