[Webkit-unassigned] [Bug 148861] New: ol.start returns 0 on a reversed list if the layout had never happened

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 4 17:41:08 PDT 2015


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

            Bug ID: 148861
           Summary: ol.start returns 0 on a reversed list if the layout
                    had never happened
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: rniwa at webkit.org

<ol id='ol' reversed>
<li>Three</li>
<li>Two</li>
<li>One</li>
</ol>
<script>
alert(document.getElementById('ol').start)
setTimeout(function () {alert(document.getElementById('ol').start)}, 0);
</script>

yields 0 and then 3 but they should both be 3.

This bug was found by the newly added test:
LayoutTests/http/tests/w3c/html/semantics/grouping-content/the-ol-element/ol.start-reflection-2.html

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150905/94cc2110/attachment.html>


More information about the webkit-unassigned mailing list