Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
import org.w3c.dom.Element;
import org.w3c.dom.css.CSSStyleDeclaration;
import org.w3c.dom.css.CSSValue;
import org.w3c.dom.css.ViewCSS;
import org.w3c.dom.views.DocumentView;

/**
* CSS Engine interface used to parse style sheet and apply styles to something
Expand Down Expand Up @@ -191,25 +189,6 @@ public interface CSSEngine {
*/
CSSStyleDeclaration computeStyle(Element element, String pseudoElt);

/**
* Binary-compatibility bridge for callers compiled against the removed
* W3C cascade accessor; use {@link #computeStyle(Element, String)}.
*/
@Deprecated(forRemoval = true, since = "2026-06")
default ViewCSS getViewCSS() {
return new ViewCSS() {
@Override
public DocumentView getDocument() {
return null;
}

@Override
public CSSStyleDeclaration getComputedStyle(Element elt, String pseudoElt) {
return computeStyle(elt, pseudoElt);
}
};
}

/*--------------- w3c Element -----------------*/

/**
Expand Down
Loading