Skip to content

Commit 2d2cc72

Browse files
kyoetymozmoz-wptsync-bot
authored andcommitted
Avoid line-clamp style adjustment for displays that aren't block/inline.
Differential Revision: https://phabricator.services.mozilla.com/D319194 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=2063759 gecko-commit: 903b70f3553db4ae24611d809efd9b549f244c03 gecko-commit-git: c0e30ee6b7d3a74774a61e1ff685cad2ef1aa72c gecko-reviewers: firefox-style-system-reviewers, emilio, layout-reviewers
1 parent 0e66815 commit 2d2cc72

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<!DOCTYPE html>
2+
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=2063759">
3+
<script>
4+
document.addEventListener("DOMContentLoaded", () => {
5+
a.hidden = true;
6+
a.style.setProperty("-webkit-line-clamp", "1");
7+
document.documentElement.innerHTML = document.documentElement.innerHTML;
8+
});
9+
</script>
10+
<hr id="a">

0 commit comments

Comments
 (0)