summaryrefslogtreecommitdiff
path: root/legacy/works/static-position.html
diff options
context:
space:
mode:
Diffstat (limited to 'legacy/works/static-position.html')
-rw-r--r--legacy/works/static-position.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/legacy/works/static-position.html b/legacy/works/static-position.html
new file mode 100644
index 0000000..c0afe0f
--- /dev/null
+++ b/legacy/works/static-position.html
@@ -0,0 +1,28 @@
+<html>
+<head>
+<style>
+li.comments { width: 11em; right: 0; position: absolute; }
+</style>
+</head>
+
+<body>
+
+<div style="background-color: #f88; padding:2em;">
+<p>Absolute positioning bug. The &quot;x of x comments&quot; text is positioned with right:0 and there is no vertical positioning set. It should stay at the vertical height it would have been at without positioning, however, NetSurf puts them all at the top of the page or at the top of an absolutly positioned containing block (top: 0). This is from slashdot's front page.</p>
+</div>
+
+
+<ul>
+<li><a href=""><b>Read More...</b></a></li>
+<li class="comments"><a href="">43</a> of <a href="">61</a> comments</li>
+<li><a href="">hardware.slashdot.org</a></li>
+</ul>
+
+<ul>
+<li><a href=""><b>Read More...</b></a></li>
+<li class="comments"><a href="">73</a> of <a href="">91</a> comments</li>
+<li><a href="">science.slashdot.org</a></li>
+</ul>
+
+</body>
+</html> \ No newline at end of file