Bug 1684285 [wpt PR 27010] - Corrected lh-rlh-on-root-001.html test based on issue 22055, a=testonly

Automatic update from web-platform-tests
Corrected lh-rlh-on-root-001.html test based on issue 22055 (#27010)

--

wpt-commits: 9c26c9eb197c1beeca8947c1195d9ca57decf20b
wpt-pr: 27010
This commit is contained in:
Gérard Talbot 2021-01-07 09:53:18 +00:00 коммит произвёл moz-wptsync-bot
Родитель da906f5ad3
Коммит c9cfd2e043
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -77,7 +77,7 @@
test(function() {
window.document.documentElement.style="font-size: 2rlh; line-height: 142px;";
f_s = get_root_font_size();
assert_approx_equals( f_s, initial_f_s * 2, 1, "the rlh unit on the root element's font-size property actually works as a unit and doesn't merely cause a fallback that doesn't take the number of units into account");
assert_approx_equals( f_s, initial_l_h * 2, 1, "the rlh unit on the root element's font-size property actually works as a unit and doesn't merely cause a fallback that doesn't take the number of units into account");
}, "2rlh in font-size on root");