Firefox will support non-standard CSS for WebKit compatibility

Apple and Google are dictating the languages of the mobile and 'legacy' web


Plans are afoot for Firefox to work with pre-complete web standards as implemented in rivals’ browsers.

Mozilla developers have revealed a plan to implement support for a subset of non-standard CSS prefixes used in WebKit, –webkit.

Changes are planned for either Firefox 46 or 47, set to be released around April and May.

WebKit is the layout engine employed by Apple’s Safari and forked in Chromium-browsers from Google and Opera. The plan to work with non-Mozilla CSS prefixes seems intended to make Firefox capable of working with both the legacy and the mobile web.

Browser-specific prefixes for standards are a tool that have been employed by browser makers and developers to continue their work with new standards on leading-edge areas while the standards themselves are are being thrashed out.

Prefixes mean that rather than awaiting the outcome of a slow-paced standards process, browser makers and devs can press on with their work. The idea is the prefix is removed upon the standard’s completion.

However, it seems people haven’t bothered to clean house and remove the prefixes upon completion of CSS, at least, leading to the continued existence of browser-specific prefixes across the web.

This is becoming a problem with WebKit thanks to success of Apple’s iOS and of Google’s Chrome. Firefox – which had employed -moz prefixes – has seen its market share eroded.

A post by Mozilla developer Daniel Holbert (here) says:

A good chunk of the web today (and particularly the mobile web) effectively relies on -webkit prefixed CSS properties & features. We wish we lived in a world where web content always included standards-based fallback (or at least multiple-vendor-prefixed fallback), but alas, we do not live in that world.

To be successful at rendering the web as it exists, we need to add support for a list of frequently-used -webkit prefixed CSS properties & features.

In a separate document, here, Mozilla web compatibility specialist Mike Taylor explained:

“There exists an increasingly large corpus of web content that depends on web browsers supporting a number of webkit-prefixed CSS properties and DOM APIs for functionality or layout. This holds especially true for mobile-optimized web content.

"This specification aims to describe the minimal set of webkit-prefixed CSS properties and DOM APIs that user agents are required to support for web compatib.”

Taylor also listed a proposed set of webkit prefixes for Firefox.

This is Mozilla’s latest move to closer workability with Chrome: the WebExtensions API, currently underway, will let extensions written for Chrome run, supposedly unchanged, in Firefox. ®


Other stories you might like

  • Google sours on legacy G Suite freeloaders, demands fee or flee

    Free incarnation of online app package, which became Workplace, is going away

    Google has served eviction notices to its legacy G Suite squatters: the free service will no longer be available in four months and existing users can either pay for a Google Workspace subscription or export their data and take their not particularly valuable businesses elsewhere.

    "If you have the G Suite legacy free edition, you need to upgrade to a paid Google Workspace subscription to keep your services," the company said in a recently revised support document. "The G Suite legacy free edition will no longer be available starting May 1, 2022."

    Continue reading
  • SpaceX Starlink sat streaks now present in nearly a fifth of all astronomical images snapped by Caltech telescope

    Annoying, maybe – but totally ruining this science, maybe not

    SpaceX’s Starlink satellites appear in about a fifth of all images snapped by the Zwicky Transient Facility (ZTF), a camera attached to the Samuel Oschin Telescope in California, which is used by astronomers to study supernovae, gamma ray bursts, asteroids, and suchlike.

    A study led by Przemek Mróz, a former postdoctoral scholar at the California Institute of Technology (Caltech) and now a researcher at the University of Warsaw in Poland, analysed the current and future effects of Starlink satellites on the ZTF. The telescope and camera are housed at the Palomar Observatory, which is operated by Caltech.

    The team of astronomers found 5,301 streaks leftover from the moving satellites in images taken by the instrument between November 2019 and September 2021, according to their paper on the subject, published in the Astrophysical Journal Letters this week.

    Continue reading
  • AI tool finds hundreds of genes related to human motor neuron disease

    Breakthrough could lead to development of drugs to target illness

    A machine-learning algorithm has helped scientists find 690 human genes associated with a higher risk of developing motor neuron disease, according to research published in Cell this week.

    Neuronal cells in the central nervous system and brain break down and die in people with motor neuron disease, like amyotrophic lateral sclerosis (ALS) more commonly known as Lou Gehrig's disease, named after the baseball player who developed it. They lose control over their bodies, and as the disease progresses patients become completely paralyzed. There is currently no verified cure for ALS.

    Motor neuron disease typically affects people in old age and its causes are unknown. Johnathan Cooper-Knock, a clinical lecturer at the University of Sheffield in England and leader of Project MinE, an ambitious effort to perform whole genome sequencing of ALS, believes that understanding how genes affect cellular function could help scientists develop new drugs to treat the disease.

    Continue reading

Biting the hand that feeds IT © 1998–2022