From da3012b57cb1ce8a55b4dd339390b0fe117e8911 Mon Sep 17 00:00:00 2001 From: Jason Johnston Date: Mon, 4 Apr 2011 09:51:43 -0600 Subject: [PATCH] Add docs for -pie-poll --- documentation/supported-css3-features.html | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/documentation/supported-css3-features.html b/documentation/supported-css3-features.html index 59035aa..c619b70 100644 --- a/documentation/supported-css3-features.html +++ b/documentation/supported-css3-features.html @@ -29,6 +29,7 @@

Supported CSS3 Features

  • -pie-watch-ancestors
  • PNG alpha transparency and -pie-png-fix
  • Lazy Initialization (-pie-lazy-init)
  • +
  • Layout polling (-pie-poll)
  • @@ -375,6 +376,24 @@

    Lazy Initialization (-pie-lazy-init)

    keeps the initial page load snappy without severely limiting the number of elements you can render.

    + +

    Layout Polling (-pie-poll)

    + +

    In general PIE is quite good at detecting changes to the size and position of the elements to which it +is attached and automatically adjusting its rendering to match. It does this by listening to the IE-specific +onmove and onresize events for each target element. In the majority of cases this +works seamlessly; in rare cases, however, IE does not fire these events when it should, and PIE gets out of sync.

    + +

    To help users get around these cases, PIE has a second method for tracking size and position changes: polling. +When polling is enabled for an element, PIE will manually query that element's layout several times a second, and +if the layout has changed then it will adjust the rendering.

    + +

    Polling is enabled by default for all elements in IE8 (as that version is particularly bad about not firing +the events) and disabled in IE 6 and 7. Users can override these defaults +to force polling on or off for individual elements by setting a custom CSS property: just specify +-pie-poll:true; to force polling on for an element, or -pie-poll:false; to disable it.

    + +