public static class Configuration.QuirksSettings extends Object
A type containing quirks settings.
Constructor and Description |
---|
QuirksSettings() |
Modifier and Type | Method and Description |
---|---|
Configuration.QuirksSettings |
setCaseSensitiveClassSelectors(Configuration.QuirksMode caseSensitiveClassSelectors)
By default in HTML CSS class selectors are case sensitive.
|
Configuration.QuirksSettings |
setMinLineHeightFromContainer(Configuration.QuirksMode minLineHeightFromContainer)
By default the line-height of text containers, e.g.
|
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
or Configuration.QuirksMode.QUIRKS
respectively.
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
or Configuration.QuirksMode.QUIRKS
respectively.
This doc was generated on 2020-09-17. Copyright © 2002-2020 RealObjects GmbH. All Rights Reserved.