Giter Site home page Giter Site logo

Comments (2)

techmagus avatar techmagus commented on August 30, 2024 1

Update.

It's not a Firefox bug per se, Firefox does have counter-reset: list-item in its UA stylesheet. What's happening, as they explained, is that the other browsers are not implementing lists using CSS.

To quote Emilio Cobos Álvarez (https://bugzilla.mozilla.org/show_bug.cgi?id=1881517#c4):

Yeah, this is not really a regression from that change, and this is really invalid. Firefox implements CSS lists using CSS counters as per spec, so you're really resetting https://searchfox.org/mozilla-central/rev/a8cc31504a2379bcf8ba395d2da7bb632b5521d6/layout/style/res/html.css#570.

The issue is that other browsers don't implement html lists using CSS.

The best solution then if using the all property is to also set:

ol { counter-reset: list-item; }

Since the all property reset the counter-reset property.

from the-new-css-reset.

techmagus avatar techmagus commented on August 30, 2024

Oh! There's a report here already!

I encountered this as well.

In any case, I filed a bug report over at Firefox:

https://bugzilla.mozilla.org/show_bug.cgi?id=1881517

Hopefully they'll add counter-reset: list-item in their UA stylesheet.

from the-new-css-reset.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.