title: How to select a specific element according to a text
body: <p>I want to change the css of an element based only on the title value. I would like to be able to change only the css property of the button where the title is <strong>This one</strong>. I can't modify the HTML.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.x-window &gt; .x-window-bl &gt; .x-window-br &gt; .x-window-bc &gt; .x-window-footer &gt; .x-panel-fbar &gt; .x-toolbar-ct &gt; tbody &gt; tr &gt; td &gt; table &gt; tbody &gt; tr &gt; td &gt; table &gt; tbody &gt; .x-toolbar-right-row &gt; .x-toolbar-cell &gt; table &gt; .x-btn-small &gt; tr &gt; td:nth-child(2) &gt; em &gt; button{
    background-color:red
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div id="ext-comp-1063" class=" x-window x-window-plain x-resizable-pinned"&gt;
     &lt;div class="x-window-tl"&gt;
        &lt;div class="x-window-tr"&gt;
           &lt;div class="x-window-tc"&gt;
              &lt;div class="x-window-header x-unselectable x-panel-icon x-deluge-remove-window-icon x-window-draggable" id="ext-gen215"&gt;
                 &lt;div class="x-tool x-tool-close" id="ext-gen221"&gt;&amp;nbsp;&lt;/div&gt;
                 &lt;span class="x-window-header-text" id="ext-gen226"&gt;This one&lt;/span&gt;
              &lt;/div&gt;
           &lt;/div&gt;
        &lt;/div&gt;
     &lt;/div&gt;
     &lt;div class="x-window-bl" id="ext-gen219"&gt;
        &lt;div class="x-window-br"&gt;
           &lt;div class="x-window-bc"&gt;
              &lt;div class="x-window-footer x-panel-btns" id="ext-gen218" style="width: 328px;"&gt;
                 &lt;div id="ext-comp-1064" class="x-panel-fbar x-small-editor x-toolbar-layout-ct" style="width: auto;"&gt;
                    &lt;table cellspacing="0" class="x-toolbar-ct"&gt;
                       &lt;tbody&gt;
                          &lt;tr&gt;
                             &lt;td class="x-toolbar-right" align="right"&gt;
                                &lt;table cellspacing="0" class="x-toolbar-right-ct"&gt;
                                   &lt;tbody&gt;
                                      &lt;tr&gt;
                                         &lt;td&gt;
                                            &lt;table cellspacing="0"&gt;
                                               &lt;tbody&gt;
                                                  &lt;tr class="x-toolbar-right-row"&gt;
                                                     &lt;td class="x-toolbar-cell" id="ext-gen227"&gt;
                                                        &lt;table id="ext-comp-1065" cellspacing="0" class="x-btn x-btn-noicon" style="width: auto;"&gt;
                                                           &lt;tbody class="x-btn-small x-btn-icon-small-left"&gt;
                                                              &lt;tr&gt;
                                                                 &lt;td class="x-btn-ml"&gt;&lt;i&gt;&amp;nbsp;&lt;/i&gt;&lt;/td&gt;
                                                                 &lt;td class="x-btn-mc"&gt;&lt;em class="" unselectable="on"&gt;&lt;button type="button" id="ext-gen228" class=" x-btn-text"&gt;Cancel&lt;/button&gt;&lt;/em&gt;&lt;/td&gt;
                                                                 &lt;td class="x-btn-mr"&gt;&lt;i&gt;&amp;nbsp;&lt;/i&gt;&lt;/td&gt;
                                                              &lt;/tr&gt;
                                                           &lt;/tbody&gt;
                                                        &lt;/table&gt;
                                                     &lt;/td&gt;
                                                  &lt;/tr&gt;
                                               &lt;/tbody&gt;
                                            &lt;/table&gt;
                                         &lt;/td&gt;
                                      &lt;/tr&gt;
                                   &lt;/tbody&gt;
                                &lt;/table&gt;
                             &lt;/td&gt;
                          &lt;/tr&gt;
                       &lt;/tbody&gt;
                    &lt;/table&gt;
                 &lt;/div&gt;
              &lt;/div&gt;
           &lt;/div&gt;
        &lt;/div&gt;
     &lt;/div&gt;
  &lt;/div&gt;
  &lt;div id="ext-comp-1063" class=" x-window x-window-plain x-resizable-pinned"&gt;
     &lt;div class="x-window-tl"&gt;
        &lt;div class="x-window-tr"&gt;
           &lt;div class="x-window-tc"&gt;
              &lt;div class="x-window-header x-unselectable x-panel-icon x-deluge-remove-window-icon x-window-draggable" id="ext-gen215"&gt;
                 &lt;div class="x-tool x-tool-close" id="ext-gen221"&gt;&amp;nbsp;&lt;/div&gt;
                 &lt;span class="x-window-header-text" id="ext-gen226"&gt;Not this one&lt;/span&gt;
              &lt;/div&gt;
           &lt;/div&gt;
        &lt;/div&gt;
     &lt;/div&gt;
     &lt;div class="x-window-bl" id="ext-gen219"&gt;
        &lt;div class="x-window-br"&gt;
           &lt;div class="x-window-bc"&gt;
              &lt;div class="x-window-footer x-panel-btns" id="ext-gen218" style="width: 328px;"&gt;
                 &lt;div id="ext-comp-1064" class="x-panel-fbar x-small-editor x-toolbar-layout-ct" style="width: auto;"&gt;
                    &lt;table cellspacing="0" class="x-toolbar-ct"&gt;
                       &lt;tbody&gt;
                          &lt;tr&gt;
                             &lt;td class="x-toolbar-right" align="right"&gt;
                                &lt;table cellspacing="0" class="x-toolbar-right-ct"&gt;
                                   &lt;tbody&gt;
                                      &lt;tr&gt;
                                         &lt;td&gt;
                                            &lt;table cellspacing="0"&gt;
                                               &lt;tbody&gt;
                                                  &lt;tr class="x-toolbar-right-row"&gt;
                                                     &lt;td class="x-toolbar-cell" id="ext-gen227"&gt;
                                                        &lt;table id="ext-comp-1065" cellspacing="0" class="x-btn x-btn-noicon" style="width: auto;"&gt;
                                                           &lt;tbody class="x-btn-small x-btn-icon-small-left"&gt;
                                                              &lt;tr&gt;
                                                                 &lt;td class="x-btn-ml"&gt;&lt;i&gt;&amp;nbsp;&lt;/i&gt;&lt;/td&gt;
                                                                 &lt;td class="x-btn-mc"&gt;&lt;em class="" unselectable="on"&gt;&lt;button type="button" id="ext-gen228" class=" x-btn-text"&gt;Cancel&lt;/button&gt;&lt;/em&gt;&lt;/td&gt;
                                                                 &lt;td class="x-btn-mr"&gt;&lt;i&gt;&amp;nbsp;&lt;/i&gt;&lt;/td&gt;
                                                              &lt;/tr&gt;
                                                           &lt;/tbody&gt;
                                                        &lt;/table&gt;
                                                     &lt;/td&gt;
                                                  &lt;/tr&gt;
                                               &lt;/tbody&gt;
                                            &lt;/table&gt;
                                         &lt;/td&gt;
                                      &lt;/tr&gt;
                                   &lt;/tbody&gt;
                                &lt;/table&gt;
                             &lt;/td&gt;
                          &lt;/tr&gt;
                       &lt;/tbody&gt;
                    &lt;/table&gt;
                 &lt;/div&gt;
              &lt;/div&gt;
           &lt;/div&gt;
        &lt;/div&gt;
     &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>Why is it a duplicate ? The data contained in the title isn't on the same layer of the button</p>