Content: Issue with "HTMLVideoElement.videoWidth": …

Created on 23 Jan 2021  Â·  6Comments  Â·  Source: mdn/content

MDN URL: https://developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement/videoWidth

What information was incorrect, unhelpful, or incomplete?

The anchor for "#about_intrinsic_width_and__height" doesn't lead anywhere and there's a weird piece of content a few paragraphs into the page's content, under the "Value" heading: {{page("/en-US/docs/Web/API/HTMLVideoElement/videoHeight", "About intrinsic width and height", 0, 1)}}

Specific section or headline?

Possibly correlated with the weird rendering of {{page("/en-US/docs/Web/API/HTMLVideoElement/videoHeight", "About intrinsic width and height", 0, 1)}} under the "Value" heading, after the 1st paragraph under that heading.

What did you expect to see?

A section describing details about video elements' intrinsic width and height.

Did you test this? If so, how?

Yes. I clicked a hyperlink in the first paragraph of page content that was supposed to go to https://developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement/videoWidth#about_intrinsic_width_and__height, but instead returned me to the top of the page.



MDN Content page report details

10 minute task Media P2 good first issue help wanted

All 6 comments

See also #1615

To whoever fixes this issue, it looks like the following is needed:

  • Remove the macro in the first paragraph and replace with a link to the glossary /en-US/docs/Glossary/Intrinsic_Size
  • Remove in-page macro further down the page {{page("/en-US/docs/Web/API/HTMLVideoElement/videoHeight", "About intrinsic width and height", 0, 1)}}

@Rumyra @Ryuno-Ki 👋 am a new contributor to MDN, I can take this issue!

Hi @amyrlam, thanks much and please do go ahead and write up a PR

Got delayed. Update: starting it now!

Have some questions but made https://github.com/mdn/content/pull/4059. Figured would leave it as ready for review (vs a draft) to see if the qs can be answered, lmk if this is the wrong workflow.

Was this page helpful?
0 / 5 - 0 ratings