private static boolean usesAbsoluteSizeKeywordForFontSize( View view ) {
		AttributeSet attributes = view.getAttributes();
		if( attributes != null ) {
			Object fontSize = attributes.getAttribute( CSS.Attribute.FONT_SIZE );
			if( fontSize != null ) {
				if( absoluteSizeKeywordsSet.contains( fontSize.toString() ) )
					return true;
			}
		}

		int viewCount = view.getViewCount();
		for( int i = 0; i < viewCount; i++ ) {
			if( usesAbsoluteSizeKeywordForFontSize( view.getView( i ) ) )
				return true;
		}

		return false;
	}
Checks whether view uses "absolute-size" keywords (e.g. "x-large") for font-size
(see javax/swing/text/html/default.css).
flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatHTML.java