Made active-selection-031-ref.html more precise (#25606)

diff --git a/css/css-pseudo/reference/active-selection-031-ref.html b/css/css-pseudo/reference/active-selection-031-ref.html
index 7e354e5..4a65dfd 100644
--- a/css/css-pseudo/reference/active-selection-031-ref.html
+++ b/css/css-pseudo/reference/active-selection-031-ref.html
@@ -9,7 +9,6 @@
   <style>
   div
     {
-      background-color: yellow;
       color: green;
       float: left;
       font-size: 32px;
@@ -28,11 +27,13 @@
 
   div.mixed
     {
+      background-color: yellow;
       text-orientation: mixed;
     }
 
   div.sideways
     {
+      background-color: yellow;
       text-orientation: sideways;
     }
 
@@ -40,6 +41,11 @@
     {
       text-orientation: upright;
     }
+
+  div.upright > span
+    {
+      background-color: yellow;
+    }
   </style>
 
   <p>Test passes if each glyph of the 6 "Selected Text" is green and if there is <strong>no red</strong>.
@@ -48,10 +54,10 @@
 
   <div class="vrl sideways">Selected Text</div>
 
-  <div class="vrl upright">Selected Text</div>
+  <div class="vrl upright"><span>Selected Text</span></div>
 
   <div class="vlr mixed">Selected Text</div>
 
   <div class="vlr sideways">Selected Text</div>
 
-  <div class="vlr upright">Selected Text</div>
+  <div class="vlr upright"><span>Selected Text</span></div>