Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Douwe M.'s latest activity

Thursday, January 07 2010
162 Checkbox and the #set method was updated in Core
  • Douwe M.
    Douwe M. commented at 7:20 PM

    I will when I have the time :-)

  • Douwe M.
    Douwe M. commented at 7:04 PM

    Yeah, that's true. But guesses are most of the time, well, guesses to what the problem could be. I'm just trying to help you by pointing out one isn't very prob...

  • Douwe M.
    Douwe M. commented at 6:30 PM

    This is definition for the Element#set method:

      set: function(hash, value) {

    if (value) { var val = {}; val[hash] = value; hash = val; }
    
    for (var key i...
  • Douwe M.
    Douwe M. commented at 6:17 PM

    Hmm, I feel really stupid now... :-( I know all of this, but for some reason I didn't think of it :|

    But have you found the cause for this problem?

  • Douwe M.
    Douwe M. commented at 5:42 PM

    Well,

    a = document.createElement('input'); 
    a.setAttribute('type', 'checkbox');
    a.checked = true;
    
    results in <input type=​"checkbox">​, where
    a = document.cr...
1 earlier change…
  • Douwe M.
    Douwe M. commented at 2:40 PM

    Apparently WebKit doesn't like

    element.checked = true;
    
    But does like:
    element.setAttribute('checked', 'checked');
    
164 Element#setStyle improvement: Assume Number values as px was created in Core
  • Douwe M.
    Douwe M. created the ticket at 7:19 PM

    This sets the height of the element to '123px', as expected:

    element.setStyle('height', '123px');
    
    But this doesn't, as value is a Number, where element.style ...
163 Rename Element#subNodes to Element#children? and more was updated in Core
  • Douwe M.
    • Title changed from Rename Element#subNodes to Element#children? to Rename Element#subNodes to Element#children? and more
    by Douwe M. at 7:07 PM
  • Douwe M.
    Douwe M. created the ticket at 6:56 PM

    Maybe you could rename Element#subNodes to Element#children, so the name is more a more along the line of Element#siblings and Element#parent.
    I'm not sure if t...

Wednesday, January 06 2010
160 Element#subNodes() major bug was updated in Core
  • Douwe M.
    Douwe M. commented at 1:28 AM

    Fixed version, called Element#subNodes2() (edited the line starting with return)

          Element.addMethods({

        subNodes2: function(css_rule) {
          var...