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

Created on 27 May 2022, about 2 years ago
Updated 18 May 2024, 14 days 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.69.0 2024