Index: third_party/WebKit/LayoutTests/fast/plugins/webview-plugin-updates-without-layout.html |
diff --git a/third_party/WebKit/LayoutTests/fast/plugins/webview-plugin-updates-without-layout.html b/third_party/WebKit/LayoutTests/fast/plugins/webview-plugin-updates-without-layout.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d6ab5ff1a1f9b3c38ed96044a5999c99993c862f |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fast/plugins/webview-plugin-updates-without-layout.html |
@@ -0,0 +1,19 @@ |
+<!DOCTYPE html> |
+<style> |
+html:first-letter { color: papayawhip; } |
esprehn
2016/02/18 03:27:43
why does the first letter matter? what does it cau
|
+</style> |
+<script> |
+function boom() { |
+ if (window.testRunner) |
+ testRunner.dumpAsText(); |
+ |
+ // Trigger a full-document style recalc. |
+ document.getElementsByTagName("style")[0].disabled = true; |
+ // Force the style to update without running the rest of the lifecycle. |
+ document.querySelector("embed").align; |
+} |
+</script> |
+<body onload="boom()"> |
+<embed type="html"> |
+Test passes if no crash. |
+ |