author Justin Lebar <>
Mon, 22 Aug 2011 22:39:37 -0400
changeset 75697 ea8d99353056f8e67a22a04e79f9f8b656b950e2
child 439120 58adc643dcdc20eccb4d30bc454b50420e96c020
permissions -rw-r--r--
Bug 680257 - Always call nsDocShell::ScrollToAnchor on short-circuited loads, so as to make sure the target pseudo-class is updated correctly. r=bz

  <style type='text/css'>
    a        { color: black; }
    a:target { color: red; }

<body onload='(opener || parent).popupLoaded()'>

<a id='a' href='#a'>link</a>
<a id='b' href='#b'>link2</a>