LeaVerou / css3test

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

Interfaces sometimes incorrectly marked as supported #251

Open SebastianZ opened 2 months ago

SebastianZ commented 2 months ago

Chrome 128 implements the SnapEvent interface, though does not support its constructor. Therefore, creating a SnapEvent object fails.

Though as the interface is supported, the tests succeed, even for properties that don't exist.

E.g. using the following test

SnapEvent: {
    links: {
        dev: '#snap-events',
        mdnGroup: 'DOM',
    },
    tests: ['foo'],
    interface: function() {
        return new SnapEvent('scrollsnapchange');
    },
},

the property foo is claimed to be supported.

So, when creation of the interface fails, the tests for the properties should also fail.

Sebastian