Skip to content

Commit

Permalink
Make gradient-eval-* tests fail without lab/lch support
Browse files Browse the repository at this point in the history
Test references use new color functions. Make sure older implementations
fail by adding a red background fallback in the references.

Bug: 1362022
Change-Id: I873f219f6684c5d391fb9afe90da28408496d65d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3902032
Reviewed-by: Philip Jägenstedt <[email protected]>
Commit-Queue: Philip Jägenstedt <[email protected]>
Auto-Submit: Rune Lillesveen <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1047925}
  • Loading branch information
lilles authored and pull[bot] committed Jul 18, 2023
1 parent ca3d951 commit 1187081
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions css/css-images/gradient/gradient-eval-002-ref.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
.test {
width: 100px;
height: 100px;
background: red;
background: lab(60% 0 0);
}
</style>
Expand Down
1 change: 1 addition & 0 deletions css/css-images/gradient/gradient-eval-003-ref.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
.test {
width: 100px;
height: 100px;
background: red;
background: lab(60% 0 0);
}
</style>
Expand Down
1 change: 1 addition & 0 deletions css/css-images/gradient/gradient-eval-005-ref.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
.test {
width: 100px;
height: 100px;
background: red;
background: lch(60% 60 0);
}
</style>
Expand Down
1 change: 1 addition & 0 deletions css/css-images/gradient/gradient-eval-006-ref.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
.test {
width: 100px;
height: 100px;
background: red;
background: lab(75% 0 0);
}
</style>
Expand Down
1 change: 1 addition & 0 deletions css/css-images/gradient/gradient-eval-007-ref.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
.test {
width: 100px;
height: 100px;
background: red;
background: lch(60% 60 0);
}
</style>
Expand Down
1 change: 1 addition & 0 deletions css/css-images/gradient/gradient-eval-008-ref.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
.test {
width: 100px;
height: 100px;
background: red;
background: lch(60% 60 0);
}
</style>
Expand Down
1 change: 1 addition & 0 deletions css/css-images/gradient/gradient-eval-009-ref.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
.test {
width: 100px;
height: 100px;
background: red;
background: lch(60% 60 0);
}
</style>
Expand Down

0 comments on commit 1187081

Please sign in to comment.