MicrosoftEdge / MicrosoftEdge/MSEdgeExplainers

ControlUICustomization - Common HTML structure for views

Open
#368 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Custom Control UI
Dominant language
HTML
Stars
1.4k
Forks
286
Avg merge
3d 1h
Merged PRs (30d)
8

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Open Questions passage quoted in the issue and review the interoperability concern about platform-specific control HTML. Determine whether the proposal specifies a common structure for each control and what concrete specification change would resolve the concern; the work is done when the required structure and interoperability outcome are unambiguous.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
frontend, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.