summaryrefslogtreecommitdiffstats
path: root/layout/reftests/text-decoration/skip-ink-multiline-position-ref.html
blob: 5d264244adc2a76a34ffdf56f14928b4e40ca09f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<!DOCTYPE HTML>
<html>
  <head>
    <meta charset="utf-8">
    <title>Reference case for text-decoration-skip-ink: text on the second line should not change the position of the first line's underline</title>
    <style>
     @font-face {
         font-family: awami;
         src: url("../fonts/AwamiNastaliq-Regular.woff");
     }
     div{
         font: 36px/2 awami, sans-serif;
         unicode-bidi:bidi-override;
         width: 70px;
         height: 70px;
         overflow: hidden;
         text-decoration: red underline;
         text-underline-offset: -0.5em;
     }
    </style>
  </head>
  <body>
      <p>Adding more characters on the second line should not affect the position of the underline on line one. <br>See <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1572302"> Bug 1572302</a> </p>
      <div dir="rtl">fی sعلي</div>
  </body>
</html>