/src/main/java/org/htmlunit/html/HtmlStyle.java
if ( cached == null) {
if ( cached != null ) {
if (sheet_ != null) { return sheet_; } final Cache cache = getPage().getWebClient().getCache(); final CSSStyleSheetImpl cached = cache.getCachedStyleSheet(getTextContent()); final String uri = getPage().getWebResponse().getWebRequest().getUrl().toExternalForm(); <extra_id_0> sheet_ = new CssStyleSheet(this, cached, uri); } else { final String css = getTextContent(); try (InputSource source = new InputSource(new StringReader(css))) { sheet_ = new CssStyleSheet(this, source, uri);