The issue occurs with the following text:
316.6.1 Structures. Structures shall not be constructed
Which is defined by the following HTML:
<b>
<s>
<span style='font-size:10.0pt'>316.6.1 Structures</span>
</s>
</b>
<s>
<span style='font-size:10.0pt'>. Structures shall not be
<span style='letter-spacing:.75pt'> </span>
constructed
</span>
</s>
But the text-decoration property is not returning the line-through value properly:
span_array = document.getElementsByTagName('span'));
> HTMLCollection(74812)
span_array[10648].innerText
> "316.6.1 Structures"
window.getComputedStyle(span_array[10648], null).getPropertyValue("text-decoration");
> "none solid rgb(0, 0, 0)"
span_array[10649].innerText
> ". Structures shall not be constructed"
window.getComputedStyle(span_array[10649], null).getPropertyValue("text-decoration");
> "none solid rgb(0, 0, 0)"
I would expect something like e.g.: line-through solid rgb(0, 0, 0).
In short, what I need to achieve is somehow get a flag for the strikeout text above. FYI I should be able to run the script through Google Chrome Driver/Selenium.