Commit 4343f6c8 authored by Mateusz Kowalczyk's avatar Mateusz Kowalczyk

Update tests for the CSS changes

parent a476b251
......@@ -19,6 +19,8 @@ Changes in version 2.16.1
* Fix cross-module instance locations (#383)
* Fix alignment of Source link for instances in Firefox (#384)
Changes in version 2.16.0
* Experimental collapsible header support (#335)
......
......@@ -145,10 +145,12 @@ window.onload = function () {pageLoad();setSynopsis("mini_Bug26.html");};
><div id="section.i:C" class="show"
><table
><tr
><td class="src"
><a href=""
>C</a
> ()</td
><td class="src clearfix"
><span class="inst-left"
><a href=""
>C</a
> ()</span
></td
><td class="doc"
><p
>instance for ()</p
......@@ -168,7 +170,7 @@ window.onload = function () {pageLoad();setSynopsis("mini_Bug26.html");};
><p
>Produced by <a href=""
>Haddock</a
> version 2.15.1</p
> version 2.16.1</p
></div
></body
></html
......
......@@ -57,31 +57,35 @@ window.onload = function () {pageLoad();setSynopsis("mini_Bug294.html");};
><div id="section.i:A" class="show"
><table
><tr
><td class="src"
><span class="keyword"
>data</span
> <a href=""
>DP</a
> <a href=""
>A</a
> = <a name="v:ProblemCtor-39-" class="def"
>ProblemCtor'</a
> <a href=""
>A</a
><td class="src clearfix"
><span class="inst-left"
><span class="keyword"
>data</span
> <a href=""
>DP</a
> <a href=""
>A</a
> = <a name="v:ProblemCtor-39-" class="def"
>ProblemCtor'</a
> <a href=""
>A</a
></span
></td
><td class="doc empty"
>&nbsp;</td
></tr
><tr
><td class="src"
><span class="keyword"
>data</span
> TP <a href=""
>A</a
> = <a name="v:ProblemCtor" class="def"
>ProblemCtor</a
> <a href=""
>A</a
><td class="src clearfix"
><span class="inst-left"
><span class="keyword"
>data</span
> TP <a href=""
>A</a
> = <a name="v:ProblemCtor" class="def"
>ProblemCtor</a
> <a href=""
>A</a
></span
></td
><td class="doc empty"
>&nbsp;</td
......@@ -133,17 +137,19 @@ window.onload = function () {pageLoad();setSynopsis("mini_Bug294.html");};
><div id="section.i:DP" class="show"
><table
><tr
><td class="src"
><span class="keyword"
>data</span
> <a href=""
>DP</a
> <a href=""
>A</a
> = <a name="v:ProblemCtor-39-" class="def"
>ProblemCtor'</a
> <a href=""
>A</a
><td class="src clearfix"
><span class="inst-left"
><span class="keyword"
>data</span
> <a href=""
>DP</a
> <a href=""
>A</a
> = <a name="v:ProblemCtor-39-" class="def"
>ProblemCtor'</a
> <a href=""
>A</a
></span
></td
><td class="doc empty"
>&nbsp;</td
......@@ -158,7 +164,7 @@ window.onload = function () {pageLoad();setSynopsis("mini_Bug294.html");};
><p
>Produced by <a href=""
>Haddock</a
> version 2.15.0</p
> version 2.16.1</p
></div
></body
></html
......
......@@ -104,13 +104,15 @@ window.onload = function () {pageLoad();setSynopsis("mini_Bug7.html");};
><div id="section.i:Foo" class="show"
><table
><tr
><td class="src"
><a href=""
>Bar</a
> <a href=""
>Foo</a
> <a href=""
>Foo</a
><td class="src clearfix"
><span class="inst-left"
><a href=""
>Bar</a
> <a href=""
>Foo</a
> <a href=""
>Foo</a
></span
></td
><td class="doc"
><p
......@@ -138,13 +140,15 @@ window.onload = function () {pageLoad();setSynopsis("mini_Bug7.html");};
><div id="section.i:Bar" class="show"
><table
><tr
><td class="src"
><a href=""
>Bar</a
> <a href=""
>Foo</a
> <a href=""
>Foo</a
><td class="src clearfix"
><span class="inst-left"
><a href=""
>Bar</a
> <a href=""
>Foo</a
> <a href=""
>Foo</a
></span
></td
><td class="doc"
><p
......@@ -161,7 +165,7 @@ window.onload = function () {pageLoad();setSynopsis("mini_Bug7.html");};
><p
>Produced by <a href=""
>Haddock</a
> version 2.15.0</p
> version 2.16.1</p
></div
></body
></html
......
......@@ -276,34 +276,40 @@ window.onload = function () {pageLoad();setSynopsis("mini_Hash.html");};
><div id="section.i:Hash" class="show"
><table
><tr
><td class="src"
><a href=""
>Hash</a
> <a href=""
>Float</a
><td class="src clearfix"
><span class="inst-left"
><a href=""
>Hash</a
> <a href=""
>Float</a
></span
></td
><td class="doc empty"
>&nbsp;</td
></tr
><tr
><td class="src"
><a href=""
>Hash</a
> <a href=""
>Int</a
><td class="src clearfix"
><span class="inst-left"
><a href=""
>Hash</a
> <a href=""
>Int</a
></span
></td
><td class="doc empty"
>&nbsp;</td
></tr
><tr
><td class="src"
>(<a href=""
>Hash</a
> a, <a href=""
>Hash</a
> b) =&gt; <a href=""
>Hash</a
> (a, b)</td
><td class="src clearfix"
><span class="inst-left"
>(<a href=""
>Hash</a
> a, <a href=""
>Hash</a
> b) =&gt; <a href=""
>Hash</a
> (a, b)</span
></td
><td class="doc empty"
>&nbsp;</td
></tr
......@@ -317,7 +323,7 @@ window.onload = function () {pageLoad();setSynopsis("mini_Hash.html");};
><p
>Produced by <a href=""
>Haddock</a
> version 2.15.0</p
> version 2.16.1</p
></div
></body
></html
......
......@@ -79,11 +79,13 @@ window.onload = function () {pageLoad();setSynopsis("mini_HiddenInstances.html")
><div id="section.i:VisibleClass" class="show"
><table
><tr
><td class="src"
><a href=""
>VisibleClass</a
> <a href=""
>Int</a
><td class="src clearfix"
><span class="inst-left"
><a href=""
>VisibleClass</a
> <a href=""
>Int</a
></span
></td
><td class="doc"
><p
......@@ -91,11 +93,13 @@ window.onload = function () {pageLoad();setSynopsis("mini_HiddenInstances.html")
></td
></tr
><tr
><td class="src"
><a href=""
>VisibleClass</a
> <a href=""
>VisibleData</a
><td class="src clearfix"
><span class="inst-left"
><a href=""
>VisibleClass</a
> <a href=""
>VisibleData</a
></span
></td
><td class="doc"
><p
......@@ -123,11 +127,13 @@ window.onload = function () {pageLoad();setSynopsis("mini_HiddenInstances.html")
><div id="section.i:VisibleData" class="show"
><table
><tr
><td class="src"
><a href=""
>Num</a
> <a href=""
>VisibleData</a
><td class="src clearfix"
><span class="inst-left"
><a href=""
>Num</a
> <a href=""
>VisibleData</a
></span
></td
><td class="doc"
><p
......@@ -135,11 +141,13 @@ window.onload = function () {pageLoad();setSynopsis("mini_HiddenInstances.html")
></td
></tr
><tr
><td class="src"
><a href=""
>VisibleClass</a
> <a href=""
>VisibleData</a
><td class="src clearfix"
><span class="inst-left"
><a href=""
>VisibleClass</a
> <a href=""
>VisibleData</a
></span
></td
><td class="doc"
><p
......@@ -156,7 +164,7 @@ window.onload = function () {pageLoad();setSynopsis("mini_HiddenInstances.html")
><p
>Produced by <a href=""
>Haddock</a
> version 2.15.0</p
> version 2.16.1</p
></div
></body
></html
......
......@@ -79,11 +79,13 @@ window.onload = function () {pageLoad();setSynopsis("mini_HiddenInstancesB.html"
><div id="section.i:Foo" class="show"
><table
><tr
><td class="src"
><a href=""
>Foo</a
> <a href=""
>Bar</a
><td class="src clearfix"
><span class="inst-left"
><a href=""
>Foo</a
> <a href=""
>Bar</a
></span
></td
><td class="doc"
><p
......@@ -111,11 +113,13 @@ window.onload = function () {pageLoad();setSynopsis("mini_HiddenInstancesB.html"
><div id="section.i:Bar" class="show"
><table
><tr
><td class="src"
><a href=""
>Foo</a
> <a href=""
>Bar</a
><td class="src clearfix"
><span class="inst-left"
><a href=""
>Foo</a
> <a href=""
>Bar</a
></span
></td
><td class="doc"
><p
......@@ -132,7 +136,7 @@ window.onload = function () {pageLoad();setSynopsis("mini_HiddenInstancesB.html"
><p
>Produced by <a href=""
>Haddock</a
> version 2.15.0</p
> version 2.16.1</p
></div
></body
></html
......
......@@ -107,11 +107,13 @@ window.onload = function () {pageLoad();setSynopsis("mini_QuasiExpr.html");};
><div id="section.i:Expr" class="show"
><table
><tr
><td class="src"
><a href=""
>Show</a
> <a href=""
>Expr</a
><td class="src clearfix"
><span class="inst-left"
><a href=""
>Show</a
> <a href=""
>Expr</a
></span
></td
><td class="doc empty"
>&nbsp;</td
......@@ -171,11 +173,13 @@ window.onload = function () {pageLoad();setSynopsis("mini_QuasiExpr.html");};
><div id="section.i:BinOp" class="show"
><table
><tr
><td class="src"
><a href=""
>Show</a
> <a href=""
>BinOp</a
><td class="src clearfix"
><span class="inst-left"
><a href=""
>Show</a
> <a href=""
>BinOp</a
></span
></td
><td class="doc empty"
>&nbsp;</td
......@@ -214,7 +218,7 @@ window.onload = function () {pageLoad();setSynopsis("mini_QuasiExpr.html");};
><p
>Produced by <a href=""
>Haddock</a
> version 2.15.0</p
> version 2.16.1</p
></div
></body
></html
......
......@@ -83,24 +83,28 @@ Fix spurious superclass constraints bug.</pre
><div id="section.i:SomeType" class="show"
><table
><tr
><td class="src"
><a href=""
>Functor</a
> (<a href=""
>SomeType</a
> f)</td
><td class="src clearfix"
><span class="inst-left"
><a href=""
>Functor</a
> (<a href=""
>SomeType</a
> f)</span
></td
><td class="doc empty"
>&nbsp;</td
></tr
><tr
><td class="src"
><a href=""
>Applicative</a
> f =&gt; <a href=""
>Applicative</a
> (<a href=""
>SomeType</a
> f)</td
><td class="src clearfix"
><span class="inst-left"
><a href=""
>Applicative</a
> f =&gt; <a href=""
>Applicative</a
> (<a href=""
>SomeType</a
> f)</span
></td
><td class="doc empty"
>&nbsp;</td
></tr
......@@ -114,7 +118,7 @@ Fix spurious superclass constraints bug.</pre
><p
>Produced by <a href=""
>Haddock</a
> version 2.15.0</p
> version 2.16.1</p
></div
></body
></html
......
......@@ -1519,21 +1519,25 @@ window.onload = function () {pageLoad();setSynopsis("mini_Test.html");};
><div id="section.i:D" class="show"
><table
><tr
><td class="src"
><a href=""
>D</a
> <a href=""
>Float</a
><td class="src clearfix"
><span class="inst-left"
><a href=""
>D</a
> <a href=""
>Float</a
></span
></td
><td class="doc empty"
>&nbsp;</td
></tr
><tr
><td class="src"
><a href=""
>D</a
> <a href=""
>Int</a
><td class="src clearfix"
><span class="inst-left"
><a href=""
>D</a
> <a href=""
>Int</a
></span
></td
><td class="doc empty"
>&nbsp;</td
......@@ -2112,7 +2116,7 @@ is at the beginning of the line).</pre
><p
>Produced by <a href=""
>Haddock</a
> version 2.16.0</p
> version 2.16.1</p
></div
></body
></html
......
This diff is collapsed.
......@@ -85,29 +85,33 @@ window.onload = function () {pageLoad();setSynopsis("mini_TypeFamilies2.html");}
><div id="section.i:W" class="show"
><table
><tr
><td class="src"
><span class="keyword"
>data</span
> <a href=""
>Bar</a
> <a href=""
>W</a
> = <a name="v:BarX" class="def"
>BarX</a
> Z</td
><td class="src clearfix"
><span class="inst-left"
><span class="keyword"
>data</span
> <a href=""
>Bar</a
> <a href=""
>W</a
> = <a name="v:BarX" class="def"
>BarX</a
> Z</span
></td
><td class="doc"
><p
>Shown because BarX is still exported despite Z being hidden</p
></td
></tr
><tr
><td class="src"
><span class="keyword"
>type</span
> <a href=""
>Foo</a
> <a href=""
>W</a
><td class="src clearfix"
><span class="inst-left"
><span class="keyword"
>type</span
> <a href=""
>Foo</a
> <a href=""
>W</a
></span
></td
><td class="doc"
><p
......@@ -135,13 +139,15 @@ window.onload = function () {pageLoad();setSynopsis("mini_TypeFamilies2.html");}
><div id="section.i:Foo" class="show"
><table
><tr
><td class="src"
><span class="keyword"
>type</span
> <a href=""
>Foo</a
> <a href=""
>W</a
><td class="src clearfix"
><span class="inst-left"
><span class="keyword"
>type</span
> <a href=""
>Foo</a
> <a href=""
>W</a
></span
></td
><td class="doc"
><p
......@@ -149,15 +155,17 @@ window.onload = function () {pageLoad();setSynopsis("mini_TypeFamilies2.html");}
></td
></tr
><tr
><td class="src"
><span class="keyword"
>type</span
> <a href=""
>Foo</a
> <a href=""
>X</a
> = <a href=""
>Y</a
><td class="src clearfix"
><span class="inst-left"
><span class="keyword"
>type</span
> <a href=""
>Foo</a
> <a href=""
>X</a
> = <a href=""
>Y</a
></span
></td
><td class="doc"
><p
......@@ -185,29 +193,33 @@ window.onload = function () {pageLoad();setSynopsis("mini_TypeFamilies2.html");}
><div id="section.i:Bar" class="show"
><table
><tr
><td class="src"
><span class="keyword"
>data</span
> <a href=""
>Bar</a
> <a href=""
>W</a
> = <a name="v:BarX" class="def"
>BarX</a
> Z</td
><td class="src clearfix"
><span class="inst-left"
><span class="keyword"
>data</span
> <a href=""
>Bar</a
> <a href=""
>W</a
> = <a name="v:BarX" class="def"
>BarX</a
> Z</span
></td
><td class="doc"
><p
>Shown because BarX is still exported despite Z being hidden</p
></td
></tr
><tr
><td class="src"
><span class="keyword"
>data</span
> <a href=""
>Bar</a
> <a href=""
>Y</a
><td class="src clearfix"
><span class="inst-left"
><span class="keyword"
>data</span
> <a href=""
>Bar</a
> <a href=""
>Y</a
></span
></td
><td class="doc empty"
>&nbsp;</td
......@@ -222,7 +234,7 @@ window.onload = function () {pageLoad();setSynopsis("mini_TypeFamilies2.html");}
><p
>Produced by <a href=""
>Haddock</a
> version 2.15.0</p
> version 2.16.1</p
></div
></body
></html
......
......@@ -318,6 +318,7 @@ div#style-menu-holder {
height: 80%;
top: 10%;
padding: 0;
max-width: 75%;
}
#synopsis .caption {
......@@ -378,6 +379,15 @@ div#style-menu-holder {
margin: 0 -0.5em 0 0.5em;
}
#interface td.src .link {
float: right;
color: #919191;
border-left: 1px solid #919191;
background: #f0f0f0;
padding: 0 0.5em 0.2em;
margin: 0 -0.5em 0 0.5em;
}
#interface span.fixity {
color: #919191;
border-left: 1px solid #919191;
......@@ -406,6 +416,14 @@ div#style-menu-holder {
margin-top: 0.8em;
}
.clearfix:after {
clear: both;
content: " ";
display: block;
height: 0;
visibility: hidden;
}
.subs dl {
margin: 0;
}
......@@ -445,6 +463,11 @@ div#style-menu-holder {
margin-left: 1em;
}
/* Workaround for bug in Firefox (issue #384) */
.inst-left {
float: left;
}
.top p.src {
border-top: 1px solid #ccc;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment