WebKit / Speedometer

An open source repository for the Speedometer benchmark
Other
592 stars 70 forks source link

Fix navigation for Firefox #353

Closed camillobruni closed 7 months ago

camillobruni commented 7 months ago

Temporarily set the #home hash before clearing it to ensure proper visibility of the home section.

bgrins commented 7 months ago

Thanks for figuring out a workaround - we'll separately try to narrow down a reduced test case & fix whatever is happening Firefox. @julienw can you take a look at this PR?

camillobruni commented 7 months ago

Might be worth having a look at the CSS selector again, maybe something is up with that:

section:target,
body:not(body:has(section:target)) #home {
    display: block;
}
camillobruni commented 7 months ago

ups, this accidentally triggered recursive location updates... fix on the way.