*
* @throws Exception if there was a problem running the test
*/
public void testRenderMarqueeForDivWithAllSet() throws Exception {
MutablePropertyValues properties = createPropertyValues();
properties.setComputedAndSpecifiedValue(
StylePropertyDetails.MCS_MARQUEE_STYLE,
MCSMarqueeStyleKeywords.SCROLL);
properties.setComputedAndSpecifiedValue(
StylePropertyDetails.MCS_MARQUEE_DIRECTION,
MCSMarqueeDirectionKeywords.LEFT);
properties.setComputedAndSpecifiedValue(
StylePropertyDetails.MCS_MARQUEE_REPETITION,
MCSMarqueeRepetitionKeywords.INFINITE);
properties.setComputedAndSpecifiedValue(
StylePropertyDetails.BACKGROUND_COLOR, StyleColorNames.ORANGE);
// Test that the div element is replaced if the device doesn't support
// the marquee css and does support the marquee element.
Element element = doMarqueeTest(true, false, properties, "div");