https://github.com/web-platform-tests/wpt
Revision 622b6fd97abd374fdd18a783d12a684f3fa98e23 authored by Emil A Eklund on 18 December 2018, 22:56:53 UTC, committed by Philip Jägenstedt on 19 December 2018, 15:14:29 UTC
Change getComputedStyle to return the resolved value for line-height per
the CSSOM specification [1]. Specifically for 'normal' or invalid values
this will return the computed line-height instead of the specified ones.

1) https://drafts.csswg.org/cssom/#resolved-value

Bug: 383409
Test: wpt/css/cssom/line-height-resolved-value.html
Change-Id: Id58fdc700605779a7f34ccbefb62290e3eea1117
1 parent 712c9f2
Raw File
Tip revision: 622b6fd97abd374fdd18a783d12a684f3fa98e23 authored by Emil A Eklund on 18 December 2018, 22:56:53 UTC
Return resolved-value for ComputedStyle line-height
Tip revision: 622b6fd
collapse-15.html
<!doctype html>
<title>Selection.collapse()/setPosition() tests</title>
<meta name=timeout content=long>
<div id=log></div>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script src=common.js></script>
<script src=collapse.js></script>
<script>
"use strict";

testCollapseSubSet(15, 30);
testDiv.style.display = "none";
</script>
back to top