3 ms·
For writing portable, reliable tests for web browsers. > The web-platform-tests project is a cross-browser test suite for the Web-platform stack. Writing tests
by re 4y ago
For writing portable, reliable tests for web browsers.
> The web-platform-tests project is a cross-browser test suite for the Web-platform stack. Writing tests in a way that allows them to be run in all browsers gives browser projects confidence that they are shipping software which is compatible with other implementations, and that later implementations will be compatible with their implementations.
https://web-platform-tests.org/ https://web-platform-tests.org/
> Tests should be as cross-platform as reasonably possible, working across different devices, screen resolutions, paper sizes, etc. ... Fonts cannot be relied on to be either installed or to have specific metrics. As such, in most cases when a known font is needed, Ahem should be used and loaded as a web font. In other cases, @font-face should be used.
https://web-platform-tests.org/writing-tests/general-guidelines.html#be-cross-platform https://web-platform-tests.org/writing-tests/general-guideli...