org.w3c.css.sac.CSSException: Invalid selector: :required

htmlunit | sirstrahd | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Incomplete list of CSS3 Pseudo Classes

    htmlunit | 7 months ago | sirstrahd
    org.w3c.css.sac.CSSException: Invalid selector: :required

    Root Cause Analysis

    1. org.w3c.css.sac.CSSException

      Invalid selector: :required

      at com.gargoylesoftware.htmlunit.javascript.host.css.CSSStyleSheet.validateSelectors()
    2. HtmlUnit
      HtmlSerializer.asText
      1. com.gargoylesoftware.htmlunit.javascript.host.css.CSSStyleSheet.validateSelectors(CSSStyleSheet.java:1457)
      2. com.gargoylesoftware.htmlunit.javascript.host.css.CSSStyleSheet.selectsPseudoClass(CSSStyleSheet.java:859)
      3. com.gargoylesoftware.htmlunit.javascript.host.css.CSSStyleSheet.selects(CSSStyleSheet.java:609)
      4. com.gargoylesoftware.htmlunit.javascript.host.css.CSSStyleSheet.selects(CSSStyleSheet.java:559)
      5. com.gargoylesoftware.htmlunit.javascript.host.css.CSSStyleSheet.selects(CSSStyleSheet.java:484)
      6. com.gargoylesoftware.htmlunit.javascript.host.css.CSSStyleSheet.modifyIfNecessary(CSSStyleSheet.java:274)
      7. com.gargoylesoftware.htmlunit.javascript.host.css.CSSStyleSheet.modifyIfNecessary(CSSStyleSheet.java:253)
      8. com.gargoylesoftware.htmlunit.javascript.host.Window.getComputedStyle(Window.java:1615)
      9. com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:315)
      10. com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:398)
      11. com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:325)
      12. com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:398)
      13. com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:325)
      14. com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:398)
      15. com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:325)
      16. com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:398)
      17. com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:325)
      18. com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:398)
      19. com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:325)
      20. com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:398)
      21. com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:325)
      22. com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendChildren(HtmlSerializer.java:398)
      23. com.gargoylesoftware.htmlunit.html.HtmlSerializer.appendNode(HtmlSerializer.java:325)
      24. com.gargoylesoftware.htmlunit.html.HtmlSerializer.asText(HtmlSerializer.java:65)
      24 frames