為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Firefox is removing DOM elements. How do I fix this?

  • 4 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 cleanboy

more options

This is specifically about firefox developer edition.

I am currently building a site and when I go to inspect something sometimes the DOM just seems to stop and doesnt show me all of the children elements that I need (it should show everything really)

See the screenshot for an example.

The container div does have chilren and you can even see the styles for children in the styles panel but the DOM just seems to stop there. This has happened a few times and I'm not sure why.

If this is a bug then I would be happy to submit it elsewhere but im not entirely sure where I would submit that?

This is specifically about firefox developer edition. I am currently building a site and when I go to inspect something sometimes the DOM just seems to stop and doesnt show me all of the children elements that I need (it should show everything really) See the screenshot for an example. The container div does have chilren and you can even see the styles for children in the styles panel but the DOM just seems to stop there. This has happened a few times and I'm not sure why. If this is a bug then I would be happy to submit it elsewhere but im not entirely sure where I would submit that?

所有回覆 (4)

more options

The screenshot didnt seem to upload and I cant seem to edit my original post so heres the screenshot

more options

If you have a bug, file a bug report. https://bugzilla.mozilla.org/ Bug Writing Guidelines : https://developer.mozilla.org/en-US/docs/Mozilla/QA/Bug_writing_guidelines

https://discourse.mozilla.org/ Please let us know if this solved your issue or if need further assistance.

more options

Can you get Firefox to populate the Inspector by using the Select Element button for content inside the (not really) empty div?

(I've never noticed a need to do that in the Page Inspector, but I have noticed it in the Browser Toolbox.)

Also, if it didn't pop out at you, the board for dev tools on Discourse is:

https://discourse.mozilla.org/c/devtools

more options

Hey guys,

Thanks for the replies...I hadnt actually tried the element button but im guessing it wont work. (The problem just seems to happen randomly and I cant re-create it now to test)

When I try to inspect an element by right clicking on it though, in the inspector it just goes as far as it shows, and no further but then I can see the styles applied to the element I inspected, I just cant see the element in the inpector.

Thanks for the link to the devtools discourse. I'll re-post this there.