Pressing F1 on CSS property leads to 404 page
Categories
(DevTools :: Inspector, defect, P1)
Tracking
(firefox80 fixed)
Tracking | Status | |
---|---|---|
firefox80 | --- | fixed |
People
(Reporter: mbudde, Assigned: rcaliman)
Details
Attachments
(1 file)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:79.0) Gecko/20100101 Firefox/79.0
Steps to reproduce:
Press F1 on the 'will-change' property in the 'Computed' tab in the Inspector.
Actual results:
DevTools opens the URL 'https://developer.mozilla.org/CSS/will-change' which currently gives a 404 error page.
For most CSS properties there are redirects set up on MDN, e.g. https://developer.mozilla.org/CSS/background redirects to https://developer.mozilla.org/en-US/docs/Web/CSS/background.
Newer properties do not seem to have such redirects set up. Examples: 'will-change', 'line-break', 'justify-self', 'justify-items'.
Expected results:
I would expect DevTools to open the URL 'https://developer.mozilla.org/docs/Web/CSS/will-change'.
The URL is specified here in the code: https://github.com/mozilla/gecko-dev/blob/c350ad5bd6718e368dccba0e559493cb7d8e8230/devtools/client/inspector/computed/computed.js#L936
The URL I would expect is used other places in the code, for instance here: https://github.com/mozilla/gecko-dev/blob/5c78a8e3de57fac8b966eabee4bbbbecceb89e90/devtools/client/shared/widgets/tooltip/inactive-css-tooltip-helper.js#L86
Assignee | ||
Comment 1•4 years ago
|
||
Thank you for filing the issue and for pointing to the fix!
Indeed, the URL needs to be updated.
Assignee | ||
Comment 2•4 years ago
|
||
Pushed by rcaliman@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6d0c5d0f97e2 Update MDN base link in Computed panel. r=gl
Comment 4•4 years ago
|
||
bugherder |
Updated•4 years ago
|
Updated•3 years ago
|
Description
•