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
"nth-child" CSS selector broken on CentOS #1441
Comments
Must be a CentOS 7 issue. The sh#tty distro still uses libxml 2.9.1 which has a major bug. More info: |
We'll just say it's CentOS bug. |
Thank ... goodness (?). But that's a bummer. |
This would be good for a "known issues" document. Re-opening until I have a chance to work through documentation updates related to the 0.8.0 release. |
is there a wokaround for this? |
@T0miii Either use "nth-of-type" instead of "nth-child" or switch to another linux distro. CentOS 7.5 still uses buggy version of libxml2. |
@hakimio nth-of-type helped, thx a lot. We are planing to switch to ubuntu early next year. |
Started a wiki page for known compatibility issues. |
Following two CSS rules produce different results on CentOS even they work exactly the same on Windows. "nth-child" applies the specified background to the whole table while "nth-of-type" correctly applies the background to "even" rows.
Could it be because CentOS uses old version of libxml?
EDIT: Extra info:
PHP: 7.1.4 (from Remi RPM repository)
CentOS: centos-release-7-3.1611.el7.centos.x86_64 (CentOS 7 on MS Azure)
The text was updated successfully, but these errors were encountered: