Difference between revisions of "Template:Hidden/testcases"

From blackwiki
Jump to navigation Jump to search
imported>He7d3r
imported>Anomie
(Replace link to https://secure.wikimedia.org/wikipedia/en with link to //en.wikipedia.org)
Line 2: Line 2:
  
 
== Compatibility ==
 
== Compatibility ==
The [https://secure.wikimedia.org/wikipedia/en/w/index.php?title=Special%3AComparePages&page1=Template%3AHidden&page2=Template%3AHidden%2Fsandbox&rev1=416365160&rev2=444105767 new version] was [[#Testing jQuery.makeCollapsible version|tested below]] and is working fine in the following browsers (except for some [[#Issues|small issues]]):
+
The [//en.wikipedia.org/w/index.php?title=Special%3AComparePages&page1=Template%3AHidden&page2=Template%3AHidden%2Fsandbox&rev1=416365160&rev2=444105767 new version] was [[#Testing jQuery.makeCollapsible version|tested below]] and is working fine in the following browsers (except for some [[#Issues|small issues]]):
 
* Firefox 4.0, on Windows XP {{ok}}
 
* Firefox 4.0, on Windows XP {{ok}}
 
* IE 8, on Windows XP {{ok}}
 
* IE 8, on Windows XP {{ok}}

Revision as of 04:40, 9 November 2011

Compatibility

The new version was tested below and is working fine in the following browsers (except for some small issues):

Issues

  • As reported on this topic, the header is jumping left when expanded. For the default collapsible text, could be fixed by using the CSS provided on that topic. See also bug #30402;
  • As reported on other topic, on Windows, "the cursor takes the form of an up-and-down arrow rather than the pointing-index-finger form". See bug #30327.

Testing jQuery.makeCollapsible version

Example 0

{{Hidden/sandbox}}

{{{1}}}
{{{2}}}

Example 1

{{Hidden/sandbox|Title text here|Body text line 1<br/>Body text line 2}}

Title text here
Body text line 1
Body text line 2

Example 2

{{Hidden/sandbox|Title text here |Body text line 1<br/>Body text line 2 |headerstyle=background:#ccccff |style=text-align:center; }}

Title text here

Body text line 1
Body text line 2

Example 3

{{Hidden/sandbox| style = border:1px dashed red; width: 50%; | headerstyle = background: #ccccff; font-size: 110%; | contentstyle = text-align: center; color:green; | header = Title text here | content = Body text line 1<br />Body text line 2<br />Body text line 3 }}

Title text here
Body text line 1
Body text line 2
Body text line 3

Example 4

{{Hidden/sandbox|Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.|def}}

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
def

Testing original template

Example 0

{{Hidden}}

{{{1}}}
{{{2}}}

Example 1

{{Hidden|Title text here|Body text line 1<br/>Body text line 2}}

Title text here
Body text line 1
Body text line 2

Example 2

{{Hidden|Title text here |Body text line 1<br/>Body text line 2 |headerstyle=background:#ccccff |style=text-align:center; }}

Title text here

Body text line 1
Body text line 2

Example 3

{{Hidden| style = border:1px dashed red; width: 50%; | headerstyle = background: #ccccff; font-size: 110%; | contentstyle = text-align: center; color:green; | header = Title text here | content = Body text line 1<br />Body text line 2<br />Body text line 3 }}

Title text here
Body text line 1
Body text line 2
Body text line 3

Example 4

{{Hidden|Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.|def}}

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
def