mdn / mdn/browser-compat-data

html.elements.body - margin attributes compatibility for Chrome is incorrect

Open Beginner friendly
#22,197 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

browser:chrome data:html p4
Dominant language
JSON
Stars
5.8k
Forks
2.6k
Avg merge
1d 21h
Merged PRs (30d)
186

Description

What type of issue is this?

Incorrect support data (example: BrowserX says "86" but support was added in "40")

What information was incorrect, unhelpful, or incomplete?

Google doesn't support rightmargin and bottommargin. And leftmargin works for both left and right actual margin.

What browsers does this problem apply to, if applicable?

No response

What did you expect to see?

Information about google not supporting and mentioning that leftmargin works as both right and left margin

Did you test this? If so, how?

Yes, sample code in section below

Can you link to any release notes, bugs, pull requests, or MDN pages related to this?

No response

Do you have anything more you want to share?

index.html.txt

MDN URL

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/body

MDN metadata
MDN page report details
  • Query: html.elements.body
  • Report started: 2024-02-11T20:07:44.671Z

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the browser-compat-data entry queried as html.elements.body and compare its margin-attribute compatibility data with the attached index.html.txt sample and the reported Chrome behavior. Update the support information to reflect the reported rightmargin, bottommargin, and leftmargin behavior, then verify the MDN body compatibility report.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
web-dev
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.