Class Configuration.QuirksSettings
- Enclosing class:
Configuration
A type containing quirks settings.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionsetCaseSensitiveClassSelectors
(Configuration.QuirksMode caseSensitiveClassSelectors) By default in HTML CSS class selectors are case sensitive.setMinLineHeightFromContainer
(Configuration.QuirksMode minLineHeightFromContainer) By default the line-height of text containers, e.g.
-
Constructor Details
-
QuirksSettings
public QuirksSettings()
-
-
Method Details
-
setCaseSensitiveClassSelectors
public Configuration.QuirksSettings setCaseSensitiveClassSelectors(Configuration.QuirksMode caseSensitiveClassSelectors) By default in HTML CSS class selectors are case sensitive.
In the default
Configuration.QuirksMode.DETECT
mode this behavior is disabled for old HTML doctypes or when there is no doctype.To enable or disable it independently of the document this property can be set to
Configuration.QuirksMode.STANDARDS
orConfiguration.QuirksMode.QUIRKS
respectively. -
setMinLineHeightFromContainer
public Configuration.QuirksSettings setMinLineHeightFromContainer(Configuration.QuirksMode minLineHeightFromContainer) By default the line-height of text containers, e.g. paragraph elements, is used as the minimum line-height of their lines.
In the default
Configuration.QuirksMode.DETECT
mode this behavior is disabled for old HTML doctypes or when there is no doctype.To enable or disable it independently of the document this property can be set to
Configuration.QuirksMode.STANDARDS
orConfiguration.QuirksMode.QUIRKS
respectively.
-