[cssom] Directions for better OM expansions

Posted in dotnet, vb, vb.net | No Comments »

We've been discussing CSSOM stuff recently in Chrome team, and I
wanted to push back some of the discussion to the CSSWG list.  This
email *does not* represent Chrome's position, just my own, though
various team members' contributions have played a part in forming
these opinions.

We've been mostly discussing Anne's proposed Values API.  I think it's
a great start, but doesn't address the larger problem that the shape
of the APIs surrounding CSS is somewhat crazy.  They don't work
together - you've got el.style pointing to the < at >style attribute on an
element, el.ownerDocument.defaultView.getComputedStyle('someproperty')
to get a resolved value (sometimes a 'computed', sometimes a 'used'
value), and the stylesheet-based API.  These all work *completely*
differently, with vastly different access patterns, some being
writable while other are readonly, etc.  It's just a bad situation
overall.

So, I've boiled down the use-cases I think are useful to address (not
included in this email for brevity, but can be prov

Similar:

  1. jQuery UI: Can an object be selectable and draggable simultaneously? I have objects that I want to be both draggable and selectable. Is this possible? var course_li = $(sprintf('<li class="course%s">%s</li>', already_scheduled_class, course["fields"]["name"])); // ... course_li.draggable(DRAGGABLE_COURSE_SETTINGS);...
  2. Win a Ticket to Web Directions South or Web Directions USA! The Web Directions South and Web Directions USA events are fast approaching, and as usual they’re shaping up to be conferences that you won’t want...
  3. Securing forms without CAPTCHA I want to keep the forms short, without the CAPTCHA. And, with some tricks, like checking server headers, I was able to control the spammers....
  4. shorthand style values That leads to my question: What does the specification means by "correctly handle CSS shorthand properties"? <http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleDeclaration> | Furthermore, implementations that support a specific level...
  5. array holding reference to extinct object I thought that if a C# array held reference types it would simply hold references to each of the objects, however the code below tells...

Leave a Reply