[Webkit-unassigned] [Bug 172446] New: Ordered list and Shadow DOM broken order

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 22 06:41:30 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=172446

            Bug ID: 172446
           Summary: Ordered list and Shadow DOM broken order
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Macintosh
                OS: macOS 10.12
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: astorino.design at gmail.com
                CC: cdumez at apple.com

When an ordered list is composed by custom elements and shadow dom (open and slot) the list counter restart each <li> element, so every <li> have the 1. number:

This is the output:

1. Lorem ipsum
1. Dolor Sit amet
1. Consecutor adipiscing
   1. Lorem ipsum
   1. Dolor Sit amet
1. Dolor Sit amet

This is the source code:
<oa-list>
   <oa-list-item>Lorem ipsum</oa-list-item>
   <oa-list-item>Dolor Sit amet</oa-list-item>
   <oa-list-item>
      Consecutor adipiscing
      <oa-list>
          <oa-list-item>Lorem ipsum</oa-list-item>
          <oa-list-item>Dolor Sit amet</oa-list-item>
      </oa-list>
   </oa-list-item>
   <oa-list-item>Dolor Sit amet</oa-list-item>
</oa-list>




<oa-list> shadow root:

<ol>
  <slot></slot>
</ol>



<oa-list-item> shadow root:

<li>
  <slot></slot>
</li>

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170522/81efc623/attachment.html>


More information about the webkit-unassigned mailing list