You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<section>
<h2 id='sec2'>sec2</h2>
<p>sec2 manually-assigned id</p>
</section>
<section>
<h2>sec3</h2>
<p>sec1 before a tag --}<a href='#sec1'></a>{-- sec1 after a tag</p>
<p>sec2 before a tag --}<a href='#sec2'></a>{-- sec2 after a tag</p>
</section>
The text was updated successfully, but these errors were encountered:
So found out a little bit more regarding this problem, the current LDP spec had id attributes on the hN tags and not the section tags. This used to work. Should I expect this to work again or should I move my ids from my hN tags to my section tags?
Normally IDs on section elements are recommended, I wasn't aware that it used to work on hN elements (but it may well be the case). I don't feel a strong urge to fix this right now, but I will certainly take pull requests.
The test case I have shows simply where empty a tag reference to section doesn't resolve, see attached test case....
<title>Test</title> <script src='http://www.w3.org/Tools/respec/respec-w3c-common' async class='remove'></script> <script class='remove'> var respecConfig = { specStatus: "FPWD", shortName: "unicorn-dahuts", editors: [ { name: "Robin Berjon", url: "http://berjon.com/", company: "W3C", companyURL: "http://w3c.org/" } ], wg: "Cryptozoology Working Group", wgURI: "http://www.w3.org/2017/cryptozoology/", wgPublicList: "public-animals", wgPatentURI: "http://www.w3.org/2004/01/pp-impl/424242/status", }; </script>sec1
sec1 auto-assigned id
The text was updated successfully, but these errors were encountered: