mdn / content

The content behind MDN Web Docs
https://developer.mozilla.org
Other
9.2k stars 22.49k forks source link

"WebKit CSS extensions" could use an audit and update #27631

Open spectranaut opened 1 year ago

spectranaut commented 1 year ago

MDN URL

https://developer.mozilla.org/en-US/docs/Web/CSS/WebKit_Extensions

What specific section or headline is this issue about?

all of them?

What information was incorrect, unhelpful, or incomplete?

I think many items in the WebKit-only properties list are no longer supported in WebKit, just by doing a quick search of the WebKit code for some of them. I noticed, in particular, "-webkit-highlight".

What did you expect to see?

It seems like it would be hard to keep this list updated, but I think it might have some very out of date things.

Do you have any supporting links, references, or citations?

No response

Do you have anything more you want to share?

No response

Josh-Cena commented 4 months ago

I ran the following script on this page:

console.log([...document.querySelectorAll(".section-content ul li code")].map((x) => x.innerText).filter((x) => x !== "-webkit-" && (x.startsWith(":") ? !CSS.supports(`selector(${x.replace("()", "(p)")})`) : !CSS.supports(x, "initial") && !CSS.supports(`@media (${x})`))).join("\n"))

(It may false-positive, but probably won't false-negative)

And here's the result I got, in Chrome:

In Safari:

Unsupported in both: