<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>257370</bug_id>
          
          <creation_ts>2023-05-26 00:21:41 -0700</creation_ts>
          <short_desc>[css-counter-styles] Implement correct bidi rules for disclosure counter styles</short_desc>
          <delta_ts>2024-11-26 01:32:40 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>CSS</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>275835</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Tim Nguyen (:ntim)">ntim</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1958142</commentid>
    <comment_count>0</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2023-05-26 00:21:41 -0700</bug_when>
    <thetext>WPT: https://wpt.fyi/results/css/css-counter-styles/counter-style-at-rule/disclosure-styles.html?label=master&amp;label=experimental&amp;aligned&amp;q=safari%3Afail%20

Spec: https://drafts.csswg.org/css-counter-styles/#simple-symbolic

&gt; For the disclosure-open and disclosure-closed counter styles, the marker must be an image or character suitable for indicating the open and closed states of a disclosure widget, such as HTML’s details element. If the image is directional, it must respond to the writing mode of the element, similar to the bidi-sensitive images feature of the Images 4 module. For example, the disclosure-closed style might use the characters U+25B8 BLACK RIGHT-POINTING SMALL TRIANGLE (▸) and U+25C2 BLACK LEFT-POINTING SMALL TRIANGLE (◂), while the disclosure-open style might use the character U+25BE BLACK DOWN-POINTING SMALL TRIANGLE (▾).

This is partially implemented in WebKit in RenderListMarker, but it doesn&apos;t apply to counter styles that extend the built-in disclosure styles.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1958143</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-05-26 00:21:52 -0700</bug_when>
    <thetext>&lt;rdar://problem/109875748&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2077682</commentid>
    <comment_count>2</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2024-11-26 01:32:40 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 275835 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>