Bug 256760

Summary: Align with 'UA' Stylesheet for 'lists' after 'counter-resets: list-item' implementation
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: ntim, vitor.roriz, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=256754
Bug Depends on: 224811, 260436    
Bug Blocks:    

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().