Categories
HTML5 XHTML/HTML

Soft Strategy

Sam Ruby wroteJackass 2.5 is available exclusively on SilverLight and my first thought was, “Hey! IE 8 must be shipping!” Then I clicked the link and realized he was talking about a movie.

Sam brought up Jackass the movie because of an issue of the video element in the HTML5 specification, and whether user agents should, or should not, be required to support the “free” video compression technique, Ogg Theora. Interesting to see the inner workings of the group. Now what group was this?

Oh, yeah. HTML5. Anyway, Sam also writes:

Fundamentally, Microsoft’s strategy is sound. Ignore standards that you find inconvenient, and focus on producing and enabling the production of content people want. While my humble site can’t compete with the likes of Jackass 2.5, I do have a few people who follow my site. I’ve switched my front page to HTML5 despite the fact that this means that MSIE7 will therefore ignore virtually all CSS. ..Perhaps if a few more HTML5 advocates did the same, people would eventually take notice.

I was inspired to go to XHTML, in part, by Sam’s earlier fooling around with SVG and XHTML. So I’ll give HTML5 a shot.

In five, six years. Or so.

Categories
Standards SVG XHTML/HTML

Even the mistakes are fun

Anne Van Kesteren:

A new survey reveals that at least Microsoft and IBM think the HTML charter does not cover the canvas element.

I have to wonder, when reading the survey results, how much the people who voted actually used either SVG or the Canvas element. I covered both SVG and the Canvas Element in the book, but I focused more on SVG. Comparing the two–SVG and Canvas–is like comparing the old FONT element with CSS.

The Canvas element requires scripting. The SVG element doesn’t, even for animation if you use the animate elements. In addition, mistakes in SVG can be fun, as I found when I missed a parameter value in mistaken animation. A couple lines of markup. No script. Both Opera and Safari do an excellent job with the animation elements. I’m expecting Firefox to join this group in the next year.

If you use scripting, you can access each element in the SVG document as a separate element. You can’t do that with Canvas.

I still don’t think the Canvas element should be part of a new HTML 5, whatever the grand plans. However, since all but IE supports the Canvas element, it would be foolish to drop it. A better option would be to consider the Canvas element a bitmapped version of SVG and create a separate group to ensure it grows in a standard manner.

I did like what David Dailey wrote in the survey results:

I have considerable ambivalence about <canvas> as I have noted previously. If we were designing HTML 5 from the ground up , SVG and canvas ought to share syntax and ought not to duplicate so much functionality. <canvas> brings a few needed things with it, though it seems rather a bit of poor planning on the part of the advocates of <canvas> that has gotten us to this point. Those historically frustrated with W3C chose to ignore SVG and now seem to want W3C to ignore SVG in favor of a lesser technology. At the same time, <canvas> does enable client-side image analysis by giving the developer access to pixel values, and that alone allows for some tolerance of what otherwise seems to be a curious decoupling of reason from politics. Does it re-invent the wheel? — only about 95% of it is redundant with 20% of SVG.

As for all the discussion about semantic API…years ago I, and others, made a fight for a model and associated XML vocabulary, RDF, we said would stand the test of time and hold up under use. The road’s been rough, and few people are going to defend reification, but RDF fuels the only truly open social graph in existence. Five years ago. That was about the time when everyone believed that all we’d need for semantics was RSS. Including Microsoft.

Categories
Graphics/CSS W3C

The semantic web gots badges

Congratulations to the W3C for finally reclaiming the semantic web back from the drug industry. Seriously, the new logos are a good idea, and they’re quite attractive.

W3C logo

The only thing that gave me pause about the logos are the terms of use:

  • When used on the Web, the logo must be an active link to http://www.w3.org/2001/sw/
  • The logo must not be used in any manner which implies W3C sponsorship or endorsement of your product, service, or Internet site.
  • The logo may not be used to disparage W3C, its Member organizations, services, or products.
  • The logo must stand alone: it cannot be combined with any other design element such as photography, type, borders, nor can it be incorporated into another logo.

Not disparage the W3C…hmmmm. Taking a cue from my boy, Danny, who interpreted the terms of use thus and thus, I’m promoting the release of the stylish new logos in my own, uniquely Burningbird, way:

Semantic Web

W3C Semantic Web
Microformats site

More interpretations

twist and spin semantic web
2007 The Semantic Web: Do you know where your lawyers are?

Categories
HTML5 XHTML/HTML

Marathon 2.0

I must admit to being confused about Molly Holzschlag’s recent posts, including the latest. Today she writes, in clarification of her post where she calls for a moratorium on new standards work:

Perhaps there is a better solution than pausing standards development. If so, I’d like to know what you think it might be. One thing is absolutely key and that is there is no way we are going to empower each other and create the Web in the great vision it was intended to be if we do not address the critical issue of education. And stability. And these things take time. It requires far better orchestration than I personally have been able to figure out, and while the W3C, WHAT WG, WaSP and other groups have made numerous attempts to address some of these concerns, we have failed. We haven’t done a good job so far to create learning tools and truly assist the working web designer and developer become informed and better at what he or she can do. We haven’t done a good job sitting down at the table together and coming up with baseline strategies for user agents and tools.

I don’t keep up with the daily effort of the WHAT WG group, because I’m not really a designer by trade. I do keep up with specifications once they’re released, and am acutely aware of the necessity of valid markup, and not using worst practices (I promise to stop using STRIKE, for instance). I’m also aware of accessibility issues, though I find it frustrating how little we can do since many screen readers just aren’t capable of dealing with dynamic web pages.

I do try to keep up with the JavaScript effort. Mozilla is usually very good about providing readable documentation of new advances, and though it is typically ahead of the game, at least I’m aware of what’s coming down with the road. The same with what’s happening with CSS, PHP, RDF, and other technologies and/or specifications I use in my development.

If there are perceived barriers in acquiring the necessary knowledge to work with the newer specification, it can be because people heavily involved with some of these efforts can come across as arrogant, impatient, and even intolerant–the ‘elitist’ that Molly refers to. Over time, though, such ‘elitism’ usually gets worn away. I used to think the people associated with RDF were elitist, but I’ve watched in the last few years as folks interested in RDF/OWL/semantic web fall over their own feet rushing to increase understanding of, and access to, the concepts, specifications, and implementations. Express even a mild interest in RDF and *whoosh*, like the debris left by a flood, you’ll be inundated with helpful suggestions and encouragement.

Issues of arrogance and elitism aside, the concept of halting effort on specifications while waiting for the rest of the world to catch up just doesn’t make sense. Yes, it can be overwhelming at times–CSS, HTML, XHTML, XML, RDF, DOM, ECMASCript, PHP, Ruby, etc, etc etc. So much to absorb, so little time. But that’s not going to change by halting work on improving and extending specifications.

We do need to have more consistency among the user agents, such as the browsers. But we have browsers now that don’t implement, properly, specifications that have been around for years. In fact, it is because of this that we have this alphabet soup, as we try to remember which browser handles which piece of which HTML specification, correctly. Don’t even get me started on how user agents handle JavaScript. Or CSS.

I don’t know much about the intimate details of the HTML5 process, other than the whole point of the effort was to bring about a common point on which we could all intersect–authors and developers in what we use, user agents in how the implement the the specifications. Once this place of mutual agreement is then reached, we can continue to move forward, each at our own pace. It doesn’t make sense, though, for all to stop moving forward because some developer in Evansville, Illinois, or Budapest, Hungary, is still holding on to their tables.

Consider a marathon. In marathons, all the participants have to agree on the rules, and have to make sure they’re following the same course. But once the rules are defined and the course is laid out, then it’s up to the individual participants to do what’s necessary to complete the course. Some people put in more time and training and they complete the marathon sooner than others who can’t put as much time in, or who perhaps don’t have the same level of physical conditioning. Most of the people that participate, though, don’t care that they aren’t first or second or even in the first hundred. Most people have their own personal goals, and many are happy just to finish.

Think, then, how all participants would react if those putting on, say, the Boston Marathon, were to tell the participants that those in the front needed to slow down, or stop, so that those in the back could catch up?

The web is like a marathon. The specifications define the rules, and the implementations define the course. It is up to the individuals to determine how fast they want to run the course.

Molly says, because a developer in Evansville, Illinois or Budapest, Hungary is still using HTML tables for layout that the web is ‘broken’. I think what she’s really saying, though, is that the web works too well. There is a bewildering wealth of technology we can pick and choose from, and it can be both intimidating and exhausting trying to stay aware of all of it, much less stay proficient in any of it. It also seems like we’re surrounded by people who know it all.

They don’t, though. No one knows it all. The same as no one runner wins every marathon. None of us can know it all, and none of us can afford to be intimidated by those who seem to know it best.

No matter what we do with web specifications and new technologies, there will always be those who push to be first; the expert, the most knowledgeable–the ‘leader’ if you will. Then there is the rest of us, doing our best. This state of affairs is not broken, it’s just the way it is. It’s OK, too, because we don’t need to finish the race at the same time. What we web developers and designers need is what the marathon runners need–a set of rules by which we all participate, and a consistent course on which to run.

And here I got all this way without once mentioning Microsoft and IE.

Categories
Specs

CSS auto kinda

Recovered from the Wayback Machine.

Here’s an interesting one:

I’ve had a couple of folks point out that my site layout does not appear correctly in Safari. If the page is opened in a Safari browser that’s smaller than the width of my content setting (currently at 925 pixels), no horizontal scrollbar is generated. However, a horizontal scrollbar is generated with Firefox (and with IE7 when tested, as well as Opera). Why is this?

I have an unusual layout in that I’m right justifying my content. Even with the new design, which features more elastic sizing (and hopefully should minimize horizontal scrolling), I’m still considering right justifying the content.

How I’m managing the right justification is that I have my right margin set to 20 pixels, but the left set to auto. Technically, I shouldn’t need to set my left margin to auto–it should be set this way by default when the right margin is given. However, I’ve found most browsers don’t do this correctly.

What should happen is that if one margin is given but not the other, the other should be set to auto. The browser should then measure the width of the content and the one margin and add enough to the other to meet 100% of the width. However, no browser does this. What they do is set the left margin to zero by default, regardless of how the right margin is set. By setting the left margin to auto, I remind the browsers of what they should be doing and I get right justified content.

Unfortunately, Safari has another bug: if the left margin is set to auto but the right margin is set to something else, when the browser window is less than the width of the content, the browser doesn’t provide a horizontal scrollbar.

Until I get my new site design up and running, in order to ensure that everyone can see the content regardless of browser window size, I’ve set both margins to auto for centered design. I’ve added some background fill to kill some of the white, but don’t get attached to it, it’s going away. Thanks to Pascale and John for pointing out the problem in Safari.