Summary: This diff does two things - Clean up some of the generated code making the files smaller. - Add experiment support to generated tests allowing us to use gentest for things still being experimented with such as more compliant flex-basis behavior. Reviewed By: gkassabli Differential Revision: D4226734 fbshipit-source-id: 2cc1471c21883e8e326f16e7a8bb1a3657acd84b
71 lines
1.2 KiB
HTML
71 lines
1.2 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>%s</title>
|
|
<script src="gentest.js"></script>
|
|
<script src="gentest-cpp.js"></script>
|
|
<script src="gentest-java.js"></script>
|
|
<script src="gentest-cs.js"></script>
|
|
|
|
<style>
|
|
body {
|
|
padding: 0;
|
|
margin: 0;
|
|
font-family: Helvetica;
|
|
font-size: 14px;
|
|
font-weight: 100;
|
|
}
|
|
|
|
div, span {
|
|
box-sizing: border-box;
|
|
position: relative;
|
|
border: 0 solid black;
|
|
margin: 0;
|
|
padding: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
align-content: flex-start;
|
|
justify-content: flex-start;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
body > * {
|
|
position: absolute;
|
|
}
|
|
|
|
#ltr-container > * {
|
|
position: absolute;
|
|
direction: ltr;
|
|
}
|
|
|
|
#rtl-container > * {
|
|
position: absolute;
|
|
direction: rtl;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<div id='ltr-container'>
|
|
|
|
%s
|
|
|
|
<div id='default'></div>
|
|
</div>
|
|
<div id='rtl-container'>
|
|
|
|
%s
|
|
|
|
<div id='default'></div>
|
|
</div>
|
|
|
|
<div>
|
|
|
|
%s
|
|
|
|
</div>
|
|
</body>
|
|
</html>
|