diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-text/word-break/word-break-min-content-006.html')
-rw-r--r-- | testing/web-platform/tests/css/css-text/word-break/word-break-min-content-006.html | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-text/word-break/word-break-min-content-006.html b/testing/web-platform/tests/css/css-text/word-break/word-break-min-content-006.html new file mode 100644 index 0000000000..7b88136934 --- /dev/null +++ b/testing/web-platform/tests/css/css-text/word-break/word-break-min-content-006.html @@ -0,0 +1,23 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Text Test: word-break: break-word and intrinsic sizing</title> +<link rel="author" title="Xidorn Quan" href="https://www.upsuper.org/"> +<link rel="author" title="Mozilla" href="https://www.mozilla.org/"> +<link rel="help" href="https://drafts.csswg.org/css-text-3/#overflow-wrap-property"> +<link rel="match" href="../overflow-wrap/reference/overflow-wrap-min-content-size-002-ref.html"> +<meta name="assert" content="'word-break: break-word' doesn't break grapheme cluster and min-content intrinsic size should take that into account."> +<style> +#wrapper { + width: 0px; + word-break: break-word; +} +#test { + float: left; + border: 2px solid blue; +} +</style> + +<p>Test passes if the glyphs are completely inside the blue box. +<div id="wrapper"> + <div id="test">நிிிிநிிிி</div> +</div> |