summaryrefslogtreecommitdiffstats
path: root/layout/reftests/xul/text-crop-002-ref.xhtml
blob: f5b7fa88c63fb1f76bd11c648d8301030599f584 (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
27
28
29
30
31
32
33
34
<?xml version="1.0" encoding="UTF-8"?>
<window
    xmlns:html="http://www.w3.org/1999/xhtml"
    xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  <html:style type="text/css">
    @font-face {
      font-family: firasans;
      src: url(../fonts/fira/FiraSans-Regular.otf);
    }
    hbox {
      font-family: firasans;
      font-size: 40px;
    }
    image {
      background-color: purple;
    }
    label {
      width: 230px;
      color: green;
      background-color: blue;
    }
    .with-padding {
      padding-inline: 10px 50px;
    }
  </html:style>
  <hbox style="width: 230px">
    <image style="width: 40px; height: 40px"/>
    <label value="abcd…xyz"/>
  </hbox>
  <hbox style="width: 230px">
    <image style="width: 40px; height: 40px"/>
    <label class="with-padding" value="abc…yz"/>
  </hbox>
</window>