зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1720429
- Add test for transformed filter, which fails under reftest-snapshot. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D120134
This commit is contained in:
Родитель
2610b8861a
Коммит
f36ae46161
|
@ -0,0 +1,26 @@
|
|||
<!DOCTYPE HTML>
|
||||
<head>
|
||||
<style>
|
||||
.outer {
|
||||
transform: scale(0.5) translate(200px, 200px);
|
||||
}
|
||||
.parent {
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
isolation: isolate;
|
||||
}
|
||||
.child {
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
background: #7775b6;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="outer">
|
||||
<div class="parent">
|
||||
<div class="child">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
|
@ -0,0 +1,30 @@
|
|||
<!DOCTYPE HTML>
|
||||
<head>
|
||||
<style>
|
||||
.outer {
|
||||
transform: scale(0.5) translate(200px, 200px);
|
||||
}
|
||||
.parent {
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
isolation: isolate;
|
||||
background: #5856a2;
|
||||
}
|
||||
.child {
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
mix-blend-mode: soft-light;
|
||||
opacity: 0.5;
|
||||
background: white;
|
||||
will-change: opacity;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="outer">
|
||||
<div class="parent">
|
||||
<div class="child">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
|
@ -95,6 +95,7 @@ fuzzy-if(/^Windows\x20NT\x2010\.0/.test(http.oscpu),0-1,0-16408) fuzzy-if(Androi
|
|||
== background-blending-moz-element.html background-blending-moz-element-ref.html
|
||||
|
||||
fuzzy(0-1,0-40000) == mix-blend-mode-soft-light.html mix-blend-mode-soft-light-ref.html
|
||||
fuzzy(0-1,0-40000) == mix-blend-mode-transformed.html mix-blend-mode-transformed-ref.html
|
||||
|
||||
# Test plan 4.4.2 element with isolation:isolate creates an isolated group for blended children
|
||||
== blend-isolation.html blend-isolation-ref.html
|
||||
|
|
Загрузка…
Ссылка в новой задаче