Skip to content

[RFC] Testing Browser Compatibility #8583

Closed
@nhunzaker

Description

@nhunzaker

Testing browser quirks is challenging. What if we set up a page or site local to the React repository that made it easier to isolate browser differences and document known issues:

For example:
http://natehunzaker.com/react-issue-reproducer/cases/input-kitchen-sink/index.html

We could start with some of the outstanding input issues (like #7359), and work our way backward to historical decision points for adding additional rules to support specific browsers.

Speaking with @gaearon and @aweary about this. We see a couple of outstanding tasks:

  • Add a page/site local to the React repository that includes test cases for reproducing specific browser quirks
  • Make it easy to switch between versions of React via CDN references and local builds
  • Catalog existing fixes and outstanding issues, start building test cases
  • Modify React flags via query strings, or some other mechanism to quickly switch between the Fiber and and standard DOM renderer.

Eventually, this could also be a great resource for how React handles DOM manipulation, obscure DOM API concepts, and reference notes for implementors of other DOM rendering libraries.

Test cases

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions