Posts Tagged ‘html’
Here’s an interesting DOM test-case I ran across inadvertently yesterday.
For the purpose of this post assume the following markup:
< !DOCTYPE html>
<html>
<!– i broke the dom –>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Testcase</title>
</head>
<body>
<p>Something</p>
</body>
</html>
If I use document.documentElement.firstChild I don’t get consistent behavior. In Firefox and IE I get the <head/> element, which is what I [...]
Saturday, December 12th, 2009 Posted in Google, Mozilla, Web Development | 10 Comments »
A very cool change landed in Firefox 3.1. View source will now create links where appropriate (a rather old bug I might add). I must have copy/pasted millions of url’s over the years out of view source so that I can look at a JS or CSS. This is an immense help [...]
Tuesday, November 11th, 2008 Posted in Mozilla | 2 Comments »
It’s happening again. Once upon a time, browser vendors started adding their own features without consulting with each other and agreeing upon standards. What they created was a giant mess of inconsistencies across browsers and platforms that is still in effect today. Ask any web developer and they can tell you of [...]
Thursday, May 29th, 2008 Posted in Mozilla, Web Development | 15 Comments »
As Robert O’Callahan, John Resig, Anne van Kesteren all point out, this idea of using a meta tag to select a rendering engine is bad. Here are my personal thoughts on the issue. Not as a browser developer but as a web developer.
Essentially the argument by the IE team is this: Rather than [...]
Tuesday, January 22nd, 2008 Posted in Mozilla, Web Development | 8 Comments »
So I downloaded and tested out Coda a little bit today. My initial impression is that I’m very impressed. It could be the new standard. A few like Alex King point out that it uses Safari as the default engine. I don’t think that’s so bad. Nothing stops you from [...]
Wednesday, April 25th, 2007 Posted in Programming, Software, Web Development | No Comments »
I encountered this the other day. Firefox, Safari and Opera do what I expected and believe to be correct. I’m curious if anyone can explain this, or knows of a workaround that “doesn’t suck”. Take the following testcase:
< !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html lang="en">
<head>
<title>IE Table Border Bug</title>
<meta [...]
Wednesday, April 4th, 2007 Posted in Mozilla, Web Development | 10 Comments »
After reading about Myk’s use of Komodo, I decided to give it a try. I’ve yet to find the truly perfect IDE, so I’m always open to good alternatives.
For years I used BBEdit Lite, which was good enough for my somewhat basic needs, TextWrangler came and I moved over. On the Windows side [...]
Thursday, February 15th, 2007 Posted in Mozilla, Programming, Web Development | 3 Comments »
When a you browses the web, a fair amount of code is transfered from a server sitting in a cold lonely datacenter to your computer. It’s mostly serious business, but sometimes developers like to embed small jokes, and traditions.
A lot can be told by just a quick glance at a website’s design and it’s [...]
Saturday, January 20th, 2007 Posted in Mozilla, Web Development | 47 Comments »
I’ve been really busy lately, hence posting is a bit light. I plan to pickup soon. I’ve been working on many things.
On a side note, switching programming languages (Visual Basic .NET, JavaScript, HTML, CSS, PHP, Perl) all in one day can be very confusing at times. I’ve been finding myself mixing up [...]
Wednesday, February 22nd, 2006 Posted in Personal, Programming | No Comments »