зеркало из https://github.com/mozilla/gecko-dev.git
Bug 898984 - Part 3: Add testcase for surrogate pair in XUL cropped element. r=jfkthame
This commit is contained in:
Родитель
73cb8d2d09
Коммит
1345e61d6a
|
@ -7,6 +7,7 @@ skip-if((B2G&&browserIsRemote)||Mulet) == textbox-overflow-1.xul textbox-overflo
|
|||
skip-if(cocoaWidget) skip-if((B2G&&browserIsRemote)||Mulet) == accesskey.xul accesskey-ref.xul # Initial mulet triage: parity with B2G/B2G Desktop
|
||||
fails-if(cocoaWidget) fails-if(browserIsRemote&&dwrite) fuzzy-if(xulRuntime.widgetToolkit=="gtk3",1,11) skip-if((B2G&&browserIsRemote)||Mulet) == tree-row-outline-1.xul tree-row-outline-1-ref.xul # Initial mulet triage: parity with B2G/B2G Desktop, win8: bug 1254832
|
||||
skip-if((B2G&&browserIsRemote)||Mulet) != tree-row-outline-1.xul tree-row-outline-1-notref.xul # Initial mulet triage: parity with B2G/B2G Desktop
|
||||
skip-if((B2G&&browserIsRemote)||Mulet) == text-crop.xul text-crop-ref.xul # Initial mulet triage: parity with B2G/B2G Desktop
|
||||
skip-if((B2G&&browserIsRemote)||Mulet) == text-small-caps-1.xul text-small-caps-1-ref.xul # Initial mulet triage: parity with B2G/B2G Desktop
|
||||
skip-if((B2G&&browserIsRemote)||Mulet) fuzzy-if(skiaContent,1,60) fuzzy-if(cocoaWidget&&browserIsRemote&&!skiaContent,1,31) fuzzy-if(winWidget&&browserIsRemote&&layersGPUAccelerated,1,50) == inactive-fixed-bg-bug1205630.xul inactive-fixed-bg-bug1205630-ref.html
|
||||
skip-if((B2G&&browserIsRemote)||Mulet) fuzzy-if(skiaContent,1,60) fuzzy-if(cocoaWidget&&browserIsRemote&&!skiaContent,1,31) fuzzy-if(winWidget&&browserIsRemote&&layersGPUAccelerated,1,50) == inactive-fixed-bg-bug1272525.xul inactive-fixed-bg-bug1272525-ref.html
|
||||
|
|
|
@ -0,0 +1,33 @@
|
|||
<?xml version="1.0"?>
|
||||
<window class="reftest-wait"
|
||||
align="left"
|
||||
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);
|
||||
}
|
||||
vbox {
|
||||
font-family: firasans;
|
||||
font-size: 40px;
|
||||
}
|
||||
</html:style>
|
||||
<vbox width="230">
|
||||
<label id="start" value="" />
|
||||
<label id="end" value="" />
|
||||
<label id="center" value="" />
|
||||
</vbox>
|
||||
<script>
|
||||
<![CDATA[
|
||||
function text(n) {
|
||||
return "\u{1F310}".repeat(n);
|
||||
}
|
||||
var e = "\u{2026}";
|
||||
document.getElementById("start").value = e + text(4);
|
||||
document.getElementById("end").value = text(4) + e;
|
||||
document.getElementById("center").value = text(2) + e + text(2);
|
||||
document.documentElement.className = "";
|
||||
]]>
|
||||
</script>
|
||||
</window>
|
|
@ -0,0 +1,32 @@
|
|||
<?xml version="1.0"?>
|
||||
<window class="reftest-wait"
|
||||
align="left"
|
||||
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);
|
||||
}
|
||||
vbox {
|
||||
font-family: firasans;
|
||||
font-size: 40px;
|
||||
}
|
||||
</html:style>
|
||||
<vbox width="230">
|
||||
<label id="start" value="" crop="start" />
|
||||
<label id="end" value="" crop="end" />
|
||||
<label id="center" value="" crop="center" />
|
||||
</vbox>
|
||||
<script>
|
||||
<![CDATA[
|
||||
function text(n) {
|
||||
return "\u{1F310}".repeat(n);
|
||||
}
|
||||
document.getElementById("start").value = text(10);
|
||||
document.getElementById("end").value = text(10);
|
||||
document.getElementById("center").value = text(10);
|
||||
document.documentElement.className = "";
|
||||
]]>
|
||||
</script>
|
||||
</window>
|
Загрузка…
Ссылка в новой задаче