İçeriğe atla

Kartographer Reparse Test

aq.si Wiki sitesinden
15.33, 8 Temmuz 2026 tarihinde TestAdmin (mesaj | katkılar) tarafından oluşturulmuş 40 numaralı sürüm ("== Kartographer innerHTML Re-Parse Test == This page demonstrates phab:T401606: nested <code><a></code> inside the mapframe container breaks when the HTML is re-parsed (e.g. by Vue's <code>v-html</code>). <mapframe width="300" height="200" zoom="13" latitude="41.353" longitude="41.31"> { "type": "Feature", "geometry": { "type": "Point", "coordinates": [41.31, 41.353] }, "properties": { "marker-symbol": "marker", "marker-size": "large", "marke..." içeriğiyle yeni sayfa oluşturdu)
(fark) ← Önceki sürüm | Güncel sürüm (fark) | Sonraki sürüm → (fark)

Kartographer innerHTML Re-Parse Test

This page demonstrates phab:T401606: nested <a> inside the mapframe container breaks when the HTML is re-parsed (e.g. by Vue's v-html).

Harita

How to test

  1. Wait for the map to fully load (you should see Arhavi with a blue marker)
  2. Open browser console (F12)
  3. Run: var m=document.querySelector('.mw-kartographer-map'), p=m.parentElement; console.log('BEFORE:', m.querySelectorAll('a').length, 'anchors'); p.innerHTML=p.innerHTML; var m2=p.querySelector('.mw-kartographer-map'); console.log('AFTER:', m2?m2.querySelectorAll('a').length:'GONE', 'anchors');
  4. The map will break apart — tiles, zoom controls, and attribution will be ejected from the container