Chrome Version: ToT
Found in crrev.com/c/877739
What steps will reproduce the problem?
(1) Set body.innerHTML = "<span style='display:none'>\t</span>" in a unit test inheriting from PageTestBase
(2) Update style and layout
(3) Check ComputedStyle() of the span
What is the expected result?
ComputedStyle() returns non-null result.
What happens instead?
ComputedStyle() returns null
If I understand correctly, Node::ComputedStyle() should return non-null result as long as style is clean? Am I right, or what is the condition for ComputedStyle() to be null?
Comment 1 by ericwilligers@chromium.org
, Jan 23 2018