Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit makes several improvements to selected links: * Previously, the link selection style had both the -moz prefixed selector and the unprefixed selector in the same rule, breaking the rule for browsers that did not know about the -moz prefix (such as Chrome). This is fixed by removing the -moz prefixed version, since it is not needed on modern browsers. * Previously, the background color was set to #b4d5fe, but this is not the correct selection color for all platforms. This is fixed by using the "highlight" and "highlighttext" colors, to ensure that link selections look the same as the surrounding text. This has been tested in Firefox and Chrome on Linux, and offers improvements on both (bringing it from nonfunctional on Chrome to functional but inconsistent with the operating system style, and from functional but inconsistent on Firefox to fully functional). The reason that Chrome does not respect the system highlight style appears to be either a bug or an intentional choice - the rule is getting correctly applied, but Chrome has the incorrect definition for the "highlight" color.
- Loading branch information