[wp-trac] [WordPress Trac] #44777: Multiple bundled themes ignore/override ordered list types

WordPress Trac noreply at wordpress.org
Sat Aug 26 16:15:20 UTC 2023


#44777: Multiple bundled themes ignore/override ordered list types
-------------------------------------------------+-------------------------
 Reporter:  Greg Raven                           |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  6.4
Component:  Bundled Theme                        |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-testing-info needs-screenshots   |     Focuses:  css
  has-patch changes-requested                    |
-------------------------------------------------+-------------------------

Comment (by sabernhardt):

 Starting a patch with `ol:where(:not([type]))` for only one theme (at
 first) sounds good.

 Some instructions to reproduce the incorrect style are in comment:3, but
 the block editor could require more information.
 1. Activate Twenty Twenty-One (or any earlier bundled theme except for
 Twenty Thirteen).
 2. Go to the post editor.
 3. If using the block editor, create a Classic block. (If you have a
 special block from a plugin that allows the `type`, you could use that,
 but the standard List block considers the `type` attribute unexpected.)
 4. Add an ordered list within the Classic block.
 5. If you are not already in the Code view, switch to that. You could
 select either "Code editor" from the 3-dot Options menu near the Publish
 button or "Edit as HTML" from the block's Options.
 6. In the `ol` tag, add a non-numeric `type`, such as `<ol type="a">` for
 lowercase letters.
 7. Switch to the visual mode ("Exit code editor" or "Edit visually"). The
 list continues to use the `decimal` numbering style, regardless of the
 `type`.
 8. Save the post and view it on the front end. This also has the `decimal`
 numbering style.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44777#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list