зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1449976 - Add regression test for fast-shadow clipping. r=jrmuizel
--HG-- extra : amend_source : c72fa00d3895d87d6802488673e4ceee023e7ca6
This commit is contained in:
Родитель
83412146ec
Коммит
912939d028
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head></head>
|
||||
<body>
|
||||
<div style="
|
||||
width: 3em;
|
||||
text-overflow: clip;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
color: red;">MMMMMM
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE html>
|
||||
<!--
|
||||
checks that unblurred text-shadows are
|
||||
actually clipped by text-overflow: clip
|
||||
-->
|
||||
<html>
|
||||
<head></head>
|
||||
<body>
|
||||
<div style="
|
||||
width: 3em;
|
||||
text-overflow: clip;
|
||||
overflow: hidden;
|
||||
text-shadow: 3em 0px black;
|
||||
white-space: nowrap;
|
||||
color: red;">MMMMMM
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -24,6 +24,7 @@ random-if(Android) == basic-negcoord.xul basic-negcoord-ref.xul
|
|||
== overflow-not-scrollable-1.html overflow-not-scrollable-1-ref.html
|
||||
== overflow-not-scrollable-1.html overflow-not-scrollable-1-ref2.html
|
||||
== overflow-not-scrollable-2.html overflow-not-scrollable-2-ref.html
|
||||
== overflow-clip.html overflow-clip-ref.html
|
||||
|
||||
needs-focus != text-shadow-selected-1.html text-shadow-selected-1-notref.html
|
||||
fails-if(Android) fuzzy-if(skiaContent&&!Android,1,1000) needs-focus == text-shadow-selected-1.html text-shadow-selected-1-ref.html # different foreground selection color on Android
|
||||
|
|
Загрузка…
Ссылка в новой задаче