Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Caută ajutor

Atenție la excrocheriile de asistență. Noi nu îți vom cere niciodată să suni sau să trimiți vreun SMS la vreun număr de telefon sau să dai informații personale. Te rugăm să raportezi activitățile suspecte folosind opțiunea „Raportează un abuz”.

Află mai multe
Arhivate

Is there a webkit compatibility mode to make Firefox try to listen to -webkit css flags?

Olliver Aira

Or is the only option - as a web developer, to make duplicate css flags?

I.e: https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Selectors/::-webkit-slider-runnable-track & https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Selectors/::-webkit-slider-thumb Where firefox supports the behavior, but under different flag names https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Selectors/::-moz-range-thumb & https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Selectors/::-moz-range-track

Im also looking for recommendations on barebones/simple parsers that can help make my html/css/js more compatible without messing up the code too much. Im hoping to avoid having to use a build system.

Thank you

Or is the only option - as a web developer, to make duplicate css flags? I.e: https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Selectors/::-webkit-slider-runnable-track & https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Selectors/::-webkit-slider-thumb Where firefox supports the behavior, but under different flag names https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Selectors/::-moz-range-thumb & https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Selectors/::-moz-range-track Im also looking for recommendations on barebones/simple parsers that can help make my html/css/js more compatible without messing up the code too much. Im hoping to avoid having to use a build system. Thank you

Toate răspunsurile (1)

There's no webkit compatibility mode, as Firefox understands majority of webkit flags by default. But we didn't implement any of this two yet. Standardized ::slider-* is being tested under the layout.css.modern-range-pseudos.enabled flag, but we want to support ::-webkit-slider-* as well.

So for now you have to use both, but in a few months you'll be able to switch to ::slider-*