Wish List
- The ability to employ the same syntax that HTML framesets have regarding how to specify relative allotment of space between two frames (horizontal or vertical), as in:
<frameset rows="10%,*">
What I want is that little asterisk that allows me to tell the browser: "give the remaining horizontal space this block here." See The specification for MultiLength
-
The extension of CSS's aspect-like design to scripting: using selectors to specify events upon which code is invoked, as in:
a:click { javascript: doSomethingInteresting(); }Status: this type of capability is already in the pipeline for CSS3. CSS3's module: "behavioral extensions to CSS" is bundling in IE's HTC and Element Behavior work. In addition, they'll be adding CSS-style event handling and code invocation (even the ability to embed script within a CSS file with the
@scriptdirective). -
The ability to reference a tag by id to specify relative positioning. That is, absolutely positioned elements are relative to the most immediate relatively-positioned containing block. It'd be nice if I could place content at the bottom of the page, but specify something like this:
#someContent { position: absolute; relative-to: #someOtherContent; } - In CSS stylesheets selectors are analogous to xpath expressions that allow you to select or target specific points in a document. Programmatically, the DOM must be used to select such points. I think it'd be really nice if one could actually programmatically take advantage of the CSS selector "language" or "syntax", similar to how there exist xpath APIs. Check out this link to see what I mean.
-
In the same vein as the last request for a DOM
getElementsBySelector()method, I wonder how they overlooked putting agetElementsByClassName()into the DOM HTML API (on HTMLElement). - It would be really nice if the area where a list's list-style-type or list-style-image appears could be used as part of a selector in a CSS rule. That is, this area could be made into a "hot spot" for triggering (for example) tree expansion / collapsing. The current alternative is to target the entire list item, which is less than optimal.