diff --git a/LayoutTests/fast/rendering/render-style-null-optgroup-crash-expected.txt b/LayoutTests/fast/rendering/render-style-null-optgroup-crash-expected.txt
new file mode 100644
index 0000000000000..7ef22e9a431ad
--- /dev/null
+++ b/LayoutTests/fast/rendering/render-style-null-optgroup-crash-expected.txt
@@ -0,0 +1 @@
+PASS
diff --git a/LayoutTests/fast/rendering/render-style-null-optgroup-crash.html b/LayoutTests/fast/rendering/render-style-null-optgroup-crash.html
new file mode 100644
index 0000000000000..f1710a5b6a9c2
--- /dev/null
+++ b/LayoutTests/fast/rendering/render-style-null-optgroup-crash.html
@@ -0,0 +1,22 @@
+
+
+
+
+