Commit e82768c
Fix test for highlight pseudos and visited links
In r990326 we added a test for visited links on highlight pseudos,
but it was wrong.
Browsers use the alpha channel from the unvisited styles,
so by default the unvisited style background is transparent,
so you get a transparent background for the visited styles too
(even if you specify something different for them).
We're adding a solid background color to the unvisited style,
so the visited background color is used.
Bug: 1314629
Change-Id: I5ebb789388dc239b09f87a9e21ac5fd53f1113fa
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3580511
Reviewed-by: Delan Azabani <dazabani@igalia.com>
Commit-Queue: Manuel Rego <rego@igalia.com>
Cr-Commit-Position: refs/heads/main@{#991442}1 parent 1f6399f commit e82768c
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
9 | 12 | | |
10 | 13 | | |
11 | 14 | | |
| |||
0 commit comments