[whatwg] Dimension attributes and video

Ian Hickson ian at hixie.ch
Wed Feb 25 18:49:18 PST 2009

On Wed, 25 Feb 2009, Boris Zbarsky wrote:
> > 
> > With the links functioning, does it make sense?
> Better, yes.  It's not obvious what's going on, still, because when I 
> click the "width" link my browser shows the relevant part of the 
> multipage spec, with the window top positioned at about the heading for 
> section 4.8.16 (because the window is taller than all of section 
> 4.8.17).  Using some styling to highlight the target would be awfully 
> nice.  ;)

I added some bottom margin to address this. I'll look into some :target 
styling at some point, but the problem is that the targets are often small 
<code> elements or whatnot and thus not always obvious even with styling.

> > > This would all be more readable if there were a section for each 
> > > attribute involved (or a single section for width+height if that 
> > > makes more sense) that somehow set off the attribute name and then 
> > > what it does.
> > 
> > Yeah, I've considered doing that. The problem is that it doesn't 
> > always really fit with the conforming criteria. Sometimes I have to 
> > define an attribute two or three times with different requirements 
> > based on the value of another attribute, for example.
> Hmm.  I'd say do it for easy cases, then think about the hard ones, 
> honestly....  But ok.

I'll think about it some more. It might make sense to do this for some 
elements and not others, indeed.

> > I've tried to make it clearer. Is that better?
> I'm not sure what you've changed, honestly.  It looks about the same to 
> me... It might make sense to say something like "for the document to be 
> conforming" or something for most of this section?  Or otherwise 
> separate the author and UA requirements here.

I added "Author requirements:" and "User agent requirements:" labels. Did 
they not show up?

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

More information about the whatwg mailing list