Backed out 2 changesets (bug 1576553) for failing reftest at 1576553-1.html on a CLOSED TREE

Backed out changeset bc36c4359eef (bug 1576553)
Backed out changeset d653382c7997 (bug 1576553)
This commit is contained in:
Andreea Pavel 2019-08-27 03:43:54 +03:00
parent 3cba0c7ada
commit 0b1366e317
4 changed files with 1 additions and 50 deletions

View File

@ -631,7 +631,7 @@ void gfxTextRun::Draw(Range aRange, gfx::Point aPt,
ShrinkToLigatureBoundaries(&ligatureRange);
bool drawPartial =
(aParams.drawMode & (DrawMode::GLYPH_FILL | DrawMode::GLYPH_STROKE)) ||
(aParams.drawMode & DrawMode::GLYPH_FILL) ||
(aParams.drawMode == DrawMode::GLYPH_PATH && aParams.callbacks);
gfx::Point origPt = aPt;

View File

@ -1,17 +0,0 @@
<!DOCTYPE html>
<html>
<meta charset="utf-8">
<style>
@font-face {
font-family: test;
src: url(../fonts/sil/CharisSIL-R.ttf);
}
#test {
font: 100px test, serif;
-webkit-text-fill-color: transparent;
-webkit-text-stroke-color: blue;
-webkit-text-stroke-width: 2px;
}
</style>
<body>
<div id="test">office</div>

View File

@ -1,31 +0,0 @@
<!DOCTYPE html>
<html class="reftest-wait">
<meta charset="utf-8">
<style>
@font-face {
font-family: test;
src: url(../fonts/sil/CharisSIL-R.ttf);
}
#test {
font: 100px test, serif;
-webkit-text-fill-color: transparent;
-webkit-text-stroke-color: blue;
-webkit-text-stroke-width: 2px;
}
::selection {
background: transparent;
color: blue;
}
</style>
<script>
function doTest() {
let div = document.getElementById("test");
let range = document.createRange();
range.setStart(div.firstChild, 2);
range.setEnd(div.firstChild, 3);
window.getSelection().addRange(range);
document.documentElement.removeAttribute("class");
}
</script>
<body onload="doTest()">
<div id="test">office</div>

View File

@ -2102,4 +2102,3 @@ skip-if(!asyncPan) == 1544895.html 1544895-ref.html
fuzzy-if(!webrender||!winWidget,254-255,464-1613) fuzzy-if(geckoview&&webrender,253-253,1392-1397) == 1562733-rotated-nastaliq-1.html 1562733-rotated-nastaliq-1-ref.html
fuzzy-if(winWidget&&webrender,0-31,0-3) fuzzy-if(geckoview&&webrender,0-93,0-16) == 1562733-rotated-nastaliq-2.html 1562733-rotated-nastaliq-2-ref.html
test-pref(plain_text.wrap_long_lines,false) != 1565129.txt 1565129.txt
== 1576553-1.html 1576553-1-ref.html