Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(510)

Unified Diff: LayoutTests/fast/dom/css-stylesheet-candidate-ordering.html

Issue 839303003: Adding stylesheet candidates should not crash when the parser reorders the tree (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add a test Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698