I have this simple html page: <HTML> <BODY> <CENTER> <OL> <LI>aaaa</LI> <LI>bbbb</LI> </OL> </CENTER> </BODY> Expected Result: List should be center aligned i.e the list marker (e.g 1,2 etc) and the List item (e.g aaa in our case) should both be center aligned. Actual Result: List is not center aligned. the list marker's (e.g 1,2 etc) are left aligned and the List item's (e.g aaa in our case) are center aligned. </HTML>
Still an issue with r82895.
(In reply to comment #1) > Still an issue with r82895. I tested this code like below and it made same result. -- No.1 -- <html> <head> <style type="text/css"> li {text-align:center;} </style> </head> <body> <OL> <LI>aaaa</LI> <LI>bbbb</LI> </OL> </body> </html> -- No. 2 -- <html> <head> <style type="text/css"> OL {text-align:center;} </style> </head> <body> <OL> <LI>aaaa</LI> <LI>bbbb</LI> </OL> </body> </html>
WebKit behavior is right as discussed on this Firefox bug: https://bugzilla.mozilla.org/show_bug.cgi?id=25291 You can check it with the following test from W3C csswg-test repo: http://test.csswg.org/suites/css2.1/nightly-unstable/html4/list-style-position-018.htm Only browser behaving different is Firefox, so it seems pretty clear that the bug is on their side.