diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
commit | 36d22d82aa202bb199967e9512281e9a53db42c9 (patch) | |
tree | 105e8c98ddea1c1e4784a60a5a6410fa416be2de /layout/reftests/bidi/clone-intrinsic-size-bidi.html | |
parent | Initial commit. (diff) | |
download | firefox-esr-upstream.tar.xz firefox-esr-upstream.zip |
Adding upstream version 115.7.0esr.upstream/115.7.0esrupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/bidi/clone-intrinsic-size-bidi.html')
-rw-r--r-- | layout/reftests/bidi/clone-intrinsic-size-bidi.html | 113 |
1 files changed, 113 insertions, 0 deletions
diff --git a/layout/reftests/bidi/clone-intrinsic-size-bidi.html b/layout/reftests/bidi/clone-intrinsic-size-bidi.html new file mode 100644 index 0000000000..684f2fe13f --- /dev/null +++ b/layout/reftests/bidi/clone-intrinsic-size-bidi.html @@ -0,0 +1,113 @@ +<!DOCTYPE html> +<head> + <title>CSS Test: min/max-content size on box-decoration-break:clone inline box with bidi text</title> + <link rel="author" title="Mats Palmgren" href="mailto:mats@mozilla.com"> + <link rel="help" href="https://drafts.csswg.org/css-sizing-3/#valdef-width-min-content"> + <link rel="help" href="https://drafts.csswg.org/css-break-3/#break-decoration"> + <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1552357"> + <link rel="match" href="clone-intrinsic-size-bidi-ref.html"> +<style> +html,body { + color:black; background-color:white; font:10px/1 monospace; padding:0; margin:0; +} + +div { + border: 5px solid blue; +} +.max > div { + width: -moz-max-content; + width: -webkit-max-content; + width: max-content; +} +.min > div { + width: -moz-min-content; + width: -webkit-min-content; + width: min-content; +} + +span { + border: 2px solid gray; + padding: 0 10px 0 6px; + border-width: 0 8px 0 5px; + margin: 0 4px 0 3px; + background: yellow; + -webkit-box-decoration-break: clone; + box-decoration-break: clone; +} + +f { margin-right: 30px; float: left; } +</style> +<body> +<f class="max"> +<div> + <span>‮a‭bc</span><span>d‮e‭f</span> +</div> +<div> + <span>‮a‭bc</span>aa<span>d‮e‭f</span> +</div> +<div> + <span>‮a‭bc</span> <span>d‮e‭f</span> +</div> +<div> + <span>‮a‭bc </span><span>d‮e‭f</span> +</div> +<div> + <span>‮a‭bc</span><span> d‮e‭f</span> +</div> +<div> + <span>‮a‭bc</span> aa<span>d‮e‭f</span> +</div> +<div> + <span>‮a‭bc </span>aa<span>d‮e‭f</span> +</div> +<div> + <span>‮a‭bc</span>aa<span> d‮e‭f</span> +</div> +<div> + <span>‮a‭bc</span> aa <span>d‮e‭f</span> +</div> +<div> + <span>‮a‭bc</span>aa <span>d‮e‭f</span> +</div> +<div> + <span>‮a‭bc</span>aa </div> +</f> + +<f class="min"> +<div> + <span>‮a‭bc</span><span>d‮e‭f</span> +</div> +<div> + <span>‮a‭bc</span>aa<span>d‮e‭f</span> +</div> +<!-- Bug 1556444 --> +<div> + <span>‮a‭bc</span> <span>d‮e‭f</span> +</div> +<!-- Bug 1556444 --> +<div> + <span>‮a‭bc </span><span>d‮e‭f</span> +</div> +<div> + <span>‮a‭bc</span><span> d‮e‭f</span> +</div> +<div> + <span>‮a‭bc</span> aa<span>d‮e‭f</span> +</div> +<div> + <span>‮a‭bc </span>aa<span>d‮e‭f</span> +</div> +<div> + <span>‮a‭bc</span>aa<span> d‮e‭f</span> +</div> +<!-- Bug 1556444 --> +<div> + <span>‮a‭bc</span> aa <span>d‮e‭f</span> +</div> +<!-- Bug 1556444 --> +<div> + <span>‮a‭bc</span>aa <span>d‮e‭f</span> +</div> +<div> + <span>‮a‭bc</span>aa </div> +</f> |