[wpt-sync] Sync PR 38481 - Add css image-set gradient images parsing tests
Categories
(Core :: Layout: Images, Video, and HTML Frames, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox112 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 38481 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/38481
Details from upstream follow.
Traian Captan <tcaptan@chromium.org> wrote:
Add css image-set gradient images parsing tests
Current parsing tests cover only \<linear-gradient()> and
\<radial-gradient()>.Based on the image-set spec, all gradient image values are supported,
and they should also be tested.This change adds image-set gradient images parsing tests for
- \<repeating-linear-gradient()>
- \<repeating-radial-gradient()>
- \<conic-gradient()>
- \<repeating-conic-gradient()>
Spec definitions:
[1]
"The syntax for image-set() is:
\<image-set()> = image-set( \<image-set-option># )
\<image-set-option> = [ \<image> | \<string> ]
[ \<resolution> || type(\<string>) ]"[2]
"\<image> = \<url> | \<image()> | \<image-set()> | \<cross-fade()> |
\<element()> | \<gradient>"[3]
"\<gradient> = [
\<linear-gradient()> | \<repeating-linear-gradient()> |
\<radial-gradient()> | \<repeating-radial-gradient()> |
\<conic-gradient()> | \<repeating-conic-gradient()> ]"[1] https://w3c.github.io/csswg-drafts/css-images-4/#image-set-notation
[2] https://w3c.github.io/csswg-drafts/css-images-4/#image-values
[3] https://w3c.github.io/csswg-drafts/css-images-4/#typedef-gradientR=pdr
Bug: 1400902
Change-Id: Ie1460a5c93c1184ae9d5537e0e24ee2b47d68135
Reviewed-on: https://chromium-review.googlesource.com/4247618
WPT-Export-Revision: 5810dc56f1397d1f39ea1dd7f108baa747aec726
Assignee | ||
Comment 1•3 years ago
|
||
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 2•3 years ago
|
||
Assignee | ||
Comment 3•3 years ago
|
||
Assignee | ||
Comment 5•2 years ago
|
||
Assignee | ||
Comment 6•2 years ago
|
||
Comment 8•2 years ago
|
||
bugherder |
Assignee | ||
Comment 10•2 years ago
|
||
Comment 11•2 years ago
|
||
bugherder |
Description
•