gecko-dev/layout/reftests/webkit-gradient/reftest.list

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 строки
1.1 KiB
Plaintext
Исходник Обычный вид История

# This directory contains tests for -webkit-gradient() expressions.
# They require webkit prefix support to be enabled.
default-preferences pref(layout.css.prefixes.webkit,true)
Bug 1241623: Represent legacy -webkit-gradient(linear,...) expressions as an approximately-equivalent linear-gradient() (instead of -moz-linear-gradient()). r=heycam Note: Instead of exactly honoring the legacy -webkit-gradient(linear,...) syntax, we aim to simply parse it into something that's approximately equivalent for common use cases. In the legacy -webkit-gradient(linear,...) syntax, authors provide *two arbitrary points* to establish the direction of the gradient, whereas modern linear-gradient() is simpler: it just takes a single "<side-or-corner>" point and fills the box with a gradient in the direction of that side or corner. Before this changeset, we parsed -webkit-gradient(linear,...) into a slightly-less-legacy "-moz-linear-gradient" representation, so that we could honor at least one of the author's specified points (since -moz-linear-gradient accepts a single arbitrary point as the start of the gradient). But that prevents us from deprecating -moz-linear-gradient, and it makes it impossible to spec our emulation behavior in terms of modern standards. So, this changeset is just changing our approximate representation so that it can always be serializeable as a modern linear-gradient() expression. In addition, I'm removing the reftest "webkit-gradient-approx-linear-1.html" (whose behavior this patch is changing slightly) and I'm replacing it with a new chunk in test_computed_style.html to more directly test this parsing behaivor. MozReview-Commit-ID: 6N1oKaGeOuE --HG-- extra : rebase_source : b038205c700ea7d84afa12d7424df17e4a1ca9dc
2017-04-24 02:11:10 +03:00
# In this test, we don't render a "-webkit-gradient" exactly correctly.
# (It's just here to ensure that our approximate/do-something rendering doesn't
# change unexpectedly.)
== webkit-gradient-approx-radial-1.html webkit-gradient-approx-radial-1-ref.html
# Tests for -webkit-gradient(linear, ...)
== webkit-gradient-linear-1a.html webkit-gradient-linear-1-ref.html
== webkit-gradient-linear-1b.html webkit-gradient-linear-1-ref.html
== webkit-gradient-linear-1c.html webkit-gradient-linear-1-ref.html
== webkit-gradient-linear-1d.html webkit-gradient-linear-1-ref.html
== webkit-gradient-linear-2.html webkit-gradient-linear-2-ref.html
# Tests for -webkit-gradient(radial, ...)
== webkit-gradient-radial-1a.html webkit-gradient-radial-1-ref.html
== webkit-gradient-radial-1b.html webkit-gradient-radial-1-ref.html
== webkit-gradient-radial-2.html webkit-gradient-radial-2-ref.html
# Tests for -webkit-linear-gradient
== webkit-linear-gradient-1.html webkit-linear-gradient-1-ref.html