-
Notifications
You must be signed in to change notification settings - Fork 10.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Normalize li
text-align
#334
Comments
I ran into this issue myself, but I'm using |
Firefox 45 and Chrome 48 both render the first testcase the same, as "Test .1" |
The older Chrome ≤ 20, Edge 12, Firefox ≤ 39, Internet Explorer 8-11, Opera ≤ 12, and Safari ≤ 6 put "Test" on the left. The newer Chrome 21 - 48, Firefox 40 - 43, Opera 15 - 34, and Safari 6.2 - 9 put "Test" on the right. However, this behavior seems to contradict the
This Oh, and for what it’s worth, Edge and Internet Explorer 8-11 add a line break between "1." and "Test". |
It is not clear in your comments if you guys have checked my testcase but if you did, you had to uncomment the first rule to see my "fix". Here is a version with the fix "on": http://codepen.io/thierry/pen/WrMXKw |
Yes, I did test both combinations. Until there is a fix for Edge, I recommend closing this issue based on how browsers have evolved since Chrome 20, Firefox 39, Opera 12, and Safari 6.0 (6.2 displays the same as modern browsers). |
Chrome and Firefox have different UA values of
text-align
forli
. It can result in different alignment of text inli
depending on the direction of text (LTR/RTL). I think a fix would be to addli {text-align:inherit;}
.Test case: http://codepen.io/anon/pen/fslyG (Firefox gets it "right").
The text was updated successfully, but these errors were encountered: