| Summary: | ol.start returns 0 on a reversed list if the layout had never happened | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ryosuke Niwa <rniwa> |
| Component: | DOM | Assignee: | 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 | ||
This is also introducing failures in html/semantics/grouping-content/the-ol-element/grouping-ol.html *** This bug has been marked as a duplicate of bug 161713 *** |
<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