Lint for flags (used mostly in CSS) #23253
Comments
|
@TalbotG I am indeed still active in WPT, but to get the attention of a wider group of people maintaining it, you can mention @web-platform-tests/wpt-core-team. It looks like the problem is that there are no lints for any flags at all, valid or invalid. I've renamed the issue to reflect this. Is the "svg" flag useful for you to add to tests? If so I'd say you can simply keep doing so, and perhaps add a description of when it's useful in http://web-platform-tests.org/writing-tests/css-metadata.html#requirement-flags. |
Noticed while searching for "svg" flags. There's no lint for this: #23253
I used to add the "svg" flag for tests that were using an svg object. This was the normal procedure before. "svg | Requires support for vector graphics (SVG)" There are some web-capable softwares that want to be and/or strive to become (now or in the future) W3C-web-standards-compliant (at least regarding CSS) which may not have support for SVG objects. Therefore why the usage of the svg flag arised. Let's say they import, set up and run the entire CSS repository: they do not want to run tests that have svg objects because their software can not handle those. Then such flag would be useful to them. I would say that flags' items are useful for filtering or screening tests (regarding a specific criteria) for those who import, create and run repositories of tests. |
I wrote down this (useful!) information. Thank you Philip |
|
If this is a flag that the css folks feel is useful, I think that documenting it (the file is Additionally, a lint for I'm not clear what other lints would be both practical and useful. Meta tags are author-defined, and some authors may with to use them with different |
I do not know.
I am for a lint for css/ checking against deprecated flags and also unknown or invalid flags. Eg #23264 |
With more research, even gngr is looking, planning to support svg objects: |
Found because "flag" should be "flags", but the flags in question aren't and never were valid: #23253 (comment)
) Found because "flag" should be "flags", but the flags in question aren't and never were valid: #23253 (comment)
…es of <meta name="flag">, a=testonly Automatic update from web-platform-tests [css-backgrounds] Remove some invalid uses of <meta name="flag"> (#23291) Found because "flag" should be "flags", but the flags in question aren't and never were valid: web-platform-tests/wpt#23253 (comment) -- wpt-commits: cfabf82f21568c28a518b14ff027e936ce92b756 wpt-pr: 23291
…es of <meta name="flag">, a=testonly Automatic update from web-platform-tests [css-backgrounds] Remove some invalid uses of <meta name="flag"> (#23291) Found because "flag" should be "flags", but the flags in question aren't and never were valid: web-platform-tests/wpt#23253 (comment) -- wpt-commits: cfabf82f21568c28a518b14ff027e936ce92b756 wpt-pr: 23291
…es of <meta name="flag">, a=testonly Automatic update from web-platform-tests [css-backgrounds] Remove some invalid uses of <meta name="flag"> (#23291) Found because "flag" should be "flags", but the flags in question aren't and never were valid: web-platform-tests/wpt#23253 (comment) -- wpt-commits: cfabf82f21568c28a518b14ff027e936ce92b756 wpt-pr: 23291
…es of <meta name="flag">, a=testonly Automatic update from web-platform-tests [css-backgrounds] Remove some invalid uses of <meta name="flag"> (#23291) Found because "flag" should be "flags", but the flags in question aren't and never were valid: web-platform-tests/wpt#23253 (comment) -- wpt-commits: cfabf82f21568c28a518b14ff027e936ce92b756 wpt-pr: 23291


@foolip Philip,
I presume you are one of the wpt maintainers.
Is the svg flag valid or deprecated?
<meta content="svg" name="flags">I have declared the svg flag in 2 tests
and in 2 reference files so far:
#20033
#21450
svg is not in the list of valid flags
http://web-platform-tests.org/writing-tests/css-metadata.html#requirement-flags
nor in the list of deprecated flags . If
svg flag is incorrect or deprecated, then why the lint verification did not report it?
The text was updated successfully, but these errors were encountered: