summaryrefslogtreecommitdiffstats
path: root/layout/reftests/first-letter/1404167-2.html
blob: 70f7c0f29a688c3479d55cc731fd02c30909d5f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!doctype html>
<style>
td::first-letter {
  border: inherit;
}
</style>
<table>
  <tr>
    <td style="border: 10px solid red">
      This text should have a green border on the first letter.
    </td>
  </tr>
</table>
<script>
document.body.offsetTop;
document.querySelector('td').style.borderColor = "green";
document.body.offsetTop;
</script>