A user account is required in order to edit this wiki, but we've had to disable public user registrations due to spam.
To request an account, ask an autoconfirmed user on Chat (such as one of these permanent autoconfirmed members).
Component Model Use Cases
These use cases represent a set of problems we are trying to solve by implementing a component model for the web.
Custom Controls
Current practice for sizable web applications is to use JavaScript libraries to provide a system to support the construction of custom controls. Implementing these controls can be made simpler and more interoperable with runtime support.
Layout Manager
Who | Web Framework Engineer |
---|---|
What | Build a layout library, consisting of a UI layout primitives, such as panel, resizeable panel, tab group, stack, accordion containers, etc. |
Purpose |
|
Examples | |
Desirable Properties |
|
Widget Mix-and-Match
Who | Web Application Engineer |
---|---|
What | Build an application using multiple existing controls from several frameworks. |
Purpose |
|
Examples | |
Desirable Properties |
|
Rendering Form Controls with SVG
Who | Web Application Engineer or Web Framework Engineer |
---|---|
What | Create a set of UI controls that act like standard HTML forms controls, but use SVG for rendering. |
Purpose |
|
Examples |
SproutCore's ImageButtonView, Sencha's Number -- examples of extensive themed form control hierarchy. |
Desirable Properties |
|
Contacts Widget
Who | Web Application Engineer |
---|---|
What | Build a drop-in Contacts widget, which has a pre-defined appearance and shows a list of your contacts, with a way to change the widget to compact or full view and to tell the widget to refresh its state. |
Purpose |
|
Examples | A screenshot of Google+ "in your circles" widget |
Desirable Properties |
|
Like/+1 Button
Who | Web Application Engineer |
---|---|
What | Build a drop-in widget with a pre-defined appearance of a button, showing a count of likes/+1s for this instance of a button (count is stored at a central location), embeddable on any document on the Web. |
Purpose |
|
Examples | |
Desirable Properties |
|
Table-based Charts
Who | Web Framework Engineer |
---|---|
What | Provide a way to represent table data markup as charts or diagrams. |
Purpose |
Make it easy for Web authors to create charts and diagrams using table markup. |
Examples | |
Desirable Properties |
|
Built-in HTML Elements
Many non-trivial (i.e. with additional behavior and styling beyond the standard box model) elements that exist in HTML today could be implemented using HTML/CSS/JS. It makes sense to provide a standardized way to accomplish this, with the short-term goals of reducing the size of browsers C++ code and making new element implementation easier, and the long-term goal of converging built-in HTML element implementations across browsers.
Who | Browser Engineer |
---|---|
What | Implement a built-in HTML element by composing or extending existing HTML elements |
Purpose |
|
Desirable Properties |
|
Media Controls For The Video Element
Using DOM elements, build a media controls panel for the video element. The media controls include:
- timeline slider
- stop/start, replay, closed-captioning, forward, rewind and volume buttons, and
- a volume control, which is revealed when hovering over the volume button.
The implementation details of the media controls should not be accessible or perceptible from outside of the video element. Document styles should not interfere with the styles of the media controls panel. However, we must provide a way for an author to explicitly style all parts of the media controls panel.
Details/Summary Elements
Implement details and summary elements. According to the spec, the first summary
element found in the flow content is used to represent a summary or legend of details. In case a summary
element is not found, the UA is supposed to auto-generate some fallback content. The details
element itself needs to have a marker indicating whether details
element is open or closed - i.e., whether all contents of <details> are shown, or only the summary.
Just like media controls, the implementation should not be accessible by the consumer of the elements. For example, the reordering of flow content to position summary
element as first item in the disclosure widget should be imperceptible to DOM traversal methods.