()
| 1974 | } |
| 1975 | |
| 1976 | private void calculateBase() { |
| 1977 | final List<HtmlElement> baseElements = getDocumentElement().getStaticElementsByTagName("base"); |
| 1978 | |
| 1979 | base_ = null; |
| 1980 | for (final HtmlElement baseElement : baseElements) { |
| 1981 | if (baseElement instanceof HtmlBase base) { |
| 1982 | if (base_ != null) { |
| 1983 | notifyIncorrectness("Multiple 'base' detected, only the first is used."); |
| 1984 | break; |
| 1985 | } |
| 1986 | base_ = base; |
| 1987 | } |
| 1988 | } |
| 1989 | } |
| 1990 | |
| 1991 | /** |
| 1992 | * Loads the content of the contained frames. This is done after the page is completely loaded, to allow script |
no test coverage detected