On 2010-04-10 Philippe Wittenbergh wrote: > In short, those browsers will limit the ways the a:visited > state can be styled. Color, background-color, and to some > extend, outline, border are not affected, as long as you don't > use alpha-transparency (rgba()), change the border-style or > border-width, etc. Other changes will be ignored and fall back > to what is specified for the a:link state. >
This autumn, I got into my head to style local and external links differently. First those intrusive ad popups stole double "underlining". Have the sniffers stolen all reasonable options now?! From the dbaron.com page: "For properties that are not permitted ..., the style for unvisited links is used instead." It's not clear to me what this means. Which ones of the following statements will be true? 1) A rule for :visited won't be used at all if any disallowed property is used in it. 2) Disallowed properties can't at all be applied to visited links. 3) Disallowed properties can be used for :visited, but only if they share all their values with :link. 4) Disallowed properties can be applied to visited links, but only by inheriting them from rules using a plain "a" selector with no pseudo-selector(s). 5) Disallowed properties can be applied to visited links by inheriting them from containing elements. I'd guess (4/5) are true and the others false, based on how plain "a", a:link and a:visited selectors interact at present. If (3) is false many existing rules using "a:link, a:visited" selectors will break, but it's probably very hard to engineer things so that it's true without affecting loading times and hence safety. If (4/5) are false as well it has really come to bad times, since then color will be the only way to make links stand out! I am of the links-and-only-links-should-be-underlined persuasion, but mostly because inverse video is already the best way to make (un)visited links stand out for those with color vision problems if you want to use font shapes for their traditional emphasis purposes, not to mention that font style changes rewrap the text. Will RV now be the only way to make (visited) links stand out clearly at all? I made a comment elaborating this on the blog.mozilla.com entry Philippe linked. /BP ______________________________________________________________________ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/