mdn / content

The content behind MDN Web Docs
https://developer.mozilla.org
Other
9.15k stars 22.46k forks source link

Issue with "padding-block": misleading note about it accepting the same values as padding-left #6309

Closed LeaVerou closed 3 years ago

LeaVerou commented 3 years ago

MDN URL: https://developer.mozilla.org/en-US/docs/Web/CSS/padding-block

"The padding-block property takes the same values as the padding-left property."

This is very misleading, because padding-block accepts one or two lengths, whereas padding-left only accepts one length, so they do not take the same values!

Similar confusing note in the pages for padding-inline, margin-block, margin-inline.

MDN Content page report details * Folder: `en-us/web/css/padding-block` * MDN URL: https://developer.mozilla.org/en-US/docs/Web/CSS/padding-block * GitHub URL: https://github.com/mdn/content/blob/main/files/en-us/web/css/padding-block/index.html * Last commit: https://github.com/mdn/content/commit/c2267059151f609904286ad6ceca6e91ccd01a5f * Document last modified: 2021-06-17T03:05:19.000Z
kaushambisharma commented 3 years ago

I'd like to work on this.

teoli2003 commented 3 years ago

I think per #6476, this should be closed.

sideshowbarker commented 3 years ago

Closing per https://github.com/mdn/content/issues/6309#issuecomment-873523581