Skip to content
Permalink
Browse files
Changing text color and removing line-clamp on hover causes text to d…
…isappear permanently

https://bugs.webkit.org/show_bug.cgi?id=240410

Reviewed by Darin Adler.

Address post-landing review comment.
* Source/WebCore/rendering/RenderDeprecatedFlexibleBox.cpp:
(WebCore::RenderDeprecatedFlexibleBox::styleWillChange):

Canonical link: https://commits.webkit.org/250760@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@294503 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
alanbujtas committed May 19, 2022
1 parent 16660ca commit f6f56277b1a4e73c85ba95e8099bb291d6d2963c
Showing 1 changed file with 1 addition and 1 deletion.
@@ -186,7 +186,7 @@ void RenderDeprecatedFlexibleBox::styleWillChange(StyleDifference diff, const Re
for (auto& child : childrenOfType<RenderBlockFlow>(*this))
child.invalidateLineLayoutPath();

if (hadLineClamp && !hasLineClamp)
if (hadLineClamp)
clearLineClamp();
}
}

0 comments on commit f6f5627

Please sign in to comment.