> Please take a look at the design doc and let me know what you think:

The introduction mentions this:

    The assumptions that current widgets make regarding their structure
    prevent us from modernizing existing widgets without breaking
    applications that rely on the existing DOM structures.

Which is true, but I don't think the Appearance pattern will alleviate
this? E.g. if ButtonCell's default appearance outputs a certain DOM
structure (whether by SafeHtml/otherwise), aren't users' apps going to
couple themselves to the resulting DOM structure, either via custom
Element-based hacks, or CSS rules that use selectors based on the DOM
output?

Seems like you'll still end up with DefaultAppearances that can never
change?

(Not that this sinks the whole proposal, but I thought I'd point
it out. Though perhaps I'm missing something?)

- Stephen

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to