mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Auto merge of #10937 - pcwalton:mac-helvetica, r=metajack
gfx: Map `sans-serif` to Helvetica on Mac and DejaVu Sans on Linux. This matches what I believe the OS native defaults to be. Partially addresses #9487. r? @metajack cc @paulrouget <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10937) <!-- Reviewable:end -->
This commit is contained in:
commit
180a9813aa
5 changed files with 22 additions and 7 deletions
|
@ -1,4 +1,3 @@
|
|||
[word-break-normal-bo-000.htm]
|
||||
type: reftest
|
||||
expected:
|
||||
if os == "linux": FAIL
|
||||
expected: FAIL
|
||||
|
|
|
@ -4,16 +4,17 @@
|
|||
<meta charset="utf-8">
|
||||
<title>input selection incremental reference</title>
|
||||
<style>
|
||||
body {
|
||||
font: 16px sans-serif;
|
||||
}
|
||||
.selection {
|
||||
color: white;
|
||||
background: rgba(176, 214, 255, 1.0);
|
||||
}
|
||||
div {
|
||||
font: 16px sans-serif;
|
||||
display: inline-block;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<span class="selection">H</span>ello
|
||||
<div><span class="selection">H</span>ello</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue