Closed Bug 682935 Opened 13 years ago Closed 13 years ago

:target CSS selector is not updated when navigating back

Categories

(Firefox :: General, defect)

6 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 680257

People

(Reporter: bugzilla, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 5.1; rv:6.0) Gecko/20100101 Firefox/6.0
Build ID: 20110811165603

Steps to reproduce:

Create a page with several Elements with an id attribute, and some links that jump to another id element. The id elements have a CSS definition with the :target selector to highlight the currently selected one. When navigating forward, another element is highlighted. When navigating back, the previously highlighted element is not highlighted again, but the style just stays the same, as if I had not navigated back.



Expected results:

Instead, the style should correctly represent the page at any time. (Hard to explain...)
Please attach a reduced testcase, or supply a URL to a web page, that demonstrates the problem.
Attached file Testcase
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
Thanks for fixing it after all.

But why does the Bugzilla search never find such things?
(In reply to Yves Goergen from comment #4)
> But why does the Bugzilla search never find such things?

Some things the world may never know.

You might want to try searching with Google (this works only as of recently).  For instance, "site:bugzilla.mozilla.org :target back" finds the bug in the 4th hit, despite Google not understanding that ':target' is different from 'target'.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: