LeaVerou / css3test

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

Allow to link features to specification #179

Closed SebastianZ closed 4 years ago

SebastianZ commented 5 years ago

Not only the whole specifcation should be linked but also each individual feature that is tested.

For example, the box-sizing property should have a link to https://drafts.csswg.org/css-ui-3/#box-sizing, maybe also to https://www.w3.org/TR/css-ui-3/#box-sizing. This link might be implemented as a text or image badge shown when hovering the entry.

Sebastian

Zefling commented 5 years ago

It's complicated without a big change in the database (tests.js).

SebastianZ commented 5 years ago

Actually, I almost have a patch ready to optionally show those links, but yes, there needs to be a big change on tests.js to make this work.

I can do that but if you think it's not worth doing that for some reason, just let me know.

Sebastian

Zefling commented 5 years ago

You can request a pull request and we will be able to see. There, you can not tell if it's interesting.

SebastianZ commented 5 years ago

I've created the pull request for allowing to add the links:

https://github.com/LeaVerou/css3test/pull/180

I will work on providing a patch to update the data to include the links, but that'll take a bit.

Sebastian

SebastianZ commented 5 years ago

While creating https://github.com/LeaVerou/css3test/pull/181 I realized that there are some features listed in the wrong specification, some specification links are missing or are broken, and other such issues.

I'll file other patches to fix those once this huge PR is merged.

Sebastian

Zefling commented 5 years ago

It's not impossible. I never read around all the specs at one time.

A little change in navigation: 2019-08-20_14h04_27

SebastianZ commented 5 years ago

It's not impossible. I never read around all the specs at one time.

I don't get you here. What exactly is not impossible?

A little change in navigation: 2019-08-20_14h04_27

At first I thought the same but visually tying it to the name creates a stronger association with the feature and also makes it consistent with the placement of the links for the whole spec.

Sebastian

SebastianZ commented 4 years ago

As the spec. links are displayed on the page for quite some time now, I close this issue now.

@Zefling If you still think the links should be shown on the opposite size of the feature names, please create a new issue for that.

Sebastian