choirulz / base2

Automatically exported from code.google.com/p/base2
0 stars 0 forks source link

base2-dom.js breaks Node and Event constants #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. attempt to reference any Node (i.e. Node.ELEMENT_NODE) or Event (i.e.
Event.CAPTURING_PHASE) constant
2. removing the base2-dom.js file from code allows them to work again

What is the expected output? What do you see instead?
for Node types 1-12, for Event types 1-3 / returns 'undefined'

What version of the product are you using? On what operating system?
Windows XP/Firefox 2.0.0.3

Please provide any additional information below.

Original issue reported on code.google.com by damonmil...@gmail.com on 17 May 2007 at 2:21

GoogleCodeExporter commented 9 years ago
Can you provide a test case please?

Original comment by dean.edw...@gmail.com on 21 May 2007 at 6:41

GoogleCodeExporter commented 9 years ago
I attached a file that tests all DOM 2 constants.  I tested this in Firefox 
2.0.0.3,
Opera 9.20, Safari 2.0.4, and IE 7(which does not implement any constants).  In 
the
file, simple uncomment the base2-dom.js line and reload the page and the Node 
and
Event constants all return 'undefined'.

Original comment by damonmil...@gmail.com on 24 May 2007 at 2:35

Attachments:

GoogleCodeExporter commented 9 years ago
I can't recreate this problem.

Original comment by dean.edw...@gmail.com on 24 May 2007 at 6:04

GoogleCodeExporter commented 9 years ago

Original comment by doek...@gmail.com on 14 Jul 2007 at 7:03