Adds support for expect-* attributes

This commit is contained in:
Maël Nison
2017-04-13 23:07:10 +01:00
parent dd1885a776
commit 6b8acabae1
8 changed files with 637 additions and 25 deletions

View File

@@ -51,7 +51,7 @@
<div style="height: 10px; flex-grow:1;"></div>
</div>
<div id="rounding_fractial_input_3" experiments="Rounding" style="top: 0.3px; height: 113.4px; width: 100px;">
<div id="rounding_fractial_input_3" experiments="Rounding" style="top: 0.1px; height: 113.1px; width: 100px;">
<div style="height: 20px; flex-grow:1; flex-basis:50px;"></div>
<div style="height: 10px; flex-grow:1;"></div>
<div style="height: 10px; flex-grow:1;"></div>
@@ -62,3 +62,15 @@
<div style="height: 10px; flex-grow:1;"></div>
<div style="height: 10px; flex-grow:1;"></div>
</div>
<div id="rounding_fractial_input_5_x" experiments="Rounding" style="margin-top: .4px; height: 100.4px; width: 100px; flex-direction: row;">
<div style="height: 100%; width: 10px;" expect-height="101 instead of 100"></div>
<div style="height: 100%; width: 10px;" expect-height="101 instead of 100"></div>
<div style="height: 100%; width: 10px;" expect-height="101 instead of 100"></div>
</div>
<div id="rounding_fractial_input_5_y" experiments="Rounding" style="margin-left: .4px; width: 100.4px; height: 100px; flex-direction: column;">
<div style="width: 100%; height: 10px;" expect-width="101 instead of 100"></div>
<div style="width: 100%; height: 10px;" expect-width="101 instead of 100"></div>
<div style="width: 100%; height: 10px;" expect-width="101 instead of 100"></div>
</div>