Test mozilla/layout/reftests/font-face/reftest:skip-if(MOZ_WIDGET_TOOLKIT!="cocoa") == src-list-local-full.html src-list-local-full-ref.html Detail

id
mozilla/layout/reftests/font-face/reftest:04f609f9418eb990e7912af509d091a9
type
reftest
version
0
enabled
1
tags
flags
rthasfailuretype
sections
url
http://localhost:8888/mozilla/layout/reftests/font-face/src-list-local-full.html
file
mozilla/layout/reftests/font-face/src-list-local-full.html
url2
http://localhost:8888/mozilla/layout/reftests/font-face/src-list-local-full-ref.html
file2
mozilla/layout/reftests/font-face/src-list-local-full-ref.html

results
Firefox 2 Win (2.0.0.20) Firefox 2 Lin (2.0.0.20) Firefox 3 Win (3.0.6) Firefox 3 Lin (3.0.6) Firefox 3.1 Win (3.1b2) Firefox 3.1 Lin (3.1b2) Firefox trunk Win (2009 02 22) Firefox trunk Lin (2009 02 22) Safari 3 Win (3.2) Safari trunk Win (41121) Opera 9 Win (9.62) Opera 9 Lin (9.62) IE 6 Win (6) IE 7 Win (7) IE 8 Win (8rc1)

Reftest detail

equal
1
expected
0
failure_type
skip-if(MOZ_WIDGET_TOOLKIT!="cocoa")
file:
<!DOCTYPE HTML>
<html>
<head>
<title>src local with full names</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  
<style type="text/css">

body {
  margin: 50px;
  font-size: 24pt;
}

/* use full names */

@font-face {
  font-family: test-regular;
  src: local(Helvetica Neue), local(Bitstream Vera Sans), local(Arial);
}

/* use Helvetica on the Mac, since Futura has no bold face on 10.4, 10.5 */
@font-face {
  font-family: test-bold;
  src: local(Helvetica Neue Bold), local(Bitstream Vera Sans Bold), local(Arial Bold);
}

@font-face {
  font-family: test-italic;
  src: local(Helvetica Neue Italic), local(Bitstream Vera Sans Oblique), local(Arial Italic);
}

.regular { font-family: test-regular, serif; }
.bold { font-family: test-bold, serif; }
.italic { font-family: test-italic, serif; }

</style>
  
<script type="text/javascript">

</script>
  
</head>
<body>

<p class="regular">This should be a sans-serif face</p>

<p class="bold">This should be a bold sans-serif face</p>

<p class="italic">This should be an italic sans-serif face</p>

</body>
</html>


file frame show/hide:

file2:
<!DOCTYPE HTML>
<html>
<head>
<title>src local ref with regular, bold, italic</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  
<style type="text/css">

body {
  margin: 50px;
  font-size: 24pt;
}

/* use full names */

p { font-family: Helvetica Neue, Bitstream Vera Sans, Arial, serif; }

.regular {  }
.bold { font-weight: bold; }
.italic { font-style: italic; }

</style>
  
<script type="text/javascript">

</script>
  
</head>
<body>

<p class="regular">This should be a sans-serif face</p>

<p class="bold">This should be a bold sans-serif face</p>

<p class="italic">This should be an italic sans-serif face</p>

</body>
</html>
file2 frame show/hide: