Ticket #263 (closed enhancement: fixed)

Opened 3 months ago

Last modified 3 months ago

CSS Exceptions using HTMLUnit and Rhino

Reported by: fcohen Owned by:
Priority: critical Milestone:
Version: 5.2 Keywords:
Cc:

Description

This ticket investigates the root cause of a problem when using TestGen4Web and HTMLUnit. The first step in my recorded test is a GOTO. HTMLUnit throws a bunch of warnings and exceptions that I can safely ignore. These are CSS issues. The second step tries to verify the load page. HTMLUnit, by itself and not in a Node, throws the warnings but loads the page.

I observed this at a customer of PushToTest. Google searches revealed others running into the same problem using HTMLUnit and Rhino. See:

http://osdir.com/ml/java.htmlunit.devel/2006-03/msg00061.html

'======================================================='
'Untitled: Functional test of a Web application '
'======================================================='
'Test created by TestMaker from http://www.pushtotest.com'

- parsing file:/Users/frankcohen/supportland/InternationalAssets/smalltest/pttfrozen1_IASmall.tg4w
2008-06-24 14:58:31,178 [Thread-92] INFO  com.spike.tg4w.htmlunit - parsing file:/Users/frankcohen/supportland/InternationalAssets/smalltest/pttfrozen1_IASmall.tg4w
- setDatasets: Total datasets:0
2008-06-24 14:58:31,182 [Thread-92] INFO  com.spike.tg4w.htmlunit - setDatasets: Total datasets:0
step 1
- Step start: 0 type=goto
2008-06-24 14:58:31,184 [Thread-92] INFO  com.spike.tg4w.htmlunit - Step start: 0 type=goto
- changing url to page: https://s02qaapp01/dispatchmanager/login.action
2008-06-24 14:58:31,184 [Thread-92] INFO  com.spike.tg4w.htmlunit - changing url to page: https://s02qaapp01/dispatchmanager/login.action
- Nothing done for execCommand(BackgroundImageCache, ...) (feature not implemented)
2008-06-24 14:58:31,607 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Document - Nothing done for execCommand(BackgroundImageCache, ...) (feature not implemented)
- CSS error: null [17:26] Error in expression. Invalid token "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>, <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>, <FUNCTION>, <IDENT>.
2008-06-24 14:58:31,985 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS error: null [17:26] Error in expression. Invalid token "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>, <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>, <FUNCTION>, <IDENT>.
- CSS error: null [17:31] Error in style rule. Invalid token "\n    ". Was expecting one of: "}", ";".
2008-06-24 14:58:31,986 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS error: null [17:31] Error in style rule. Invalid token "\n    ". Was expecting one of: "}", ";".
- CSS warning: null [17:31] Ignoring the following declarations in this rule.
2008-06-24 14:58:31,986 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS warning: null [17:31] Ignoring the following declarations in this rule.
- CSS error: null [49:26] Error in expression. Invalid token "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>, <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>, <FUNCTION>, <IDENT>.
2008-06-24 14:58:31,988 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS error: null [49:26] Error in expression. Invalid token "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>, <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>, <FUNCTION>, <IDENT>.
- CSS error: null [49:30] Error in style rule. Invalid token "\n". Was expecting one of: "}", ";".
2008-06-24 14:58:31,988 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS error: null [49:30] Error in style rule. Invalid token "\n". Was expecting one of: "}", ";".
- CSS warning: null [49:30] Ignoring the following declarations in this rule.
2008-06-24 14:58:31,988 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS warning: null [49:30] Ignoring the following declarations in this rule.
- CSS error: null [94:26] Error in expression. Invalid token "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>, <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>, <FUNCTION>, <IDENT>.
2008-06-24 14:58:31,990 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS error: null [94:26] Error in expression. Invalid token "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>, <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>, <FUNCTION>, <IDENT>.
- CSS error: null [94:31] Error in style rule. Invalid token "\n". Was expecting one of: "}", ";".
2008-06-24 14:58:31,991 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS error: null [94:31] Error in style rule. Invalid token "\n". Was expecting one of: "}", ";".
- CSS warning: null [94:31] Ignoring the following declarations in this rule.
2008-06-24 14:58:31,991 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS warning: null [94:31] Ignoring the following declarations in this rule.
- CSS error: null [282:26] Error in expression. Invalid token "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>, <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>, <FUNCTION>, <IDENT>.
2008-06-24 14:58:31,996 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS error: null [282:26] Error in expression. Invalid token "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>, <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>, <FUNCTION>, <IDENT>.
- CSS error: null [282:30] Error in style rule. Invalid token "\n". Was expecting one of: "}", ";".
2008-06-24 14:58:31,997 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS error: null [282:30] Error in style rule. Invalid token "\n". Was expecting one of: "}", ";".
- CSS warning: null [282:30] Ignoring the following declarations in this rule.
2008-06-24 14:58:31,997 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS warning: null [282:30] Ignoring the following declarations in this rule.
- CSS error: null [926:29] Error in expression. Invalid token "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>, <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>, <FUNCTION>, <IDENT>.
2008-06-24 14:58:32,014 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS error: null [926:29] Error in expression. Invalid token "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>, <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>, <FUNCTION>, <IDENT>.
- CSS error: null [926:34] Error in style rule. Invalid token "\n". Was expecting one of: "}", ";".
2008-06-24 14:58:32,014 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS error: null [926:34] Error in style rule. Invalid token "\n". Was expecting one of: "}", ";".
- CSS warning: null [926:34] Ignoring the following declarations in this rule.
2008-06-24 14:58:32,014 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS warning: null [926:34] Ignoring the following declarations in this rule.
- CSS error: null [1064:30] Error in expression. Invalid token "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>, <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>, <FUNCTION>, <IDENT>.
2008-06-24 14:58:32,018 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS error: null [1064:30] Error in expression. Invalid token "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>, <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>, <FUNCTION>, <IDENT>.
- CSS error: null [1064:34] Error in style rule. Invalid token "\n\t ". Was expecting one of: "}", ";".
2008-06-24 14:58:32,019 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS error: null [1064:34] Error in style rule. Invalid token "\n\t ". Was expecting one of: "}", ";".
- CSS warning: null [1064:34] Ignoring the following declarations in this rule.
2008-06-24 14:58:32,019 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS warning: null [1064:34] Ignoring the following declarations in this rule.
- CSS error: null [1135:25] Error in expression. Invalid token "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>, <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>, <FUNCTION>, <IDENT>.
2008-06-24 14:58:32,029 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS error: null [1135:25] Error in expression. Invalid token "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>, <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>, <FUNCTION>, <IDENT>.
- CSS error: null [1135:31] Error in style rule. Invalid token "\n\t ". Was expecting one of: "}", ";".
2008-06-24 14:58:32,031 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS error: null [1135:31] Error in style rule. Invalid token "\n\t ". Was expecting one of: "}", ";".
- CSS warning: null [1135:31] Ignoring the following declarations in this rule.
2008-06-24 14:58:32,031 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS warning: null [1135:31] Ignoring the following declarations in this rule.
- CSS error: null [1189:26] Error in expression. Invalid token "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>, <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>, <FUNCTION>, <IDENT>.
2008-06-24 14:58:32,034 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS error: null [1189:26] Error in expression. Invalid token "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>, <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>, <FUNCTION>, <IDENT>.
- CSS error: null [1189:30] Error in style rule. Invalid token "\n". Was expecting one of: "}", ";".
2008-06-24 14:58:32,036 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS error: null [1189:30] Error in style rule. Invalid token "\n". Was expecting one of: "}", ";".
- CSS warning: null [1189:30] Ignoring the following declarations in this rule.
2008-06-24 14:58:32,036 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS warning: null [1189:30] Ignoring the following declarations in this rule.
- CSS error: null [1705:25] Error in expression. Invalid token "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>, <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>, <FUNCTION>, <IDENT>.
2008-06-24 14:58:32,050 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS error: null [1705:25] Error in expression. Invalid token "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>, <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>, <FUNCTION>, <IDENT>.
- CSS error: null [1705:30] Error in style rule. Invalid token "\n". Was expecting one of: "}", ";".
2008-06-24 14:58:32,050 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS error: null [1705:30] Error in style rule. Invalid token "\n". Was expecting one of: "}", ";".
- CSS warning: null [1705:30] Ignoring the following declarations in this rule.
2008-06-24 14:58:32,051 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS warning: null [1705:30] Ignoring the following declarations in this rule.
- CSS error: null [1755:25] Error in expression. Invalid token "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>, <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>, <FUNCTION>, <IDENT>.
2008-06-24 14:58:32,052 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS error: null [1755:25] Error in expression. Invalid token "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>, <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>, <FUNCTION>, <IDENT>.
- CSS error: null [1755:30] Error in style rule. Invalid token "\n   ". Was expecting one of: "}", ";".
2008-06-24 14:58:32,053 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS error: null [1755:30] Error in style rule. Invalid token "\n   ". Was expecting one of: "}", ";".
- CSS warning: null [1755:30] Ignoring the following declarations in this rule.
2008-06-24 14:58:32,053 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS warning: null [1755:30] Ignoring the following declarations in this rule.
- CSS error: null [2012:25] Error in expression. Invalid token "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>, <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>, <FUNCTION>, <IDENT>.
2008-06-24 14:58:32,060 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS error: null [2012:25] Error in expression. Invalid token "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>, <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>, <FUNCTION>, <IDENT>.
- CSS error: null [2012:30] Error in style rule. Invalid token "\n\t". Was expecting one of: "}", ";".
2008-06-24 14:58:32,061 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS error: null [2012:30] Error in style rule. Invalid token "\n\t". Was expecting one of: "}", ";".
- CSS warning: null [2012:30] Ignoring the following declarations in this rule.
2008-06-24 14:58:32,061 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS warning: null [2012:30] Ignoring the following declarations in this rule.
- CSS error: null [2025:25] Error in expression. Invalid token "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>, <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>, <FUNCTION>, <IDENT>.
2008-06-24 14:58:32,061 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS error: null [2025:25] Error in expression. Invalid token "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>, <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>, <FUNCTION>, <IDENT>.
- CSS error: null [2025:30] Error in style rule. Invalid token "\n\t". Was expecting one of: "}", ";".
2008-06-24 14:58:32,062 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS error: null [2025:30] Error in style rule. Invalid token "\n\t". Was expecting one of: "}", ";".
- CSS warning: null [2025:30] Ignoring the following declarations in this rule.
2008-06-24 14:58:32,062 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS warning: null [2025:30] Ignoring the following declarations in this rule.
- CSS error: null [2176:25] Error in expression. Invalid token "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>, <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>, <FUNCTION>, <IDENT>.
2008-06-24 14:58:32,066 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS error: null [2176:25] Error in expression. Invalid token "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>, <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>, <FUNCTION>, <IDENT>.
- CSS error: null [2176:30] Error in style rule. Invalid token "\n". Was expecting one of: "}", ";".
2008-06-24 14:58:32,067 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS error: null [2176:30] Error in style rule. Invalid token "\n". Was expecting one of: "}", ";".
- CSS warning: null [2176:30] Ignoring the following declarations in this rule.
2008-06-24 14:58:32,067 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS warning: null [2176:30] Ignoring the following declarations in this rule.
- CSS error: null [2384:26] Error in expression. Invalid token "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>, <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>, <FUNCTION>, <IDENT>.
2008-06-24 14:58:32,074 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS error: null [2384:26] Error in expression. Invalid token "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>, <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>, <FUNCTION>, <IDENT>.
- CSS error: null [2384:31] Error in style rule. Invalid token "\n". Was expecting one of: "}", ";".
2008-06-24 14:58:32,075 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS error: null [2384:31] Error in style rule. Invalid token "\n". Was expecting one of: "}", ";".
- CSS warning: null [2384:31] Ignoring the following declarations in this rule.
2008-06-24 14:58:32,075 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS warning: null [2384:31] Ignoring the following declarations in this rule.
- CSS error: null [2389:26] Error in expression. Invalid token "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>, <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>, <FUNCTION>, <IDENT>.
2008-06-24 14:58:32,081 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS error: null [2389:26] Error in expression. Invalid token "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>, <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>, <FUNCTION>, <IDENT>.
- CSS error: null [2389:32] Error in style rule. Invalid token "\n". Was expecting one of: "}", ";".
2008-06-24 14:58:32,083 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS error: null [2389:32] Error in style rule. Invalid token "\n". Was expecting one of: "}", ";".
- CSS warning: null [2389:32] Ignoring the following declarations in this rule.
2008-06-24 14:58:32,083 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS warning: null [2389:32] Ignoring the following declarations in this rule.
- CSS error: null [2951:25] Error in expression. Invalid token "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>, <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>, <FUNCTION>, <IDENT>.
2008-06-24 14:58:32,099 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS error: null [2951:25] Error in expression. Invalid token "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>, <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>, <FUNCTION>, <IDENT>.
- CSS error: null [2951:30] Error in style rule. Invalid token "\n". Was expecting one of: "}", ";".
2008-06-24 14:58:32,099 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS error: null [2951:30] Error in style rule. Invalid token "\n". Was expecting one of: "}", ";".
- CSS warning: null [2951:30] Ignoring the following declarations in this rule.
2008-06-24 14:58:32,099 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS warning: null [2951:30] Ignoring the following declarations in this rule.
- CSS error: null [3025:25] Error in expression. Invalid token "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>, <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>, <FUNCTION>, <IDENT>.
2008-06-24 14:58:32,101 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS error: null [3025:25] Error in expression. Invalid token "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>, <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>, <FUNCTION>, <IDENT>.
- CSS error: null [3025:29] Error in style rule. Invalid token "\n". Was expecting one of: "}", ";".
2008-06-24 14:58:32,102 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS error: null [3025:29] Error in style rule. Invalid token "\n". Was expecting one of: "}", ";".
- CSS warning: null [3025:29] Ignoring the following declarations in this rule.
2008-06-24 14:58:32,102 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS warning: null [3025:29] Ignoring the following declarations in this rule.
- CSS error: null [3038:25] Error in expression. Invalid token "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>, <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>, <FUNCTION>, <IDENT>.
2008-06-24 14:58:32,103 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS error: null [3038:25] Error in expression. Invalid token "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>, <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>, <FUNCTION>, <IDENT>.
- CSS error: null [3038:30] Error in style rule. Invalid token "\n". Was expecting one of: "}", ";".
2008-06-24 14:58:32,103 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS error: null [3038:30] Error in style rule. Invalid token "\n". Was expecting one of: "}", ";".
- CSS warning: null [3038:30] Ignoring the following declarations in this rule.
2008-06-24 14:58:32,104 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS warning: null [3038:30] Ignoring the following declarations in this rule.
- CSS error: null [129:25] Error in expression. Invalid token "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>, <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>, <FUNCTION>, <IDENT>.
2008-06-24 14:58:32,123 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS error: null [129:25] Error in expression. Invalid token "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>, <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>, <FUNCTION>, <IDENT>.
- CSS error: null [129:30] Error in style rule. Invalid token "\n". Was expecting one of: "}", ";".
2008-06-24 14:58:32,123 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS error: null [129:30] Error in style rule. Invalid token "\n". Was expecting one of: "}", ";".
- CSS warning: null [129:30] Ignoring the following declarations in this rule.
2008-06-24 14:58:32,124 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS warning: null [129:30] Ignoring the following declarations in this rule.
- CSS error: null [144:25] Error in expression. Invalid token "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>, <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>, <FUNCTION>, <IDENT>.
2008-06-24 14:58:32,132 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS error: null [144:25] Error in expression. Invalid token "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>, <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>, <FUNCTION>, <IDENT>.
- CSS error: null [144:30] Error in style rule. Invalid token "\n\t". Was expecting one of: "}", ";".
2008-06-24 14:58:32,134 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS error: null [144:30] Error in style rule. Invalid token "\n\t". Was expecting one of: "}", ";".
- CSS warning: null [144:30] Ignoring the following declarations in this rule.
2008-06-24 14:58:32,134 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS warning: null [144:30] Ignoring the following declarations in this rule.
- CSS error: null [151:25] Error in expression. Invalid token "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>, <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>, <FUNCTION>, <IDENT>.
2008-06-24 14:58:32,135 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS error: null [151:25] Error in expression. Invalid token "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>, <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>, <FUNCTION>, <IDENT>.
- CSS error: null [151:30] Error in style rule. Invalid token "\n". Was expecting one of: "}", ";".
2008-06-24 14:58:32,135 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS error: null [151:30] Error in style rule. Invalid token "\n". Was expecting one of: "}", ";".
- CSS warning: null [151:30] Ignoring the following declarations in this rule.
2008-06-24 14:58:32,136 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS warning: null [151:30] Ignoring the following declarations in this rule.
- CSS error: null [176:29] Error in expression. Invalid token "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>, <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>, <FUNCTION>, <IDENT>.
2008-06-24 14:58:32,136 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS error: null [176:29] Error in expression. Invalid token "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>, <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>, <FUNCTION>, <IDENT>.
- CSS error: null [176:34] Error in style rule. Invalid token "\n\t". Was expecting one of: "}", ";".
2008-06-24 14:58:32,137 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS error: null [176:34] Error in style rule. Invalid token "\n\t". Was expecting one of: "}", ";".
- CSS warning: null [176:34] Ignoring the following declarations in this rule.
2008-06-24 14:58:32,137 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS warning: null [176:34] Ignoring the following declarations in this rule.
- CSS error: null [184:25] Error in expression. Invalid token "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>, <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>, <FUNCTION>, <IDENT>.
2008-06-24 14:58:32,138 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS error: null [184:25] Error in expression. Invalid token "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>, <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>, <FUNCTION>, <IDENT>.
- CSS error: null [184:30] Error in style rule. Invalid token "\n". Was expecting one of: "}", ";".
2008-06-24 14:58:32,138 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS error: null [184:30] Error in style rule. Invalid token "\n". Was expecting one of: "}", ";".
- CSS warning: null [184:30] Ignoring the following declarations in this rule.
2008-06-24 14:58:32,138 [Thread-92] WARN com.gargoylesoftware.htmlunit.javascript.host.Stylesheet - CSS warning: null [184:30] Ignoring the following declarations in this rule.
step 2
- Step start: 1 type=verify-title
2008-06-24 14:58:32,245 [Thread-92] INFO  com.spike.tg4w.htmlunit - Step start: 1 type=verify-title
------------------------------
Agent stopped.
------------------------------
Agent error:
Traceback (innermost last):
 File "<string>", line 182, in ?
 File "<string>", line 94, in run
	at com.spike.tg4w.htmlunit.HtmlUnitInterpreter.handleAction_verify_title(HtmlUnitInterpreter.java:379)
	at org.python.proxies.main$IASmall$2.handleAction_verify_title(Unknown Source)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)

com.spike.tg4w.htmlunit.InterpreterException: com.spike.tg4w.htmlunit.InterpreterException: title does not match: expected: 'Login', got: ''

Change History

Changed 3 months ago by fcohen

  • type changed from defect to enhancement

Changed 3 months ago by llara

William

Hello All.

1. Luis Carlos, Max, in my machine you will find the code from HTMLUnit 2.1. Look at the CSS_ERROR_HANDLER method in \main\java\com\gargoylesoftware\htmlunit\javascript\host\Stylesheet.java. This is the class where the warnings come from. Please check if the reported missing CSS are really missing when running in Firefox, and check if setting the log level to fatal or error eliminates the warnings in the console.

2. Frank. Those are not exceptions FROM HTMLUnit, but Exceptions from the CSS parser. All happens like this:

a- The HTML page contains an include for a CSS file. b- HTMLUnit fetches that file using HTTP. c- The browser fails to find the requested file. It returns an HTML page of the 404 error (default error). d- HTMLUnit receives that HTML text, thinking it is a CSS styleshet, and sends it to the parser. e- The parser expects CSS rules but receives HTML tags, throwing exceptions. f- HTMLUnit catches the exceptions from the CSS parser using the CSS_ERROR_HANDLER, which logs the errors and warnings and then ignores them

3. Frank.It makes total sense that Firefox is not throwing exceptions. Remember Web Philosophy is to support bad formed HTML and missing links. If the CSS is missing, it will simply not get applied, nothing stops. HTMLUnit doesn't stop either, just logs the missing files for us to check on the problem as diagnose information. Remember Firefox is to browse Web, HTMLUnit is to test it.

So, the only possible bug in HTMLUnit is maybe HTMLUnit requesting a bad CSS file so the server is not able to find it and sends the 404 HTML instead. To check this, we only need to do this: 1. Check which is the requested CSS file by HTMLUnit. 2. Check the actual page with a browser (Firefox and development plugin) to check if the stylesheet is loaded in the browser and what is the file's URL, to compare it with the one HTMLUnit uses. 3. If the URLs are different, then HTMLUnit may be reading them wrong from the original HTML page. If the URLs are the same, but they work on the browsers and not in HTMLUnit, it may be a HTTPUnit error. If the CSS is missing from the browser too, then it is not a browser problem.

FINALLY. About your question about how disabling CSS impacts. HTMLUnit 2.2 offers that functionality to avoid loading and parsing CSS to improve performance. Since it is GUIless, CSS is not important at all to render the page, and if you want to test forms and requests as quick as possible you may want to save some cycless by ignoring CSS. That is why the disable function comes to life.

If, on the other hand, you want to check completeness of the page and such, you can enableCSS and the warning saying CSS is missing becomes very important. You may even want to stop the test with an error in those cases. That is not being offered out of the box right now. But I guess HTMLUnit may have a way to ask if that happened or not (the CSS Loading).

Hope this is clear now. I suggest to focus on checking if the missing file is really missing. If it is not, then it is an HTMLUnit error. If it is, then HTMLUnit is loggin this problem but not stopping, just as Firefox. And there is nothing wrong with that.

Cheers!

William Martinez.

Changed 3 months ago by llara

Luis Carlos:

HI William

As usual, you are right.

I set the CSS logger to fatal, and the system didn’t print out the css errors. To avoid mandatory removing the css warnings I think we can create a csswarning tag in the scenario.

This is my proposed solution:

<complexType name="options_t">

<xsdw3c:all>

<element name="debug" type="xsd:debug_t" minOccurs="0" /> …

<element name=" htmlunit" type="xsd:htmlunit_type" minOccurs="0"/>

</xsdw3c:all>

</complexType>

<!-- old testgen4web otpion --> <complexType name=" htmlunit _options">

<attribute name="DebuggingWebConnection?" type="boolean" /> <attribute name="HtmlUnitContextFactory?" type="boolean" /> <attribute name="xmltestresultimpl" type="boolean" /> <attribute name="csswarning" type="boolean" /> </complexType>

Also, the system still prints some runtime error: - runtimeError: message=[ActiveXObject Error: no value for ShockwaveFlash?.ShockwaveFlash?.6.] sourceName=http://www.google-analytics.com/urchin.js line=[447] lineSource=[null] lineOffset=[0] - Added cookie: utmb=93932699 I think we should check these runtimeError messages. What do you think? Please advice,

LC

Changed 3 months ago by llara

Frank Cohen

Hi William:

Thank you for the excellent write-up of the CSS warning/error issue. I will be using your text (with attribution) in the TM 5.2 docs.

1. Frank, what do you think? Should we add the explicit option for csswarnings, or should we just mention in the documentation that setting the Log Level prevents this?

Luis Carlos' proposed <options> entry for HTMLUnit debug works for me. Please implement.

Lilac and I are working on the TM 5.2 documentation. The style will be to show basic test creation steps. Then we will show debugging options. So the explicit option works well. And we will document setting the log level too in the docs.

2. We need to verify the CSS warning is real, that is HTMLUnit is not finding the CSS. In the case below, if seems these runtime errors may be due to javascript problems or HTMLUnit support for flash embeds. Frank, do you think we should take a look at it too?

I'm pretty sure it is a 404 Error too. Please finish the research on this issue. It will be something valuable for us to contribute back to the HTMLUnit folks, and it gets us some internal experience with HTMLUnit.

-Frank

Changed 3 months ago by jack

The following was in the local testnode output tab when I tried the modified SeleniumTestTheLocker? (Adding <htmlunity csswarning="true"/>)

Running a use case 0 Message size 1 Starting run Done run - CSS error: null [694:29] Error in simple selector. Invalid token " {". Was expecting one of: <S>, ".", ":", "*", "[", <HASH>, <IDENT>. - CSS warning: null [694:29] Ignoring the whole rule. - CSS error: null [266:9] Error in style rule. Invalid token "/". Was expecting one of: <S>, "}", ";", <IDENT>. - CSS warning: null [266:9] Ignoring the following declarations in this rule. Starting run Done run Starting run Done run Starting run Done run Starting run Done run Starting run Done run Starting run Done run Starting run Done run Starting run Done run Starting run Done run Starting run Done run Starting run Done run Starting run Done run Starting run Done run Starting run Done run Starting run Done run Starting run Done run Starting run Done run Starting run Done run Starting run Done run Starting run Done run Calling complete

Changed 3 months ago by jack

In order to see any CSS error you need to include the <htmlunity csswarning="true"/> tag.

Changed 3 months ago by jack

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.