<?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>227000</bug_id>
          
          <creation_ts>2021-06-14 16:54:16 -0700</creation_ts>
          <short_desc>A list-style-position:inside list item marker should be rendered as the first child of the list item</short_desc>
          <delta_ts>2025-06-20 15:03:56 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Layout and Rendering</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <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="Mats Palmgren">MatsPalmgren_bugz</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>bfulgham</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1769624</commentid>
    <comment_count>0</comment_count>
      <attachid>431387</attachid>
    <who name="Mats Palmgren">MatsPalmgren_bugz</who>
    <bug_when>2021-06-14 16:54:16 -0700</bug_when>
    <thetext>Created attachment 431387
Testcase

STEPS TO REPRODUCE
1. load the following testcase:

&lt;!doctype html&gt;
&lt;ul&gt;
  &lt;li style=&quot;list-style-position:inside&quot;&gt;
    &lt;div style=&quot;border:1px solid&quot;&gt;The bullet should be above this line.&lt;/div&gt;
  &lt;/li&gt;
&lt;/ul&gt;


EXPECTED RESULTS
The list item marker (bullet) should be on the list item&apos;s first line.
The &lt;div&gt; should render below it.
The bullet should be outside the &lt;div&gt;&apos;s border.

ACTUAL RESULTS
The bullet is inside the &lt;div&gt;&apos;s border on the same line as the text.

RELEVANT CSS SPEC TEXT
&quot;The marker box is generated by the ::marker pseudo-element of a list item as the list item’s first child ...&quot;
https://drafts.csswg.org/css-lists-3/#marker-pseudo</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1771536</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-06-21 16:55:18 -0700</bug_when>
    <thetext>&lt;rdar://problem/79587134&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2120283</commentid>
    <comment_count>2</comment_count>
    <who name="Alexsander Borges Damaceno">alexbdamac</who>
    <bug_when>2025-05-28 19:14:24 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/46031</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2124885</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-06-20 12:03:51 -0700</bug_when>
    <thetext>Committed 296451@main (7a8d12f962c7): &lt;https://commits.webkit.org/296451@main&gt;

Reviewed commits have been landed. Closing PR #46031 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2124928</commentid>
    <comment_count>4</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2025-06-20 15:03:56 -0700</bug_when>
    <thetext>*** Bug 245929 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>431387</attachid>
            <date>2021-06-14 16:54:16 -0700</date>
            <delta_ts>2021-06-14 16:54:50 -0700</delta_ts>
            <desc>Testcase</desc>
            <filename>file_227000.txt</filename>
            <type>text/html</type>
            <size>161</size>
            <attacher name="Mats Palmgren">MatsPalmgren_bugz</attacher>
            
              <data encoding="base64">PCFkb2N0eXBlIGh0bWw+DQo8dWw+DQogIDxsaSBzdHlsZT0ibGlzdC1zdHlsZS1wb3NpdGlvbjpp
bnNpZGUiPg0KICAgIDxkaXYgc3R5bGU9ImJvcmRlcjoxcHggc29saWQiPlRoZSBidWxsZXQgc2hv
dWxkIGJlIGFib3ZlIHRoaXMgbGluZS48L2Rpdj4NCiAgPC9saT4NCjwvdWw+DQo=
</data>

          </attachment>
      

    </bug>

</bugzilla>