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

Update two SVG tests to be consistent between browsers #23240

Merged
merged 1 commit into from
Apr 25, 2020

Conversation

litherum
Copy link
Contributor

@litherum litherum commented Apr 24, 2020

svg/import/pservers-grad-08-b-manual.svg:
This test renders some text using a font that doesn't contain the space glyph.
However, the content contains the space character, and doesn't specify a fallback
font. This means that different browsers on the same OS will pick different
fallback fonts, causing different renderings. Instead, the test should be updated
to specify a fallback font, which makes browsers render it consistently.

svg/import/text-altglyph-01-b-manual.svg:
Similarly, this test renders text with a font that doesn't support those characters.
(It does it using , but support for has been removed in SVG 2.0
and neither Safari nor Firefox support it.) A fallback font should be supplied to the
test to get consistent renderings across browsers.

@litherum
Copy link
Contributor Author

litherum commented Apr 24, 2020

To my (untrained) eye, the failing check looks unrelated.

svg/import/pservers-grad-08-b-manual.svg:
This test renders some text using a font that doesn't contain the space glyph.
However, the content contains the space character, and doesn't specify a fallback
font. This means that different browsers on the same OS will pick different
fallback fonts, causing different renderings. Instead, the test should be updated
to specify a fallback font, which makes browsers render it consistently.

imported/w3c/web-platform-tests/svg/import/text-altglyph-01-b-manual.svg:
Similarly, this test renders text with a font that doesn't support those characters.
(It does it using <altGlyph>, but support for <altGlyph> has been removed in SVG 2.0
and neither Safari nor Firefox support it.) A fallback font should be supplied to the
test to get consistent renderings across browsers.
@litherum litherum changed the title Update svg/import/pservers-grad-08-b-manual.svg to be consistent between browsers Update two SVG tests to be consistent between browsers Apr 25, 2020
@fsoder
Copy link
Contributor

fsoder commented Apr 25, 2020

Yes, that looks like it may be what's discussed in #21529 . I'll try a close-reopen cycle to see if that helps...

@fsoder fsoder closed this Apr 25, 2020
@fsoder fsoder reopened this Apr 25, 2020
@stephenmcgruer stephenmcgruer merged commit 51151cf into web-platform-tests:master Apr 25, 2020
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.

5 participants