Crap, damnit! I saw a squirrel, clicked on it and lost my first post. That was about 25 boring sentences down the drain. So...... where was I?
Oh yes. Call me late to dinner, but not too late for dessert. I've never felt much excitement towards HTML. In college, I mostly learned it to tutor other students who had making webpages for assignments. But honestly, I felt like HTML itself was having humans do the work of a word provessor.
But HTML5 is coming to me in a time of need with functionality I want and that I've found Silverlight to be insufficient for. Theoretically, I can do anything I want in Silverlight, but there comes a point where you're in tears that RichTextBox does not provide the font decorations you want and you discover that DIV has a contenteditable attribute. I notice that a lot of the documents are still in draft and there's warnings everywhere that functionality might change. But so far, this looks like a better road because I am not seeing a "dead end ahead" sign.
Which brings me to a discovery today. I want to do something that should be simple, and for now I am going to refrain from disgust that a 25 year old language has not included custom elements until recently. Or has attempted to at least. The site "html5rocks.com" shows a way of making custom elements and explains why plans for an "element" tag (Think about it. If you wanted to make your own tags for html code you use a lot, this would be IT. (all caps "it", not "Information Technology", but I digress from my digression.) This would be the bomb, but apparently, it causes syntax resolution problems. I am guessing that a page would require at least two passes one for resolution and the next for rendering. I would stop there, even if the element defintion contained an element definition or contained the element it was defining inside of it. "No recursion, suckas!" Suckas being me in this case.) have gone by the wayside.
So, really, even though I am telling you about this exciting discovery that I tried out, that made a green square on my screen in Chrome and Internet Explorer with my own tag "shaun-box", it did not work on Firefox. No green box on Firefox.
Why you no green box, Firefox???? I can't find anything to back this up, because the document that would tell me what I need to know is in draft..... but, it looks as if "document.createElement()" is not supported on Firefox. It does nothing at the moment. So, maybe I should have been just wrapping my HTML into an ASP.NET user control in the first place. Before you boo and hiss, that's what I am working with at the moment. To suggest otherwise would be to change the infrastructure of a larger project, even though I am quite interested in hearing about what other platforms, particularly MVC systems like AngularJS have to offer.