Skip to content

Commit

Permalink
fix display style
Browse files Browse the repository at this point in the history
  • Loading branch information
rbri committed Oct 19, 2024
1 parent 3f22637 commit 49f8ea0
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/main/java/org/htmlunit/html/HtmlRp.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
*/
package org.htmlunit.html;

import static org.htmlunit.BrowserVersionFeatures.CSS_RT_DISPLAY_RUBY_TEXT_ALWAYS;

import java.util.Map;

import org.htmlunit.SgmlPage;
Expand Down Expand Up @@ -69,9 +67,6 @@ public boolean wasCreatedByJavascript() {
*/
@Override
public DisplayStyle getDefaultStyleDisplay() {
if (hasFeature(CSS_RT_DISPLAY_RUBY_TEXT_ALWAYS)) {
return DisplayStyle.INLINE;
}
if (wasCreatedByJavascript()) {
if (getParentNode() == null) {
return DisplayStyle.EMPTY;
Expand Down

0 comments on commit 49f8ea0

Please sign in to comment.