Status: New
Owner: felix8a
Labels: Type-Defect Priority-Medium

New issue 1780 by felix8a: flaky test: guest-css-imports-es5
http://code.google.com/p/google-caja/issues/detail?id=1780

This seems to be a timing issue.

The test has a style block with:
    @import url(es53-test-css-imports-5.css);
    .shouldbezero { background-color: #000000; }

es53-test-css-imports-5.css has:
    .nonstandard { background-color: #000007; }

since stylesheets can be loaded async, the test does an assertAsyncRequirements, checking that a shouldbezero element has color 0 before proceding with the real checks.

and then the test fails: .nonstandard has color 'transparent' instead of '#000007'.

afaik, there's no particular requirement that a css @import finish before other css rules are visible in the document, so the async condition needs to be fixed

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--

--- You received this message because you are subscribed to the Google Groups "Google Caja Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to