|
|
|
[
Permlink
| « Hide
]
Benjamin Shine - 06/Sep/06 09:09 PM
We need to check whether this behavior is still present.
Frisco volunteers to investigate whether this is still a bug.
<canvas debug="true">
<include href="lzunit"/> <simplelayout axis="y" spacing="10"/> <stylesheet> stylishbutton { fontsize : 10; } stylishbutton [name='settings'] { fontsize : 12; } </stylesheet> <class name="stylishbutton" extends="button" fontsize="$style{'fontsize'}"/> <stylishbutton name="settings" text="Should be 12"/> <TestSuite> <TestCase> <method name="testLPP1164"> assertEquals('12', canvas.settings.fontsize); </method> </TestCase> </TestSuite> </canvas> That test case does not indicate an error. The test case is wrong.
The test case with a space stylishbutton [name='settings'] is different from the original test: stylishbutton[name="settings"] The space makes a different selector. person[name="george"] selects people whose name is george, but person [name="george"] selects views named george who are a child of a person. |
||||||||||||||||||||||||||||||||||||||||||||||||||