fix bug of inline border

there is a issue when TextRunScanning.
this is for 
```
<span style="background:red;font-size:35px;border: black solid 15px">
        <span style="background:purple; 20px solid">
            <img src="test.jpeg" style="border:blue 30px solid;" />
        </span>
</span>
```
this case. left border of "img" is missing