Recently, as I’ve gotten back into doing JS/DOM development, I’ve begun wishing more and more for a real JavaScript IDE. Mozilla is partway there (Jesse’s bookmarks, the DOM Inspector, and Venkmann are great), there still some stuff that I’d really like:

  • Object Browser – integrated with run-time watches/reflection, and with a comprehensive reference
  • Library management – integrated w/ Object Browser
  • BrowserCaps – flagging (a la TopStyle w/ CSS), cross-referenced w/ alternatives, bug-DB; inline auto-complete stuff would be neato

Is anyone still working on a ‘developer edition’ of Mozilla?

Hmm… it seems that when creating an image, Mozilla doesn’t update the height after changing the source, but after a reload it does. This is strange. I could just replace the offset subtractions with the static dimensions, but hopefully I can also find out what the proper behavior is supposed to be (or if it’s even specified).

The specs are unclear on the behavior of this, so I switched to the older DOM constructor so I could pre-declare width/height there. This incidentally breaks Safari corner rendering (assigning document.createElement(“img”).style properties work, but the JS engine just stops on Image.style properties – the Image object doesn’t inherit from the DOM2 Element object?)

Seeing the recent spat of rounded corner articles (kalsey, meyerweb, mezzoblue), I decided to give it a shot.

Rather than adding rounded corners, my goal was to try to be able to dynamically knock off corners from an image. I was originally trying to experiment with -moz-border-radius, but unfortunately, while this property works on background colors, it doesn’t affect background image clipping. I suspect this is a bug; CSS3 border-radius behavior specifices that the property “causes the element’s background to be rounded,” so eventually this behavior needs to be implemented.

In any case, having been stymied by the easy way, I’ve proceeded to do it the old fashioned way way; writing a Javascript function that adds the four corner images dynamically:

This will look funny in IEPC because of its crap PNG support (I coulda used GIFs I suppose, but having real alpha makes the edges look nicer - I'll probably add a switch for IEPC people later); This probably could have been written in XBL/CSS, but I don't think there'd be much benefit.

Wow, that is a pretty rawkin job posting. (via phil)

So you were a top Web Developer, once, many years ago, until the “correction”. Now nobody cares and you are shunned in public, much as lepers were in the fifteenth century. Your modern-day equivalent of the chiming bell and vile burbling exclamations of “Unclean! Unclean!” is the obnoxious ringtone on your expensive mobile.

Ideally you will also be fluent in the, and I quote, “uploading of ASP pages from a SAP business connector”. I said that out loud and Shub-Niggurath appeared and attempted to devour my soul through some impressive shambling and ominous tentacle-writhing, so I won’t investigate it any further.

The pay rate looks like it’s in AUD. According to xe comes out to oh, about $16/hr