Issue: #338
Affects: IE6, IE7
The ordered list element
<ol> in HTML allows developers to present an ordered list of items. Believe it or not, 1 (one) CSS property can make it render as:
1,1,1,1,1,1,1,1,1,1 (in fact you'll never get a 2!)
You don't believe me, do you? ;-) I'm not surprised
I still can't believe it.
check out the example list below in any non-IE browser, and you will see the numbers 1,2,3,...8,9,10. View the
exact same page in IE (6 or 7), and you will only get 1,1,1,...1,1,1.
Example 1:- One One One One One One
- Two Two Two Two Two Two
- Three Three Three Three Three Three
- Four Four Four Four Four Four
- Five Five Five Five Five Five
- Six Six Six Six Six Six
- Seven Seven Seven Seven Seven Seven
- Eight Eight Eight Eight Eight Eight
- Nine Nine Nine Nine Nine Nine
- Ten Ten Ten Ten Ten Ten
All you need to do, to get IE to break, is set the CSS width property on the OL element, and the LI elements (inline or in a CSS selector/class.
But wait! there's more!, if you don't add the CSS width to the LI elements, just the OL element, you get this, the "Chris Angel" Ordered List, where ALL the numbers disappear!
Example 2:- One One One One One One
- Two Two Two Two Two Two
- Three Three Three Three Three Three
- Four Four Four Four Four Four
- Five Five Five Five Five Five
- Six Six Six Six Six Six
- Seven Seven Seven Seven Seven Seven
- Eight Eight Eight Eight Eight Eight
- Nine Nine Nine Nine Nine Nine
- Ten Ten Ten Ten Ten Ten
Known Workarounds: None.
Related Issues: None.