Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

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

搜尋 Mozilla 技術支援網站

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

了解更多

Bug copying dom node detail while selected css

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

more options

FirefoxDeveloperEdition 59.0b5 (64-bit) on Mac.

In inspector select some ccs in the rules tab of the right and leave it selected, now select something in the html, like a class name, then copy. What you have copied is the selected css not the class name in the html.

Don't know if this happens in other OS of FF versions.

FirefoxDeveloperEdition 59.0b5 (64-bit) on Mac. In inspector select some ccs in the rules tab of the right and leave it selected, now select something in the html, like a class name, then copy. What you have copied is the selected css not the class name in the html. Don't know if this happens in other OS of FF versions.

被選擇的解決方法

Your screenshot shows the context menu of the right pane and not the context menu you would normally see in the left markup pane.

In Firefox 58 I see the selection in the right pane removed when I click in the left pane. In DE 59 the selection in the right pane stays, but I do get the normal context menu of the left pane with Edit as HTML and the extended Copy menu, so it seems that this is either working differently on Mac or you may have an extension interfering on Mac if that is possible with a WebExtension. Otherwise this might be a bug on Mac.

Start Firefox in Safe Mode to check if one of the extensions ("3-bar" menu button or Tools -> Add-ons -> Extensions) or if hardware acceleration is causing the problem.

  • switch to the DEFAULT theme: "3-bar" menu button or Tools -> Add-ons -> Appearance
  • do NOT click the "Refresh Firefox" button on the Safe Mode start window
從原來的回覆中察看解決方案 👍 1

所有回覆 (4)

more options

Image attached

more options

選擇的解決方法

Your screenshot shows the context menu of the right pane and not the context menu you would normally see in the left markup pane.

In Firefox 58 I see the selection in the right pane removed when I click in the left pane. In DE 59 the selection in the right pane stays, but I do get the normal context menu of the left pane with Edit as HTML and the extended Copy menu, so it seems that this is either working differently on Mac or you may have an extension interfering on Mac if that is possible with a WebExtension. Otherwise this might be a bug on Mac.

Start Firefox in Safe Mode to check if one of the extensions ("3-bar" menu button or Tools -> Add-ons -> Extensions) or if hardware acceleration is causing the problem.

  • switch to the DEFAULT theme: "3-bar" menu button or Tools -> Add-ons -> Appearance
  • do NOT click the "Refresh Firefox" button on the Safe Mode start window
more options

Thanks, it seems is a plugin I have that is causing this issue, when I start in safe mode no longer happens.

Thanks.

more options

If it works in Safe Mode and in normal mode with all extensions ("3-bar" menu button or Tools -> Add-ons -> Extensions) disabled then try to find which extension is causing the problem by enabling one extension at a time until the problem reappears.

Close and restart Firefox after each change via one of these:

  • "3-bar" menu button -> Exit (Power button)
  • Windows: File -> Exit
  • Mac: Firefox -> Quit Firefox
  • Linux: File -> Quit