Changes between Version 4 and Version 5 of XBL2UseCases
- Timestamp:
- Dec 2, 2010, 8:51:03 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
XBL2UseCases
v4 v5 12 12 * shadow DOM 13 13 * UA-level attachment 14 * Ability to completely hide implementation from consumer 15 * Restricted post-UA-level styling using pseudoclasses 16 * High performance 14 * ability to designate and use DOM SPIs only within the shadow scope 15 * ability to completely hide implementation details from author and user 16 * restricted post-UA-level styling using pseudoclasses 17 * style/event propagation control at the borders of the shadow DOM 18 * high performance, especially compared to native implementation 17 19 18 20 Could use: … … 25 27 * attachment using CSS or DOM 26 28 * content element (output ports), since they can't have children (this may change) 27 * attribute forwarding29 * attribute/pseudo forwarding 28 30 * xml:base handling 29 31 … … 32 34 Does: 33 35 * provide a uniform way (i.e. DOM) to declare widget APIs 36 * encapsulate widget implementation details 37 * enable control over how styles and events outside of a widget affect it 38 * enable widget styling primitives 34 39 * asynchronously instantiate and initialize widgets (for instance, display a widget without starting up a script context, then progressively enhance with script). 35 40 * allow seamless reuse a widget written using various libraries or frameworks … … 40 45 * shadow DOM 41 46 * content element (output ports) 47 * style/event propagation control at the borders of the shadow DOM 42 48 * attachment using CSS and DOM 43 * separat ion ofinstantiation and binding phases (or another way to allow asynchronous binding)44 * attribute forwarding49 * separate instantiation and binding phases (or another way to allow asynchronous binding) 50 * attribute/pseudo forwarding 45 51 * declarative templating/binding 46 52 … … 51 57 Doesn't care: 52 58 * mutable templates 59 * xml:base handling 53 60 54 61 === Layout Manager === 55 62 56 * make easier the restructuring of content to accommodate layout, both in an imperative and a declarative way 57 * enable development of templating/theming frameworks 63 Does: 64 * provide a framework for client-side restructuring of content to accommodate layout 65 * support both imperative a declarative layout models 66 * provide templating/theming capabilities 67 68 Needs: 69 * shadow DOM 70 * content element (output ports) 71 * attachment using CSS and DOM 72 * separate instantiation and binding phases (or another way to allow asynchronous binding) 73 74 Could use: 75 76 Doesn't care: 77 * mutable templates 78 * xml:base handling 79 *