Created attachment 270350 [details] Test case See https://code.google.com/p/chromium/issues/detail?id=569703 which is talking about whether 0 should be handled as 0deg. However, it's even worse. See the examples in the attached file, where linear-gradient(95deg, red, blue) is ok but linear-gradient(95, red, blue) is parsed with 3 colours.
smfr says there are also differences in quirks v standards mode
<rdar://problem/24430627>
Implementing https://quirks.spec.whatwg.org/#the-hashless-hex-color-quirk per spec would maybe fix this.
cdumez, want to take a stab at this? :-) Chromium passes the tests http://w3c-test.org/quirks-mode/hashless-hex-color.html
Possibly related: bug 155874
There is no difference in attached test case across all other browsers (Chrome Canary 108, Firefox Nightly 107 and Safari Technology Preview 154). First two square / rectangular has gradient from top to bottom starting from bad and third square / rectangular from the right side to left with same pattern. Is something further required? Thanks!
Let's say "no", as identical rendering is interoperable. Someone can file a follow-up bug if needed.