Claro should not hardcode decimal list style type for <ol>

Created on 27 May 2022, about 3 years ago
Updated 18 May 2024, about 1 year ago

Problem/Motivation

Claro's elements.css contains this:

ol {
  margin: 0.25em 0 0.25em 2em; /* LTR */
  padding: 0;
  list-style-type: decimal;
}

Steps to reproduce

This interferes with https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol#attr-type — it means that even if you create <ol type="A"><li>first</li><li>second</li></ol>, in Claro this markup will be rendered with decimals instead of capital letters.

This is especially bad when using a text editor that does not use iframes. CKEditor 4 rendered its markup in an iframe. CKEditor 5 does not.

Discovered in #3274651: Impossible to enable

    or
🐛 Bug report
Status

Fixed

Version

10.3

Component
Claro 

Last updated 1 day ago

Created by

🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024