title: How to set the content property of an `after` pseudo-element to an attribute of a sibling form element
body: <p>Is there any way, using CSS, to set the content of an <code>after</code> pseudo-element to an attribute of a sibling form element?</p>
  
  <p>For example:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>p:after{
    content: +select(attr(title));
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;p&gt;Message: &lt;/p&gt;
  
  &lt;select&gt;
    &lt;option title="Hi" value="1"&gt;Hi&lt;/option&gt;
    &lt;option title="Hello" value="2" selected&gt;Hello&lt;/option&gt;
    &lt;option title="Goodbye" value="3"&gt;Goodbye&lt;/option&gt;
  &lt;/select&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>The desired rendered output in this example would be: <code>Message: Hello</code></p>
  
  <p>If this is not currently possible, are there any plans in the CSS4 (or 5?) specification to allow the use of selectors in the <code>content</code> property?</p>
  
  <p>I have a jQuery solution, however I am curious if this is something I could do without javascript?</p>