- From: <bugzilla@jessica.w3.org>
- Date: Wed, 26 Nov 2014 15:50:28 +0000
- To: public-css-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=27384 --- Comment #17 from Boris Zbarsky <bzbarsky@mit.edu> --- > because nobody has shipped addRule with a non-optional index argument I think you have this backwards. What matters is precisely that the index argument is optional in UAs that ship this API and that those UAs don't actually implement the Web IDL spec around optional arguments and undefined last I checked, so in those browsers this call: addRule(foo, bar); will append while this call: addRule(foo, bar, undefined); will do the same thing as this call: addRule(foo, bar, 0); Please do correct me if I'm wrong on this, by the way. If I am not wrong, then the proposal that we make insertRule behave like addRule precisely corresponds to specifying that it needs to treat missing and undefined differently, no? -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Wednesday, 26 November 2014 15:50:29 UTC