mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
d43f206ad8
Before this patch, Firefox fails this test's expectations on Linux, with a 1px sizing discrepancy between the input element in a vertical writing-mode vs. horizontal. That discrepancy is almost certainly due to the difference in baselines (central vs. ideographic) in vertical vs. horizontal writing-modes, and the fact that pixel-snapping that baseline might produce a +/-1px difference in block-position and block-size of the line, inside the form-field. This patch changes the test to use the Ahem font with a font-size of 30px, which should have a whole-pixel-valued central as well as ideographic baseline; so no pixel-snapping should be necessary, and the input element's size should be be consistent, just as the test expects it to be. This patch also makes one non-functional change, to explicitly declare the charset as UTF-8, per WPT best-practices from http://web-platform-tests.org/writing-tests/general-guidelines.html#character-encoding Differential Revision: https://phabricator.services.mozilla.com/D173191 |
||
---|---|---|
.. | ||
awsy | ||
condprofile | ||
config | ||
crashtest | ||
docs | ||
extensions | ||
firefox-ui | ||
geckodriver | ||
gtest | ||
jsshell | ||
marionette | ||
mochitest | ||
modules | ||
mozbase | ||
mozharness | ||
perfdocs | ||
performance | ||
profiles | ||
raptor | ||
runtimes | ||
specialpowers | ||
talos | ||
tools | ||
tps | ||
web-platform | ||
webcompat | ||
webdriver | ||
xpcshell | ||
addtest.py | ||
cppunittest.ini | ||
mach_commands.py | ||
moz.build | ||
parse_build_tests_ccov.py | ||
README.txt | ||
remotecppunittests.py | ||
runcppunittests.py | ||
testinfo.py | ||
testsuite-targets.mk |
Common testing tools for mozilla codebase projects, test suite definitions for automated test runs, tests that don't fit anywhere else, and other fun stuff