Description of various user agent (browser) properties. To fill the properties with values from
the user agent you need to probe the browser using javascript and request header analysis. Wicket
provides a default implementation of this in BrowserInfoPage.

A convenient way of letting Wicket do a sneaky redirect to BrowserInfoPage (and back
again) is to put this in your Application's init method:

getRequestCycleSettings().setGatherExtendedBrowserInfo(true);

WARNING: Be sure you think about the dangers of depending on information you pull from the client
too much. They may be easily spoofed or inaccurate in other ways, and properties like window and
browser size are all too easy to be used naively.

isQuirkCssBorderCollapseInside()
A quirk flag indicating whether the client will incorrectly render CSS collapsed borders such
that they reside entirely within the region of a component.

boolean

isQuirkCssPositioningOneSideOnly()
A quirk flag indicating that CSS positioning values do not work correctly when either both
"top" and "bottom" or "left" and "right" positions are set at the same time.

boolean

isQuirkIERepaint()
A quirk flag describing the curious repaint behavior found in Internet Explorer 6, where
repaints may be excessively delayed.

isQuirkMozillaTextInputRepaint()
A quirk flag describing a Mozilla-specific behavior where the text contained within text
input fields may be drawn outside of text input component due to the component having shifted
its location on the page.

void

setBrowserChrome(boolean browserChrome)
Flag indicating that the browser is a derivative of the Chrome browser platform.

getTimeZone

getUtcDSTOffset

The client's time DST offset from UTC in minutes (note: if you do this yourself, use
'new Date(new Date().getFullYear(), 0, 6, 0, 0, 0, 0).getTimezoneOffset() / -60'
(note the -)).

getUtcOffset

public java.lang.String getUtcOffset()

Returns:

The client's time offset from UTC in minutes (note: if you do this yourself, use 'new
Date(new Date().getFullYear(), 0, 1, 0, 0, 0, 0).getTimezoneOffset() / -60' (note the
-)).

isBrowserInternetExplorer

public boolean isBrowserInternetExplorer()

Flag indicating that the browser is a derivative of the Microsoft Internet Explorer browser
platform.

Returns:

True if a derivative of the Microsoft Internet Explorer browser platform.

isBrowserKonqueror

public boolean isBrowserKonqueror()

Flag indicating that the browser is a derivative of the KDE Konqueror browser platform.

Returns:

True if a derivative of the KDE Konqueror browser platform.

isBrowserMozilla

public boolean isBrowserMozilla()

Flag indicating that the browser is a derivative of the Mozilla 1.0-1.8+ browser platform.

Returns:

True if a derivative of the Mozilla 1.0-1.8+ browser platform.

isBrowserMozillaFirefox

public boolean isBrowserMozillaFirefox()

Flag indicating that the browser is a derivative of the Mozilla Firefox 1.0+ browser
platform.

Returns:

True if a derivative of the Mozilla Firefox 1.0+ browser platform.

isBrowserOpera

public boolean isBrowserOpera()

Flag indicating that the browser is a derivative of the Opera browser platform.

Returns:

True if a derivative of the Opera browser platform.

isBrowserSafari

public boolean isBrowserSafari()

Flag indicating that the browser is a derivative of the Apple Safari browser platform.

Returns:

True if a derivative of the Apple Safari browser platform.

isBrowserChrome

public boolean isBrowserChrome()

Flag indicating that the browser is a derivative of the Chrome browser platform.

Returns:

True if a derivative of the Chrome browser platform.

isCookiesEnabled

public boolean isCookiesEnabled()

Returns:

The client's navigator.cookieEnabled property.

isJavaEnabled

public boolean isJavaEnabled()

Returns:

The client's navigator.javaEnabled property.

isProprietaryIECssExpressionsSupported

public boolean isProprietaryIECssExpressionsSupported()

A proprietary feature flag indicating support for IE-style CSS expressions.

This proprietary feature is provided by:

Internet Explorer 6 (Windows)

Returns:

True if support for IE-style CSS expressions.

isProprietaryIEPngAlphaFilterRequired

public boolean isProprietaryIEPngAlphaFilterRequired()

A proprietary feature flag indicating that PNG alpha channel support is available only by
using a 'filter'.

This proprietary feature is provided by:

Internet Explorer 6 (Windows)

Returns:

True if PNG alpha channel support is available only by using a 'filter'.

isQuirkCssBackgroundAttachmentUseFixed

