I have not made a test yet but I will soon. I did how ever report this
to lighthouse and they told me this wasn't a bug? That makes no sense
to me but here is some updated information about the issue.
CSS selectors for FireFox 3.5, Safari 4, and Chrome 3 seem to not work
correctly.
I created a function so I could create listeners for the first and
last child of my menu. I was using Prototype 1.6.0, but I had other
issues with new browsers and upgraded to 1.6.1 which fixed most of my
issues but now this upgrade has broke my current code for FireFox 3.5,
Safari 4, and Chrome 3. The CSS selector nth-last-of-type(1) is
supposed to grab the last child in my menu, this works in IE7 and IE8
but this has stop working for FireFox 3.5, Safari 4, and Chrome 3
since I upgraded. I down graded just to see if my suspicions were
correct and they were. Now if I change the value of my CSS Selector to
nth-last-of-type(2), my code works again but only in FireFox 3.5,
Safari 4, and Chrome 3 which then breaks the code for IE7 and IE8.
This doesn't make sense because I have not changed any of the DOM
structure.
Below is my JS.
function myFunction() {
> >childfunction works but thelastchildseems to not work at all. I