Bug 14001

Summary: REGRESSION: Anchor links sometimes not working with external css (race condition)
Product: WebKit Reporter: Beth Dakin <bdakin>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: bdakin, eric, mitz
Priority: P1 Keywords: InRadar, NeedsReduction, Regression
Version: 523.x (Safari 3)   
Hardware: Mac   
OS: OS X 10.4   
URL: http://lastexit.thecivilpartnership.com/article/at-the-arcades#c000003

Description Beth Dakin 2007-06-05 10:33:25 PDT
The cause of the problem is related to EXTERNAL .CSS DOCUMENTS.

For whatever reason, when Safari is prompted to load the external css, it “pauses” the process of displaying the page until the css document has finished classifying how things are supposed to look.

Safari does not, however, cease it’s attempt to load the anchor target on the page.

So, while css is holding the page layout in it’s grasp, Safari aims to find something which doesn’t yet exist. Hence, nothing happens (but the page sure ends up looking pretty).

More info can be found here:
http://forum.textpattern.com/viewtopic.php?id=21082&p=2
Comment 1 Beth Dakin 2007-06-05 10:34:38 PDT
There is a lot of analysis in this bug report, but I am not sure if it is accurate. That was not written by me, but by the person who reported the radar. I have not done any investigation on this so I can neither confirm nor deny that that is the cause.
Comment 2 Beth Dakin 2007-06-05 10:35:52 PDT
This is the URL: http://lastexit.thecivilpartnership.com/article/at-the-arcades#c000003

It seems to work without fail in Safari 2.0. I have found that it sometimes works in TOT, and sometimes does not. It seems to be more likely to fail if it tries to load the page on launch.
Comment 3 Beth Dakin 2007-06-05 10:36:17 PDT
<rdar://problem/5231098>
Comment 4 David Kilzer (:ddkilzer) 2007-07-23 22:19:34 PDT
I believe this was fixed with r24550.

http://trac.webkit.org/projects/webkit/changeset/24550
Comment 5 David Kilzer (:ddkilzer) 2007-07-23 22:21:59 PDT
*** Bug 9549 has been marked as a duplicate of this bug. ***
Comment 6 David Kilzer (:ddkilzer) 2007-07-23 22:29:27 PDT
Probably a duplicate of Bug 3390 as well.
Comment 7 David Kilzer (:ddkilzer) 2007-07-23 22:33:19 PDT

*** This bug has been marked as a duplicate of 3390 ***