Skip to content

ControlUICustomization - Common HTML structure for views #368

Open
@jcgregorio

Description

In the Open Questions you raise the following issue:

Allowing the developer to clear the default styles and provide their own stylesheet isn't a solution, because different platforms may have used a different HTML structure to build their control views. E.g. the slider track might be built with styled <div>s in one platform and styled <span>s in another.

I'm so glad you pointed this out because I incorrectly assumed that the complete HTML structure of each control would be fully specified.

I strongly believe that unless the entire structure of the contro is specified completely this entire specification will end up as an interoperability nightmare and everyone will stick to writing custom controls.

So the same developer-provided stylesheet would not work interoperably unless the entire control UI was replaced.

This is the core of the problem, it puts the onus of interoperability on the developer instead of on the browser.

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions