Skip to content

Commit fade164

Browse files
committed
method org.htmlunit.javascript.host.css.CSSStyleSheet.validateSelectors(SelectorList, int, DomNode) does not forward the SelectorList to the implementation (regression from version 3.7.0)
1 parent ac576d0 commit fade164

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/changes/changes.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88

99
<body>
1010
<release version="3.11.0" date="February xx, 2024" description="Chrome/Edge 121, Firefox 122, many Neko improvements, Bugfixes">
11+
<action type="fix" dev="rbri">
12+
Method org.htmlunit.javascript.host.css.CSSStyleSheet.validateSelectors(SelectorList, int, DomNode) does not
13+
forward the SelectorList to the implementation (regression from version 3.7.0)
14+
</action>
1115
<action type="update" dev="rbri">
1216
Upgrade commons-codec to 1.16.1.
1317
</action>

src/main/java/org/htmlunit/javascript/host/css/CSSStyleSheet.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ public String getUri() {
365365
@Deprecated
366366
public static void validateSelectors(final SelectorList selectorList, final int documentMode,
367367
final DomNode domNode) throws CSSException {
368-
CssStyleSheet.validateSelectors(null, documentMode, domNode);
368+
CssStyleSheet.validateSelectors(selectorList, documentMode, domNode);
369369
}
370370

371371
private void initCssRules() {

0 commit comments

Comments
 (0)