Hi there,
Just a quick word that before Parisā Hack on MDN and thanks to BCD, inspiration, existing ideas and tools (using other MDN data), Iāve released compat-tester
on NPM
For now, this tool is in alpha-stage and analyzes HTML / CSS files (following <style>
or <link rel="stylesheet">
versus a ābrowser scopeā JSON file.
Basically: scope.json
contains:
{
"ie": "8",
"firefox": "35",
"chrome": "50"
}
and you could run:
compat-tester index.html scope.json
to report possible compatibility issues in the HTML and related CSS files. Itās also possible to target one HTML/CSS file or string.
Running this, you would get something like:
As an alpha, feature set is still limited and CSS detection only targets properties now, JS detection is inexistant at the time.
Hope this will prove useful, looking forward to merging ideas with others