LeaVerou / css3test

How does your browser score for its CSS3 support?
http://css3test.com
MIT License
214 stars 83 forks source link

Allowed spec. links for specific features #180

Closed SebastianZ closed 5 years ago

SebastianZ commented 5 years ago

This change allows to provide specification links for individual features within tests.json. Those links appear when you hover the feature.

The structure of a feature with spec. links then looks like this:

"feature": {
    "links": {
        "tr": "#anchor",
        "dev": "#anchor"
    },
    "tests": "tests"
}

This new structure is fully optional and the existing structure will still work as before, so no immediate changes to the features are required. (Though I'll try to come up with a separate patch based on this one to add the spec. links to the features.)

Sebastian

Zefling commented 5 years ago

@LeaVerou It's ok for me.

LeaVerou commented 5 years ago

Great idea!!