Fix levelbar css node tests

These were affected by the recent change to level offset handling.
At the same time, make the test files more realistic by updating
the level offsets when we set a custom range.
This commit is contained in:
Matthias Clasen 2016-02-07 11:37:30 +01:00
parent c3c01d8cbc
commit 4a465e6832
4 changed files with 60 additions and 30 deletions

View File

@ -19,11 +19,11 @@
block.empty:dir(ltr)
levelbar.horizontal.discrete:dir(ltr)
trough:dir(ltr)
block.full.filled:dir(ltr)
block.full.filled:dir(ltr)
block.full.filled:dir(ltr)
block.full.filled:dir(ltr)
block.full.filled:dir(ltr)
block.high.filled:dir(ltr)
block.high.filled:dir(ltr)
block.high.filled:dir(ltr)
block.high.filled:dir(ltr)
block.high.filled:dir(ltr)
block.empty:dir(ltr)
block.empty:dir(ltr)
block.empty:dir(ltr)
@ -31,8 +31,8 @@
block.empty:dir(ltr)
levelbar.horizontal.discrete:dir(ltr)
trough:dir(ltr)
block.full.filled:dir(ltr)
block.full.filled:dir(ltr)
block.low.filled:dir(ltr)
block.low.filled:dir(ltr)
block.empty:dir(ltr)
block.empty:dir(ltr)
block.empty:dir(ltr)
@ -43,13 +43,13 @@
block.empty:dir(ltr)
levelbar.horizontal.discrete:dir(ltr)
trough:dir(ltr)
block.full.filled:dir(ltr)
block.full.filled:dir(ltr)
block.full.filled:dir(ltr)
block.full.filled:dir(ltr)
block.full.filled:dir(ltr)
block.full.filled:dir(ltr)
block.full.filled:dir(ltr)
block.full.filled:dir(ltr)
block.high.filled:dir(ltr)
block.high.filled:dir(ltr)
block.high.filled:dir(ltr)
block.high.filled:dir(ltr)
block.high.filled:dir(ltr)
block.high.filled:dir(ltr)
block.high.filled:dir(ltr)
block.high.filled:dir(ltr)
block.empty:dir(ltr)
block.empty:dir(ltr)

View File

@ -40,6 +40,11 @@
<property name="max-value">10</property>
<property name="value">5</property>
<property name="mode">discrete</property>
<offsets>
<offset name="low" value="2"/>
<offset name="high" value="8"/>
<offset name="full" value="10"/>
</offsets>
</object>
</child>
<child>
@ -49,6 +54,11 @@
<property name="max-value">10</property>
<property name="value">2</property>
<property name="mode">discrete</property>
<offsets>
<offset name="low" value="2"/>
<offset name="high" value="8"/>
<offset name="full" value="10"/>
</offsets>
</object>
</child>
<child>
@ -58,6 +68,11 @@
<property name="max-value">10</property>
<property name="value">8</property>
<property name="mode">discrete</property>
<offsets>
<offset name="low" value="2"/>
<offset name="high" value="8"/>
<offset name="full" value="10"/>
</offsets>
</object>
</child>
</object>

View File

@ -24,11 +24,11 @@
block.empty:dir(rtl)
block.empty:dir(rtl)
block.empty:dir(rtl)
block.full.filled:dir(rtl)
block.full.filled:dir(rtl)
block.full.filled:dir(rtl)
block.full.filled:dir(rtl)
block.full.filled:dir(rtl)
block.high.filled:dir(rtl)
block.high.filled:dir(rtl)
block.high.filled:dir(rtl)
block.high.filled:dir(rtl)
block.high.filled:dir(rtl)
levelbar.horizontal.discrete:dir(rtl)
trough:dir(rtl)
block.empty:dir(rtl)
@ -39,17 +39,17 @@
block.empty:dir(rtl)
block.empty:dir(rtl)
block.empty:dir(rtl)
block.full.filled:dir(rtl)
block.full.filled:dir(rtl)
block.low.filled:dir(rtl)
block.low.filled:dir(rtl)
levelbar.horizontal.discrete:dir(rtl)
trough:dir(rtl)
block.empty:dir(rtl)
block.empty:dir(rtl)
block.full.filled:dir(rtl)
block.full.filled:dir(rtl)
block.full.filled:dir(rtl)
block.full.filled:dir(rtl)
block.full.filled:dir(rtl)
block.full.filled:dir(rtl)
block.full.filled:dir(rtl)
block.full.filled:dir(rtl)
block.high.filled:dir(rtl)
block.high.filled:dir(rtl)
block.high.filled:dir(rtl)
block.high.filled:dir(rtl)
block.high.filled:dir(rtl)
block.high.filled:dir(rtl)
block.high.filled:dir(rtl)
block.high.filled:dir(rtl)

View File

@ -40,6 +40,11 @@
<property name="max-value">10</property>
<property name="value">5</property>
<property name="mode">discrete</property>
<offsets>
<offset name="low" value="2"/>
<offset name="high" value="8"/>
<offset name="full" value="10"/>
</offsets>
</object>
</child>
<child>
@ -49,6 +54,11 @@
<property name="max-value">10</property>
<property name="value">2</property>
<property name="mode">discrete</property>
<offsets>
<offset name="low" value="2"/>
<offset name="high" value="8"/>
<offset name="full" value="10"/>
</offsets>
</object>
</child>
<child>
@ -58,6 +68,11 @@
<property name="max-value">10</property>
<property name="value">8</property>
<property name="mode">discrete</property>
<offsets>
<offset name="low" value="2"/>
<offset name="high" value="8"/>
<offset name="full" value="10"/>
</offsets>
</object>
</child>
</object>