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

[Gecko Bug 1461589] Add/update CSS parsing tests to cover font-variant-emoji. #36611

Merged
merged 2 commits into from Oct 24, 2022

Conversation

moz-wptsync-bot
Copy link
Collaborator

Differential Revision: https://phabricator.services.mozilla.com/D147496

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1461589
gecko-commit: 98090ae94c2f7f1f36cf9d30b67fbd98d4556bc5
gecko-reviewers: layout-reviewers, emilio

Differential Revision: https://phabricator.services.mozilla.com/D147496

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1461589
gecko-commit: 98090ae94c2f7f1f36cf9d30b67fbd98d4556bc5
gecko-reviewers: layout-reviewers, emilio
These tests assume the system has both text- and emoji-style glyphs available for U+263A, the old WHITE SMILING FACE
symbol that has long existed in legacy fonts, and now also supports an emoji-style rendering. If two distinct
presentations are not available, the first (mismatch) test will fail.

The spec says:

> Even when font-variant-emoji is used, the presence of Variation Selector 15 (U+FE0E) or Variation Selector 16 (U+FE0F)
> in the contents of an element override the rendering specified in font-variant-emoji.
> Therefore, font-variant-emoji sets a default presentation which the text being rendered can opt out of.

So the second test checks that U+263A responds to the property as expected, and that the variation selectors
can still override it.

Depends on D147496

Differential Revision: https://phabricator.services.mozilla.com/D159495

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1461589
gecko-commit: c1a7287807c1bdbf5d40c4a20ac316f0171d9f32
gecko-reviewers: emilio
Copy link
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

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

The review process for this patch is being conducted in the Firefox project.

@moz-wptsync-bot moz-wptsync-bot merged commit 011388a into master Oct 24, 2022
@moz-wptsync-bot moz-wptsync-bot deleted the gecko/1461589 branch October 24, 2022 09:14
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

3 participants