diff options
Diffstat (limited to 'testing/web-platform/tests/css/CSS2/floats/float-nowrap-hyphen-rewind-1-ref2.html')
-rw-r--r-- | testing/web-platform/tests/css/CSS2/floats/float-nowrap-hyphen-rewind-1-ref2.html | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/CSS2/floats/float-nowrap-hyphen-rewind-1-ref2.html b/testing/web-platform/tests/css/CSS2/floats/float-nowrap-hyphen-rewind-1-ref2.html new file mode 100644 index 0000000000..bdc489737f --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/floats/float-nowrap-hyphen-rewind-1-ref2.html @@ -0,0 +1,53 @@ +<!DOCTYPE html> +<style> +#container { + font-family: monospace; + font-size: 20px; + hyphens: auto; +} + +#container > div { + border: 1px solid blue; +} + +#container > div > div { + border: 1px solid gray; +} + +span.wrapper { + white-space: pre; +} + +.float { + float: right; + margin-right: -100px; +} +</style> +<div id="container" lang="en-US"> + <div style="width: 23ch"> + <div> + <span class="float">float</span> + pppp + comprehension<span class="wrapper"> ppp</span> + pppp + </div> + <div> + <span class="float">float</span> + pppp + comprehension<span class="wrapper">[ppp</span> + pppp + </div> + <div> + <span class="float">float</span> + pppp + pppp pppp XXX<span class="wrapper"> ppp</span> + pppp + </div> + <div> + <span class="float">float</span> + pppp + pppp pppp XXX<span class="wrapper">[ppp</span> + pppp + </div> + </div> +</div> |