зеркало из https://github.com/mozilla/gecko-dev.git
Bug 913990 - Test 'feed:' filter URL as crashtest instead of computed style test. r=dbaron
This commit is contained in:
Родитель
747124ff9c
Коммит
a2d2bc4354
|
@ -4651,11 +4651,9 @@ if (SpecialPowers.getBoolPref("layout.css.filters.enabled")) {
|
|||
"grayscale(1) url(#my-filter-1)",
|
||||
"url(#my-filter-1) brightness(50%) contrast(0.9)",
|
||||
|
||||
// The CSS parser will accept these weird URLs. However, we'll fail
|
||||
// to resolve them when computing style, so we'll fall back to the
|
||||
// initial value ("none").
|
||||
"url('feed:javascript:5')",
|
||||
"blur(3px) url('feed:javascript:5') grayscale(50%)",
|
||||
// Bad URLs
|
||||
"url('badscheme:badurl')",
|
||||
"blur(3px) url('badscheme:badurl') grayscale(50%)",
|
||||
|
||||
"blur(0)",
|
||||
"blur(0px)",
|
||||
|
|
|
@ -41,11 +41,6 @@
|
|||
/** Test for computation of values in property database **/
|
||||
|
||||
var gBadComputed = {
|
||||
// The CSS parser will accept these weird URLs. However, we'll fail to
|
||||
// resolve them when computing style, so we'll fall back to the initial
|
||||
// value ("none").
|
||||
"filter": [ "url('feed:javascript:5')", "blur(3px) url('feed:javascript:5') grayscale(50%)" ],
|
||||
|
||||
// These values are treated as auto.
|
||||
"page-break-after": [ "avoid" ],
|
||||
"page-break-before": [ "avoid" ],
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<body style="filter: url('feed:javascript:5');">
|
||||
</body>
|
||||
</html>
|
|
@ -176,6 +176,7 @@ load 895311-1.svg
|
|||
load 897342-1.svg
|
||||
load 898909-1.svg
|
||||
load 898951-1.svg
|
||||
load 913990.html
|
||||
load 919371-1.xhtml
|
||||
load 952270-1.svg
|
||||
load 963086-1.svg
|
||||
|
|
Загрузка…
Ссылка в новой задаче