Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[css-fonts] Add tests for dynamic changes of font-palette property #30942

Merged
merged 1 commit into from Oct 5, 2021

Conversation

litherum
Copy link
Contributor

(I haven't updated the test font yet, like I said I would in #30910 (comment). However, these tests don't require those updates.)

The relevant WebKit bug is https://bugs.webkit.org/show_bug.cgi?id=230673.

webkit-commit-queue pushed a commit to WebKit/WebKit that referenced this pull request Sep 24, 2021
https://bugs.webkit.org/show_bug.cgi?id=230673

Reviewed by Antti Koivisto.

It already works.

The tests are being upstreamed at web-platform-tests/wpt#30942.

* web-platform-tests/css/css-fonts/font-palette-add-2-expected.html: Added.
* web-platform-tests/css/css-fonts/font-palette-add-2.html: Added.
* web-platform-tests/css/css-fonts/font-palette-add-expected-mismatch.html: Added.
* web-platform-tests/css/css-fonts/font-palette-add.html: Added.
* web-platform-tests/css/css-fonts/font-palette-modify-2-expected.html: Added.
* web-platform-tests/css/css-fonts/font-palette-modify-2.html: Added.
* web-platform-tests/css/css-fonts/font-palette-modify-expected-mismatch.html: Added.
* web-platform-tests/css/css-fonts/font-palette-modify.html: Added.
* web-platform-tests/css/css-fonts/font-palette-remove-2-expected.html: Added.
* web-platform-tests/css/css-fonts/font-palette-remove-2.html: Added.
* web-platform-tests/css/css-fonts/font-palette-remove-expected-mismatch.html: Added.
* web-platform-tests/css/css-fonts/font-palette-remove.html: Added.


Canonical link: https://commits.webkit.org/242092@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@283032 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Copy link
Member

@nt1m nt1m left a comment

Choose a reason for hiding this comment

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

This was reviewed on the WebKit bug.

@drott
Copy link
Contributor

drott commented Sep 24, 2021

This looks like a duplicate of #30939 on which I left some comment regarding waiting for document.fonts.ready to be resolved before snapshotting.

@nt1m nt1m closed this Sep 24, 2021
@litherum
Copy link
Contributor Author

This isn't a dup of #30939. That one is for font-palette-values, whilst this one is for font-palette.

@litherum
Copy link
Contributor Author

The linter error looks bogus - this version of Ahem is customized to include font palettes.

@litherum
Copy link
Contributor Author

This patch is stale now; I've updated the font in #31044.

@litherum litherum merged commit 65ccb99 into web-platform-tests:master Oct 5, 2021
@litherum litherum deleted the font-palette-updates branch October 5, 2021 05:30
bertogg pushed a commit to Igalia/webkit that referenced this pull request Oct 9, 2021
https://bugs.webkit.org/show_bug.cgi?id=230673

Reviewed by Antti Koivisto.

It already works.

The tests are being upstreamed at web-platform-tests/wpt#30942.

* web-platform-tests/css/css-fonts/font-palette-add-2-expected.html: Added.
* web-platform-tests/css/css-fonts/font-palette-add-2.html: Added.
* web-platform-tests/css/css-fonts/font-palette-add-expected-mismatch.html: Added.
* web-platform-tests/css/css-fonts/font-palette-add.html: Added.
* web-platform-tests/css/css-fonts/font-palette-modify-2-expected.html: Added.
* web-platform-tests/css/css-fonts/font-palette-modify-2.html: Added.
* web-platform-tests/css/css-fonts/font-palette-modify-expected-mismatch.html: Added.
* web-platform-tests/css/css-fonts/font-palette-modify.html: Added.
* web-platform-tests/css/css-fonts/font-palette-remove-2-expected.html: Added.
* web-platform-tests/css/css-fonts/font-palette-remove-2.html: Added.
* web-platform-tests/css/css-fonts/font-palette-remove-expected-mismatch.html: Added.
* web-platform-tests/css/css-fonts/font-palette-remove.html: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@283032 268f45cc-cd09-0410-ab3c-d52691b4dbfc
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.

None yet

4 participants