Chromium Code Reviews| Index: LayoutTests/http/tests/css/pending-stylesheet-offset-width.html |
| diff --git a/LayoutTests/http/tests/css/pending-stylesheet-offset-width.html b/LayoutTests/http/tests/css/pending-stylesheet-offset-width.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..0d08e382cd6e38edbcdf5571bdc27be5820b3d2f |
| --- /dev/null |
| +++ b/LayoutTests/http/tests/css/pending-stylesheet-offset-width.html |
| @@ -0,0 +1,12 @@ |
| +<!DOCTYPE html> |
| +<script src="/js-test-resources/js-test.js"></script> |
| +<style> |
| + #t { width: 200px; } |
| +</style> |
| +<link rel="stylesheet" type="text/css" href="/resources/load-and-stall.php?name=pending-stylesheet-offset-width.css&stallAt=0&stallFor=1"> |
|
ojan
2014/05/20 19:22:01
Nit: I usually leave out anything that doesn't cha
rune
2014/05/20 22:16:04
Done.
|
| +<div id="t"></div> |
| +<script> |
| +description("Check that we use the style present asking for offsetWidth, ignoring pending stylesheets."); |
| + |
| +shouldBe("t.offsetWidth", "200"); |
| +</script> |