diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-text/overflow-wrap/overflow-wrap-anywhere-011-ref.html')
-rw-r--r-- | testing/web-platform/tests/css/css-text/overflow-wrap/overflow-wrap-anywhere-011-ref.html | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-text/overflow-wrap/overflow-wrap-anywhere-011-ref.html b/testing/web-platform/tests/css/css-text/overflow-wrap/overflow-wrap-anywhere-011-ref.html new file mode 100644 index 0000000000..25d7fc7958 --- /dev/null +++ b/testing/web-platform/tests/css/css-text/overflow-wrap/overflow-wrap-anywhere-011-ref.html @@ -0,0 +1,25 @@ +<!DOCTYPE html> +<html> + <meta charset="utf-8"> + <title>CSS Text Reference: overflow-wrap: anywhere</title> + <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com"> + <link rel="author" title="Mozilla" href="https://www.mozilla.org/"> + + <style> + div { + /* Use sans-serif fonts to ensure the width of ` ` is larger than `i`. */ + font-family: Arial, Helvetica, sans-serif; + font-size: 100px; + width: min-content; + overflow-wrap: anywhere; + border: 5px solid blue; + margin-bottom: 5px; /* To separate <div>s visually. */ + } + </style> + + <p>The first three div should have the same width, but the fourth one should be wider.</p> + <div>i</div> + <div>i</div> + <div>i</div> + <div>i </div> +</html> |