Bug 256760 - Align with 'UA' Stylesheet for 'lists' after 'counter-resets: list-item' implementation
Summary: Align with 'UA' Stylesheet for 'lists' after 'counter-resets: list-item' impl...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on: 224811 260436
Blocks:
  Show dependency treegraph
 
Reported: 2023-05-13 11:45 PDT by Ahmad Saleem
Modified: 2023-09-02 04:21 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ahmad Saleem 2023-05-13 11:45:49 PDT
Hi Team,

While we are going to sync-up partial UA rules, based on Tim's suggestion, I am creating this separate for future work:

HTML Spec: https://html.spec.whatwg.org/#lists

ol, ul, menu {
    counter-reset: list-item;
}

________

This needs to be added. If we add it currently, it might pass few tests but due to lack of implementation, it will break other bits.

Just wanted to raise, so we can track it for future.

Thanks!
Comment 1 Radar WebKit Bug Importer 2023-05-20 11:46:19 PDT
<rdar://problem/109611921>
Comment 2 Tim Nguyen (:ntim) 2023-05-20 14:17:09 PDT
We'd basically need to fully implement counter-set + counter-reset + reversed() counters to make this work.
Comment 3 Ahmad Saleem 2023-09-02 04:21:09 PDT
counter-set is done by: https://github.com/WebKit/WebKit/commit/35c672ab42641db0295b649a694a3355bf2b03e2

Now waiting for: counter-reset & reversed().