[Prototype-core] :not() selector bugs

2007-09-26 Thread Wiktor Ihárosi
In my project I want to use the ':not' selector, but I think I found a bug. I cut down the unit test page for presenting the error. Here it is: http://devidens.hu/prototype/20070926/ If I write something after the ':not' - I want all its descendants, for example: 'a:not([id]) span' - it returns

[Prototype-core] Re: :not() selector bugs

2007-09-26 Thread Mislav Marohnić
On 9/26/07, Wiktor Ihárosi [EMAIL PROTECTED] wrote: Should I create a ticket in trac? Yeah, it would be best if you attached a diff to that ticket that adds some failing tests to the current unit test suite for selector module. --~--~-~--~~~---~--~~ You

[Prototype-core] Re: String#times performance pit in IE

2007-09-26 Thread Tobie Langel
Brilliant Martin! as usual...! Martin Ström wrote: Try benchmarking this solution as well, it doesn't even use an for loop which could make it even a bit faster: String.prototype.times3 = function(count) { return new Array(count + 1).join(this); } Hej Martin

[Prototype-core] Re: :not() selector bugs

2007-09-26 Thread Andrew Dupont
The CSS2 and CSS3 specs disagree on this, annoyingly enough. [1] I'd originally written :not to throw an exception on selectors with more than one token, but then I saw the conflicting definitions and relented. All the other major libraries seem to allow this confusing syntax. Not being able to

[Prototype-core] Re: :not() selector bugs

2007-09-26 Thread Ihárosi Wiktor
Andrew Dupont wrote: Not being able to use the descendant combinator after a :not clause, however, is a bug. Wiktor, feel free to report it; I'll try to fix it before 1.6 final. Thx Andrew! Here is the ticket with the attached diff: http://dev.rubyonrails.org/ticket/9696

[Prototype-core] Re: Submitted a Patch, Mark as Fixed?

2007-09-26 Thread jdalton
I would assumed not fixed until it is included in the source by the devs... I would let them dictate when they fix something. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype: Core group. To post to this