SwingBox: scroll to empty named anchors
Pure Java HTML / CSS rendering engine
Status: Beta
Brought to you by:
radkovo
it is not possible to navigate to empty named anchors.
See for instance:
<html>
<body>
<a href="#withcontent">to content</a>
<a href="#empty">to empty</a>
<a name="withcontent" style="display:block;margin-top:1500px;">toto</a>
<a name="empty" style="display:block;margin-top:1500px;"></a>titi
</body>
</html>
If you open it in SwingBox, you'll be able to click on 'to content' to go to the text 'toto'. You'll not be able to click on 'to empty' to got to the text 'titi'.
This is with cssbox-4.7, swingbox-1.1.
Anonymous