diff --git a/src/main/java/org/htmlunit/javascript/host/css/CSSPageRule.java b/src/main/java/org/htmlunit/javascript/host/css/CSSPageRule.java
index f47c9f4977b..343cdaf9601 100644
--- a/src/main/java/org/htmlunit/javascript/host/css/CSSPageRule.java
+++ b/src/main/java/org/htmlunit/javascript/host/css/CSSPageRule.java
@@ -21,7 +21,6 @@
import static org.htmlunit.javascript.configuration.SupportedBrowser.EDGE;
import static org.htmlunit.javascript.configuration.SupportedBrowser.FF;
import static org.htmlunit.javascript.configuration.SupportedBrowser.FF_ESR;
-import static org.htmlunit.javascript.configuration.SupportedBrowser.IE;
import java.util.Locale;
@@ -74,7 +73,7 @@ protected CSSPageRule(final CSSStyleSheet stylesheet, final CSSPageRuleImpl rule
* Returns the textual representation of the selector for the rule set.
* @return the textual representation of the selector for the rule set
*/
- @JsxGetter({CHROME, EDGE, FF, IE})
+ @JsxGetter
public String getSelectorText() {
if (getBrowserVersion().hasFeature(JS_PAGERULE_SELECTORTEXT_EMPTY)) {
return "";
@@ -91,7 +90,7 @@ public String getSelectorText() {
* Sets the textual representation of the selector for the rule set.
* @param selectorText the textual representation of the selector for the rule set
*/
- @JsxSetter({CHROME, EDGE, FF})
+ @JsxSetter({CHROME, EDGE, FF, FF_ESR})
public void setSelectorText(final String selectorText) {
try {
getPageRule().setSelectorText(selectorText);
diff --git a/src/main/java/org/htmlunit/javascript/host/css/CSSStyleSheet.java b/src/main/java/org/htmlunit/javascript/host/css/CSSStyleSheet.java
index ffdda40031b..cb1d58c5da8 100644
--- a/src/main/java/org/htmlunit/javascript/host/css/CSSStyleSheet.java
+++ b/src/main/java/org/htmlunit/javascript/host/css/CSSStyleSheet.java
@@ -157,7 +157,7 @@ public CssStyleSheet getCssStyleSheet() {
* Returns the owner node.
* @return the owner node
*/
- @JsxGetter
+ @JsxGetter(IE)
public HTMLElement getOwnerNode() {
return ownerNode_;
}
@@ -175,7 +175,7 @@ public HTMLElement getOwningElement() {
* Retrieves the collection of rules defined in this style sheet.
* @return the collection of rules defined in this style sheet
*/
- @JsxGetter({CHROME, EDGE, IE})
+ @JsxGetter
public CSSRuleList getRules() {
return getCssRules();
}
@@ -194,7 +194,7 @@ public CSSRuleList getCssRules() {
* Returns the URL of the stylesheet.
* @return the URL of the stylesheet
*/
- @JsxGetter
+ @JsxGetter(IE)
public String getHref() {
if (ownerNode_ != null) {
final DomNode node = ownerNode_.getDomNodeOrDie();
diff --git a/src/test/java/org/htmlunit/general/ElementOwnPropertiesTest.java b/src/test/java/org/htmlunit/general/ElementOwnPropertiesTest.java
index 8c78afc93dd..a3a0d2afd20 100644
--- a/src/test/java/org/htmlunit/general/ElementOwnPropertiesTest.java
+++ b/src/test/java/org/htmlunit/general/ElementOwnPropertiesTest.java
@@ -137,6 +137,20 @@ private void testString(final String preparation, final String string) throws Ex
+ " \n"
+
+ + " \n"
+ + " \n"
+ + " \n"
+ + " \n"
+
+ LOG_TEXTAREA
+ "