[Buildbot-devel] CSS changes
marnix.klooster at gmail.com
Thu Apr 6 04:44:30 UTC 2006
Trent Mick wrote:
>>The main question I have is the change from class="command rebuild" to
>>class="rebuild". Now, it seems to me that the original intent of "command
>>rebuild" was to specify two classes, like a kind of multiple inheritance, so
>>that your CSS could either provide a style for all "commands", or individual
>>ones for the various kinds of commands like rebuild, pingbuilder, forcebuild,
>>etc. The trouble is, I haven't been able to find any evidence that the class=
>>attribute can be used this way: it doesn't seem to allow spaces, and I've
>>seen a few pages say that you can't have multiple classes on a single node.
>That's not true, at least for Firefox and recent IEs. I'd be surprised
>if Safari and Opera did not support that as well.
...and over at http://www.w3.org/TR/html4/struct/global.html#h-7.5.2,
the HTML 4 spec says in section 7.5.2 about the 'class' attribute:
"This attribute assigns a class name or set of class names to an
element. [...] Multiple class names must be separated by white space
XHTML 1.0 is basically HTML4-in-XML, so the same goes for that.
More information about the devel