Index: LayoutTests/fast/dom/css-stylesheet-candidate-ordering.html |
diff --git a/LayoutTests/fast/dom/css-stylesheet-candidate-ordering.html b/LayoutTests/fast/dom/css-stylesheet-candidate-ordering.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..23cb61cbc0fd1543e68eb4dd2d32d9565425b26a |
--- /dev/null |
+++ b/LayoutTests/fast/dom/css-stylesheet-candidate-ordering.html |
@@ -0,0 +1,10 @@ |
+<!DOCTYPE html> |
+<script src="../../resources/js-test.js"></script> |
+<script> |
+description('Adding stylesheet candidates should not crash in case the html parser decides to reorder the DOM tree.'); |
+testPassed('Did not crash'); |
+</script> |
+<table> |
+ <style></style> |
+ <link> |
+</table> |