style_test.js
No description.

File Location

/goog/style/style_test.js


Public Protected Private

Global Functions

assertColorRgbEquals()
No description.
code »
assertCoordinateApprox()
Asserts that the coordinate is approximately equal to the given x and y coordinates, give or take delta.
code »
assertUserAgent(expectedAgentsuaStringopt_productopt_vendor)
Test browser detection for a user agent configuration.
Arguments:
expectedAgents : Array.<number>
Array of expected userAgents.
uaString : string
User agent string.
opt_product : string=
Navigator product string.
opt_vendor : string=
Navigator vendor string.
code »
testGetBorderBox&getBorderBox()
No description.
code »
testGetBorderBoxSize&getBorderBoxSize()
No description.
code »
testGetContentBoxSize&getContentBoxSize()
No description.
code »
testGetMarginBox&getMarginBox()
No description.
code »
testGetPaddingBox&getPaddingBox()
No description.
code »
hasWebkitTransform()
No description.
code »
isChrome19()
No description.
code »
testSetBorderBoxSize&setBorderBoxSize()
No description.
code »
testSetContentBoxSize&setContentBoxSize()
No description.
code »
setUp()
No description.
code »
setUpPage()
No description.
code »
tearDown()
No description.
code »
testFramedPageOffset()
No description.
code »
testGeckoMacOrX11RoundPosition()
No description.
code »
testGetBackgroundColor()
No description.
code »
testGetBorderBox()
No description.
code »
testGetBorderBoxSize()
No description.
code »
testGetBounds()
No description.
code »
testGetClientPositionAbsPositionElement()
No description.
code »
testGetClientPositionAbstractedTouchEvent()
No description.
code »
testGetClientPositionEvent()
No description.
code »
testGetClientPositionNestedElements()
No description.
code »
testGetClientPositionOfOffscreenElement()
No description.
code »
testGetClientPositionOfOrphanElement()
No description.
code »
testGetClientPositionTouchEvent()
No description.
code »
testGetComputedBoxSizing()
No description.
code »
testGetComputedCursor()
No description.
code »
testGetComputedOverflowXAndY()
No description.
code »
testGetComputedPosition()
No description.
code »
testGetComputedStyleFilter()
No description.
code »
testGetComputedStyleMsFilter()
No description.
code »
testGetComputedTextAlign()
No description.
code »
testGetComputedZIndex()
No description.
code »
testGetContentBoxSize()
No description.
code »
testGetFloat()
No description.
code »
testGetFontFamily()
No description.
code »
testGetFontSize()
No description.
code »
testGetLengthUnits()
No description.
code »
testGetMarginBox()
No description.
code »
testGetOpacity()
No description.
code »
testGetPaddingBox()
No description.
code »
testGetPaddingBoxUnattached()
No description.
code »
testGetPageOffsetAbsPositionedElement()
No description.
code »
testGetPageOffsetElementOffscreen()
No description.
code »
testGetPageOffsetFixedPositionElements()
No description.
code »
testGetPageOffsetNestedElements()
No description.
code »
testGetPageOffsetWithBodyPadding()
No description.
code »
testGetPageOffsetWithDocumentElementPadding()
No description.
code »
testGetPositionTolerantToNoDocumentElementBorder()
No description.
code »
testGetSize()
No description.
code »
testGetSizeInlineBlock()
No description.
code »
testGetSizeOfOrphanElement()
No description.
code »
testGetSizeSvgDocument()
No description.
code »
testGetSizeSvgElements()
No description.
code »
testGetSizeTransformedRotated()
No description.
code »
testGetSizeTransformedScaled()
No description.
code »
testGetStyle()
No description.
code »
testGetStyleFilter()
No description.
code »
testGetStyleMsFilter()
No description.
code »
testGetVendorJsStyleNameGecko()
Test for the proper vendor style name for a CSS property with a vendor prefix for Gecko.
code »
testGetVendorJsStyleNameGeckoNoPrefix()
Test for the proper vendor style name for a CSS property when it exists without a vendor prefix for Gecko.
code »
testGetVendorJsStyleNameIE()
Test for the proper vendor style name for a CSS property with a vendor prefix for IE.
code »
testGetVendorJsStyleNameIENoPrefix()
Test for the proper vendor style name for a CSS property when it exists without a vendor prefix for IE.
code »
testGetVendorJsStyleNameOpera()
Test for the proper vendor style name for a CSS property with a vendor prefix for Opera.
code »
testGetVendorJsStyleNameOperaNoPrefix()
Test for the proper vendor style name for a CSS property when it exists without a vendor prefix for Opera.
code »
testGetVendorJsStyleNameWebkit()
Test for the proper vendor style name for a CSS property with a vendor prefix for Webkit.
code »
testGetVendorJsStyleNameWebkitNoPrefix()
Test for the proper vendor style name for a CSS property when it exists without a vendor prefix for Webkit.
code »
testGetVendorStyleGecko()
Test for the getting a style name for a CSS property with a vendor prefix for Mozilla.
code »
testGetVendorStyleIE()
Test for the getting a style name for a CSS property with a vendor prefix for IE.
code »
testGetVendorStyleNameGecko()
Test for the proper vendor style name for a CSS property with a vendor prefix for Gecko.
code »
testGetVendorStyleNameGeckoNoPrefix()
Test for the proper vendor style name for a CSS property when it exists without a vendor prefix for Gecko.
code »
testGetVendorStyleNameIE()
Test for the proper vendor style name for a CSS property with a vendor prefix for IE.
code »
testGetVendorStyleNameIENoPrefix()
Test for the proper vendor style name for a CSS property when it exists without a vendor prefix for IE.
code »
testGetVendorStyleNameOpera()
Test for the proper vendor style name for a CSS property with a vendor prefix for Opera.
code »
testGetVendorStyleNameOperaNoPrefix()
Test for the proper vendor style name for a CSS property when it exists without a vendor prefix for Opera.
code »
testGetVendorStyleNameWebkit()
Test for the proper vendor style name for a CSS property with a vendor prefix for Webkit.
code »
testGetVendorStyleNameWebkitNoPrefix()
Test for the proper vendor style name for a CSS property when it exists without a vendor prefix for Webkit.
code »
testGetVendorStyleOpera()
Test for the getting a style name for a CSS property with a vendor prefix for Opera.
code »
testGetVendorStyleWebkit()
Test for the getting a style name for a CSS property with a vendor prefix for Webkit.
code »
testGetViewportPageOffset()
No description.
code »
testGetVisibleRectForElement()
No description.
code »
testGetVisibleRectForElementInsideNestedScrollableArea()
No description.
code »
testGetVisibleRectForElementWithBodyScrolled()
No description.
code »
testGetVisibleRectForElementWithNestedAreaAndNonOffsetAncestor()
No description.
code »
testGetsTranslation()
No description.
code »
testInstallStyles()
No description.
code »
testIsElementShown()
No description.
code »
testIsRightToLeft()
No description.
code »
testOffsetParent()
No description.
code »
testOverflowOffsetParent()
No description.
code »
testParseStyleAttribute()
No description.
code »
testPosWithAbsoluteAndScroll()
No description.
code »
testPosWithAbsoluteAndWindowScroll()
No description.
code »
testScrollIntoContainerViewQuirks()
No description.
code »
testScrollIntoContainerViewStandard()
No description.
code »
testSetBorderBoxSize()
No description.
code »
testSetContentBoxSize()
No description.
code »
testSetFloat()
No description.
code »
testSetOpacity()
No description.
code »
testSetPosition()
No description.
code »
testSetSize()
No description.
code »
testSetStyle()
No description.
code »
testSetStyleMap()
No description.
code »
testSetStyleWithNonCamelizedString()
No description.
code »
testSetStyles()
No description.
code »
testSetVendorStyleGecko()
Test for the setting a style name for a CSS property with a vendor prefix for Mozilla.
code »
testSetVendorStyleIE()
Test for the setting a style name for a CSS property with a vendor prefix for IE.
code »
testSetVendorStyleOpera()
Test for the setting a style name for a CSS property with a vendor prefix for Opera.
code »
testSetVendorStyleWebkit()
Test for the setting a style name for a CSS property with a vendor prefix for Webkit.
code »
testSetWidthAndHeight()
No description.
code »
testStyleAttributePassthrough()
No description.
code »
testToStyleAttribute()
No description.
code »
testTranslateRectForAnotherFrame()
No description.
code »

Global Variables

isBorderBox :
No description.
Code »

Directory style

File Reference