diff options
Diffstat (limited to 'third_party/WebKit/LayoutTests/fast/deprecated-flexbox/line-clamp-removed-dynamically.html')
| -rw-r--r-- | third_party/WebKit/LayoutTests/fast/deprecated-flexbox/line-clamp-removed-dynamically.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/third_party/WebKit/LayoutTests/fast/deprecated-flexbox/line-clamp-removed-dynamically.html b/third_party/WebKit/LayoutTests/fast/deprecated-flexbox/line-clamp-removed-dynamically.html new file mode 100644 index 0000000..49048e7 --- /dev/null +++ b/third_party/WebKit/LayoutTests/fast/deprecated-flexbox/line-clamp-removed-dynamically.html @@ -0,0 +1,15 @@ +<div id="target" style=" + display: -webkit-box; + -webkit-box-orient: vertical; + overflow: hidden; + -webkit-line-clamp: 2; + width: 100px; +"> + <div> + Unless this sentence is truncated after two lines, PASS. + </div> +</div> +<script> + document.body.offsetTop; + target.style.removeProperty("-webkit-line-clamp"); +</script> |
