Index: LayoutTests/fast/css-generated-content/before-after-no-content.html |
diff --git a/LayoutTests/fast/css-generated-content/before-after-no-content.html b/LayoutTests/fast/css-generated-content/before-after-no-content.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6e7263fbfc7cf29d0300ac30a68209a857e1d41b |
--- /dev/null |
+++ b/LayoutTests/fast/css-generated-content/before-after-no-content.html |
@@ -0,0 +1,10 @@ |
+<!DOCTYPE html> |
+<style> |
+span, ::before, ::after { color: green; } |
+#before::before { content: "P"; } |
+#after::after { content: "S"; } |
+</style> |
+<p>There should be two green PASSes below.</p> |
+<div id="before"><span>ASS</span></div> |
+<div id="after"><span>PAS</span></div> |
+<div id="noBeforeAfter"></div> |