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