whatwg/html-build

MDN boxes sometimes have multiple entries for the same browser

Closed this issue · 3 comments

E.g. https://html.spec.whatwg.org/#atob has two each for Firefox and Firefox for Android. https://html.spec.whatwg.org/#dom-createimagebitmap has two for Firefox.

I assume the MDN compat data has entries for when different "parts" of the feature exist in each browser. We should just pick the minimum.

Yeah, this is just due a bug/oversight in the current Wattsi code that — for some cases where a feature in browser-compat-data includes additional version data about flags or prefixes introduced in particular versions — isn’t looking at the data in the way it should be. The code just needs to be made a bit smarter. I should be able to write up a patch for it relatively soon.

I think this was fixed!

I think this was fixed!

Yes, definitely has been fixed