{"action":"opened","issue":{"number":92,"created_at":"2011-10-11T05:03:18Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"When inserting a toolbarbutton into a toolbar using the node.insertBefore() or query.insertBefore() methods, and the node reference is a toolbarspacer, the button is inserted correctly into the ample document, but is off by one in the html document.\r\n\r\ne.g. http://pastebin.com/tJsUgxHL\r\n\r\nIn this example, the button should be inserted before the toolbarspacer, and result in all inserted buttons bunched towards \"start\".  Instead, the buttons are inserted to the right of the spacer and are bunched up towards \"end\".\r\n\r\nThe console log shows that the resulting ample DOM is correct, however, the html is incorrect.","comments":0,"title":"XUL: insertBefore() and toolbarspacer inserts off by one.","updated_at":"2011-10-11T05:03:18Z","url":"https://api.github.com/repos/clientside/amplesdk/issues/92","id":1870828,"assignee":null,"milestone":null,"closed_at":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/047016389f58a3a3b134a7f7915b7740?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/h6w","id":1045361,"login":"h6w"},"html_url":"https://github.com/clientside/amplesdk/issues/92","labels":[],"state":"open"},"legacy":{"number":92,"action":"opened","issue":1870828}}