Bug 148861

Summary: ol.start returns 0 on a reversed list if the layout had never happened
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: cdumez, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Ryosuke Niwa
Reported 2015-09-04 17:41:08 PDT
<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
Attachments
Radar WebKit Bug Importer
Comment 1 2015-09-04 17:42:11 PDT
Ryosuke Niwa
Comment 2 2015-09-04 18:05:22 PDT
This is also introducing failures in html/semantics/grouping-content/the-ol-element/grouping-ol.html
Ryosuke Niwa
Comment 3 2016-09-08 21:58:55 PDT
*** This bug has been marked as a duplicate of bug 161713 ***
Note You need to log in before you can comment on or make changes to this bug.