I vaguely remember when I did the upgrade to htmlunit for crawler <https://github.com/jenkins-infra/crawler/commit/098121198dd1fe6ac1d9e7b321cddfae5c806d9f> that there was a flag to say what version of the browser to act as. I think the default is like Firefox 4 or something. ( https://htmlunit.sourceforge.io/apidocs/com/gargoylesoftware/htmlunit/BrowserVersion.html possibly?) does the default value need to be updated somewhere?
Digging into it a bit, I'm seeing "BEST_SUPPORTED" at https://github.com/jenkinsci/jenkins-test-harness/blob/e14c168c8a573d7da7bb3360bd85dc3a4852665a/src/main/java/org/jvnet/hudson/test/JenkinsRule.java#L2231 but I have no idea what that means. https://github.com/HtmlUnit/htmlunit/blob/master/src/main/java/com/gargoylesoftware/htmlunit/BrowserVersion.java#L109-L119 seems to imply chrome 90 and chrome 90 should have full css variable support, so something is wacky? On Mon, May 10, 2021 at 8:24 AM Jesse Glick <[email protected]> wrote: > On Mon, May 10, 2021 at 10:31 AM Michael Tughan <[email protected]> wrote: > >> I'm betting that it hasn't been updated for new CSS3 syntax >> > > If so, it is worth checking if there is an HtmlUnit update > <https://github.com/jenkinsci/jenkins-test-harness-htmlunit/pull/24> > which would correct the problem; and if not, file an issue upstream. > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr33yk7prBaNdUkDj%3D%3D6sn99DZmCUAg5AzW1xvdNRgJS0Q%40mail.gmail.com > <https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr33yk7prBaNdUkDj%3D%3D6sn99DZmCUAg5AzW1xvdNRgJS0Q%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAG%3D_DuuiQTMOenY%3D0m9_cPscXziB6kDtJsnOYc6aiMa%3DL9eOkA%40mail.gmail.com.