public boolean isQuirkCssBackgroundAttachmentUseFixed()

A quirk flag indicating that the 'fixed' attribute should be used to for fixed-to-element
background attachment.

This quirk occurs with:

Internet Explorer 6 (Windows)

Returns:

True if the 'fixed' attribute should be used to for fixed-to-element background
attachment.

isQuirkCssBorderCollapseFor0Padding

public boolean isQuirkCssBorderCollapseFor0Padding()

A quirk flag indicating the only means of achieving 0 padding in table cells is to use 0px
padding.

This quirk occurs with:

Internet Explorer 6 (Windows)

Returns:

True if the only means of achieving 0 padding in table cells is to use 0px padding.

isQuirkCssBorderCollapseInside

public boolean isQuirkCssBorderCollapseInside()

A quirk flag indicating whether the client will incorrectly render CSS collapsed borders such
that they reside entirely within the region of a component.

This quirk occurs with:

Internet Explorer 6 (Windows)

Returns:

True if the client will incorrectly render CSS collapsed borders such that they
reside entirely within the region of a component.

isQuirkCssPositioningOneSideOnly

public boolean isQuirkCssPositioningOneSideOnly()

A quirk flag indicating that CSS positioning values do not work correctly when either both
"top" and "bottom" or "left" and "right" positions are set at the same time.

This quirk occurs with:

Internet Explorer 6 (Windows)

Returns:

True if CSS positioning values do not work correctly when either both "top" and
"bottom" or "left" and "right" positions are set at the same time.

isQuirkIERepaint

public boolean isQuirkIERepaint()

A quirk flag describing the curious repaint behavior found in Internet Explorer 6, where
repaints may be excessively delayed. This quirky behavior is most visible when the DOM
hierarchy is large and complex. The unlikely workaround for this quirky behavior is to
"tickle" (adjust and then reset) the CSS width of an element, which will force an immediate
repaint.

This quirk occurs with:

Internet Explorer 6 (Windows)

Returns:

True if means needs to be taken against weird Internet Explorer repaint behaviors.

isQuirkIESelectPercentWidth

A quirk flag indicating that select fields with percentage widths are not reliably rendered.

This quirk occurs with:

Internet Explorer 6 (Windows)

Returns:

True if select fields with percentage widths are not reliably rendered.

isQuirkIESelectZIndex

public boolean isQuirkIESelectZIndex()

A quirk flag describing the issue of "windowed" select fields in Internet Explorer, which do
not render correctly with regard to z-index value. See
http://support.microsoft.com/kb/q177378/ for an explanation of the underlying issue.

This quirk occurs with:

Internet Explorer 6 (Windows)

Returns:

True if the browser do not render correctly with regard to z-index value.

isQuirkIETablePercentWidthScrollbarError

public boolean isQuirkIETablePercentWidthScrollbarError()

A quirk flag indicating incorrect calculation of 100% table widths when within a vertically
scrolling region.

This quirk occurs with:

Internet Explorer 6 (Windows)

Returns:

True if incorrect calculation of 100% table widths when within a vertically scrolling
region.

isQuirkIETextareaNewlineObliteration

public boolean isQuirkIETextareaNewlineObliteration()

A quirk flag indicating the incorrect parsing of newlines in the content of a 'textarea'.

This quirk occurs with:

Internet Explorer 6 (Windows)

Returns:

True if the browser has incorrect parsing of newlines in the content of a 'textarea'.

isQuirkMozillaPerformanceLargeDomRemove

public boolean isQuirkMozillaPerformanceLargeDomRemove()

A quirk flag indicating whether the client has poor performance when attempting to remove
large element hierarchies from a DOM. This quirk can be alleviated by removing the hierarchy
in smaller chunks.

This quirk occurs with:

Mozilla (all platforms)

Mozilla Firefox ((all platforms)

Returns:

True if the client has poor performance when attempting to remove large element
hierarchies from a DOM.

isQuirkMozillaTextInputRepaint

public boolean isQuirkMozillaTextInputRepaint()

A quirk flag describing a Mozilla-specific behavior where the text contained within text
input fields may be drawn outside of text input component due to the component having shifted
its location on the page.

This quirk occurs with:

Mozilla (all platforms)

Mozilla Firefox ((all platforms)

Returns:

True if the text contained within text input fields may be drawn outside of text
input component due to the component having shifted its location on the page.