You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Forced colors should now happen at used value time. This change adds
two internal properties to store the forced colors values of
color and -internal-visited-color. These internal values are then
applied to the visited/unvisited color at used value time when
appropriate.
In addition to color, we also needed to force the used/visited color
value of -webkit-text-fill-color and -webkit-text-stroke-color.
These are forced to currentColor to match the color properties.
This ensures that text color is properly forced in forced colors
mode.
Note: This change will result in some functional differences with the
how colors are inherited in forced colors mode. The related web tests
have been updated to reflect this change in behavior.
Bug: 970285
Change-Id: I8858077397419edc18e89c2b2817788ef42e904b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2529950
Commit-Queue: Alison Maher <[email protected]>
Reviewed-by: Anders Hartvoll Ruud <[email protected]>
Reviewed-by: Rune Lillesveen <[email protected]>
Reviewed-by: Alex Keng <[email protected]>
Cr-Commit-Position: refs/heads/master@{#829996}
0 commit comments