gecko-dev/layout/reftests/flexbox/flexbox-dyn-insertEmptySpan...

44 строки
1.3 KiB
HTML
Исходник Обычный вид История

<?xml version="1.0" encoding="UTF-8"?>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<!--
This reference case is like its textcase, but with the testcase's dynamic
modifications already performed.
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style>
body { font-size: 10px; }
<!-- to make inserted span elements stand out -->
span {
background: teal;
padding: 3px;
}
div.flexbox {
border: 1px dashed blue;
width: 300px;
display: flex;
justify-content: space-around;
margin-bottom: 1px;
white-space: pre;
}
</style>
</head>
<body>
<div class="flexbox" id="f0"><span/>[orig]</div>
<div class="flexbox" id="f1">[orig]<span/></div>
<div class="flexbox" id="f2"><span/> [orig]</div>
<div class="flexbox" id="f3"> <span/>[orig]</div>
<div class="flexbox" id="f4">[orig]<span/> </div>
<div class="flexbox" id="f5">[orig] <span/></div>
<div class="flexbox" id="f6"><span/>[NewText][orig]</div>
<div class="flexbox" id="f7">[NewText]<span/>[orig]</div>
<div class="flexbox" id="f8">[orig]<span/>[NewText]</div>
<div class="flexbox" id="f9">[orig][NewText]<span/></div>
</body>
</html>