mirror of
https://github.com/servo/servo.git
synced 2025-08-11 08:25:32 +01:00
Auto merge of #11801 - mbrubeck:snaptopix, r=pcwalton
webrender: Don't use OpenGL round() for snapping pixels Fixes #11751. See servo/webrender#294 for some details. r? @pcwalton <!-- 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/11801) <!-- Reviewable:end -->
This commit is contained in:
commit
461d7c4eeb
6 changed files with 42 additions and 2 deletions
|
@ -4022,6 +4022,18 @@
|
|||
"viewport_size": "300x300"
|
||||
}
|
||||
],
|
||||
"css/pixel_snapping_glyphs.html": [
|
||||
{
|
||||
"path": "css/pixel_snapping_glyphs.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/pixel_snapping_glyphs_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/pixel_snapping_glyphs.html"
|
||||
}
|
||||
],
|
||||
"css/pixel_snapping_position_a.html": [
|
||||
{
|
||||
"dpi": "2",
|
||||
|
@ -11122,6 +11134,18 @@
|
|||
"viewport_size": "300x300"
|
||||
}
|
||||
],
|
||||
"css/pixel_snapping_glyphs.html": [
|
||||
{
|
||||
"path": "css/pixel_snapping_glyphs.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/pixel_snapping_glyphs_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/pixel_snapping_glyphs.html"
|
||||
}
|
||||
],
|
||||
"css/pixel_snapping_position_a.html": [
|
||||
{
|
||||
"dpi": "2",
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
[pixel_snapping_glyphs.html]
|
||||
type: reftest
|
||||
expected:
|
||||
if os == "mac": FAIL
|
5
tests/wpt/mozilla/tests/css/pixel_snapping_glyphs.html
Normal file
5
tests/wpt/mozilla/tests/css/pixel_snapping_glyphs.html
Normal file
|
@ -0,0 +1,5 @@
|
|||
<!doctype html>
|
||||
<meta charset="utf-8">
|
||||
<title>pixel snapping glyphs test</title>
|
||||
<link rel="match" href="pixel_snapping_glyphs_ref.html">
|
||||
<div style="font: 13px 'Helvetica Neue'; padding: 0.5px;">illisible</div>
|
|
@ -0,0 +1,4 @@
|
|||
<!doctype html>
|
||||
<meta charset="utf-8">
|
||||
<title>pixel snapping glyphs reference</title>
|
||||
<div style="font: 13px 'Helvetica Neue'; padding: 1px;">illisible</div>
|
Loading…
Add table
Add a link
Reference in a new issue