« Tencent is the Exclusive Host for TPAC2013 | Main | On the W3C Agenda: Headlights 2013 »

Open Web Platform Weekly Summary - 2013-01-20 - 2013-01-27

The Openweb Platform Weekly Summary from January 21 to January 27 is written by Karl Dubost.

<main> element landed in Firefox

We mentioned last week that <main> element was included in HTML 5.1. It has now landed into Firefox code.

Mobile first and/or Desktop first for img@srcset

A while ago, a bug had been opened because the current syntax in HTML for responsive design is not allowing developpers to match their current practice in CSS with media-queries.

The img@srcset does not afford developers the ability to define the breakpoints for images as either minimum values (mobile first) or maximum values (desktop first) to match the media queries used in their design.

The discussion is still going on.

[css3-ui] defining 'cursor: auto' properly

David Baron thinks that cursor: auto is loosely defined. Indeed the current definition might lead to interoperability issues, the usual "free to implementations". David suggested a better definition.

HTTP 2.0: binary or text only

What should be chosen for representing HTTP/2.0 messages? A text-only format or a binary format. There is a full thread discussing about it on the HTTP working group mailing-list. Mark Nottingham says

a textual-protocol was a nice-to-have, but that it shouldn't be a determining factor in design.

I.e., if you can get everything you need out of a protocol, and make it textual, do so, but if it detracts from the value you get from it, don't let that constrain you.

And Roberto Peon comments:

Text formats are, surprisingly, not easier to debug in my experience.

The full thread is an interesting read and give hindsights on development issues of new formats with the usual trade-offs.

Hardware timestamps for events

In May 2012, a discussion had been started about having the possibility to precisely attach a timestamp to an event. Since then the WebKit project is playing with the idea of having this feature. There are discussions on where Event.highResolutionTimestamp should be added, possibly hr-time.

XML declaration part of the DOM… or not.

With DOM4, it is, currently, not possible to extract the XML declaration. But is it really part of the DOM? Daniel Glazman is pushing for it to be part of the DOM and then have the necessary API to access it. On the other hand Henri Sivonen is advocating the opposite arguing it is a serialization artifact and not really part of the Object Model. Björn Höhrmann noted that

Opera, Firefox, and Webkit […] retain the standalone declaration

HTTP headers statistics

James Snell has started a survey for HTTP headers in the context of HTTP/2.0 compression. He is explaining in details on his blog. Understanding the variability of HTTP headers in between requests will help defining the compression efficiency.

rNews RDFA in BBC News

Jeremy Tarling working at the BBC explained that they were in the process of implementing RDFa in the BBC news page.

CSS reset to default values

There is a new shorthand property, all, which has been defined in CSS for resetting everything to default values. For example,

.foobar { all: default; }

HTML Templates

How many times when creating a Web applications, you wanted a way to create an HTML prototype without affecting the rest of your document. The HTML template specification is here for answering this use case. A first public Working Draft is being proposed.

Styling HTML placeholder attribute

Mounir Lamouri is giving a good overview of current implementations:

- Webkit: ::-webkit-input-placeholder pseudo-element;
- IE10: :-ms-input-placeholder pseudo-class;
- Gecko18-: :-moz-placeholder pseudo-class;
- Gecko19+: ::-moz-placeholder pseudo-element;
- Presto: nothing.

In the long thread, the CSS mailing-list participants are discussing if it should be a pseudo-class, a pseudo-element and it should have a different name, but everyone agrees that it should be formally standardized. A summary of the ideas for styling HTML placeholder attribute has been written on the CSS wiki.

HTTP, Media Queries and CSS for Responsive Web design

Henri Sivonen started a long thread about Media Queries and optimizing what data gets transferred. Basically, a Google engineer is trying to see what could be done at the HTTP level. Henri Sivonen is proposing that it would be better solved at the client level.

Filed by Karl Dubost on January 29, 2013 6:25 PM in CSS, HTML, HTTP, Open Web, Web Applications
| | Comments (2) | TrackBacks (0)

Comments

nelv # 2013-01-31

Great summary, thank you, Karl!

I'd love to read more about what is happening in the RDFa/LOD communities.

Šime Vidas # 2013-02-04

This summary is amazing :-)

Leave a comment

Note: this blog is intended to foster polite on-topic discussions. Comments failing these requirements and spam will not get published. Please, enter your real name and email address. Every individual comment is reviewed by the W3C staff. This may take some time, thank you for your patience.

You can use the following HTML markup (a href, b, i, br/, p, strong, em, ul, ol, li, blockquote, pre) and/or Markdown syntax.

Your comment


About you

This blog is written by W3C staff and working group participants,
 and maintained by Coralie Mercier.
Authorized parties may log in to create a new entry.
Powered by Movable Type, magpierss and a lot of Web Technology