Skip to content

Remove deprecated font css flag from css directory files#31991

Merged
foolip merged 1 commit intoweb-platform-tests:masterfrom
DanielRyanSmith:23253-remove-font-css-flag
Dec 10, 2021
Merged

Remove deprecated font css flag from css directory files#31991
foolip merged 1 commit intoweb-platform-tests:masterfrom
DanielRyanSmith:23253-remove-font-css-flag

Conversation

@DanielRyanSmith
Copy link
Copy Markdown
Contributor

@DanielRyanSmith DanielRyanSmith commented Dec 10, 2021

Part of #23253

removes all instances of the font css flag that appears in any file in the css directory of this repo, as it is no longer a valid requirements flag. Valid flags can be found here.

@foolip
Copy link
Copy Markdown
Member

foolip commented Dec 10, 2021

applies to #23253

The wording I would suggest when a single issue will require a lot of PRs is "Part of #23253" or similar. Since patches can be applied (git apply) that's what I thought this meant first, that #23253 was probably another pull request which needs to land first. (It's possible to do dependent PRs by having the target branch be the branch for another PR, but you're not doing that here.)

@foolip
Copy link
Copy Markdown
Member

foolip commented Dec 10, 2021

This is mechanical, so I'll review 10 files chosen with git diff --name-only 22b26945ec73657d32da993b9743aecc09fca6d0^ 22b26945ec73657d32da993b9743aecc09fca6d0 | sort -R | head | sort.

Copy link
Copy Markdown
Member

@foolip foolip left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've spot checked 10 files now, left a few comments about odd things. This all seems fine though.

<link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#font-family-prop" />
<link rel="help" href="http://www.w3.org/TR/css-fonts-3/#font-family-prop"/>
<meta name="flags" content="font" />
<meta name="assert" content="Font family named 'inherit' needs to be quoted to avoid conflict with keyword 'inherit'." />
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a visual test and isn't run in WPT. There's a PREREQUISITE bit below that points to a font that doesn't exist. But that's fine, it's not more broken after this change.

<link rel='help' href='http://www.w3.org/TR/css-counter-styles-3/#simple-numeric'>
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
<meta name='flags' content='font'>
<meta name="assert" content="list-style-type: armenian produces numbers after 9 items per the spec.">
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a ref, and it's curious that the test itself doesn't have the font flag. But anyway, the test passes everywhere, there's nothing to see here:
https://wpt.fyi/results/css/css-counter-styles/armenian/css3-counter-styles-007.html?label=experimental&label=master&aligned

@foolip foolip merged commit aa2f52a into web-platform-tests:master Dec 10, 2021
@DanielRyanSmith DanielRyanSmith deleted the 23253-remove-font-css-flag branch December 10, 2021 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants