Created attachment 255928 [details] Example 1. There are two base elements. 2. In each base elements is one child element. 3. Child element in second base element is wrapped with visited link. (must be exact address) Border of second element with this style is blue: span { color: blue; border-width: 10px; border-style: solid; border-color: grey; } Example in attachment. Anchor URL must be visited.
Could you please explain what the problem is in more detail? The attached test case looks exactly the same in Safari 8.0.7 and in Firefox for me. Are you seeing the problem in some other browser?
Created attachment 256103 [details] Screenshot
The border of second span element in Example document is blue. Steps to reproduce: 1) Open Example document in Safari. 2) There should be two elements in one grey box. Click on the bottom of two boxes. 3) webkit.org should be opened. 4) Go back to previous page and refresh. 5) The second element should be rendered as blue. I found this bug only in Safari (latest nightly r186218, latest production version 8.0.7) and tested on another machines.
Created attachment 256106 [details] Screenshot
Created attachment 256180 [details] another example
Thank you, visiting www.webkit.org was the missing step. Definitely reproducible, and a weird bug!
Seems related to visited link coloring/style resolution.
This continues to be an issue in Safari 15.5+.
<rdar://problem/97035631>
WebKit ToT (265684@main) seems to work fine but STP173 is still failing.
Created attachment 466906 [details] rendering in stp173 and minibrowser I don't know how mini browser handles history at all. Or if it's just a part of Safari and not WebKit.
Created attachment 466907 [details] web inspector console in stp 173 and mini browser Ah the results are exactly the same in both STP 173 and mini browser. weird
Chrome and Firefox and mini browser behave the same (aka grey border and not purple) Only STP 173 is different.
(In reply to Karl Dubost from comment #13) > Chrome and Firefox and mini browser behave the same (aka grey border and not > purple) > Only STP 173 is different. I just did 'run-safari' on WebKit ToT and it also has same result as 'MiniBrowser'.