Closed Bug 1636786 Opened 5 years ago Closed 5 years ago

Legends in browser compatibility section incorrectly include dots

Categories

(Firefox :: General, defect)

All
Other
defect
Not set
normal

Tracking

()

RESOLVED MOVED

People

(Reporter: saschanaz, Unassigned)

Details

(Whiteboard: [specification][type:bug])

Attachments

(2 files)

What did you do?

1. Access https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/outerText
2. Scroll down to Browser Compatibility
3. See how the legends look

What happened?

Legends have a dot in their boxes on Firefox, while they have a short underline on Chrome.

What should have happened?

They should look same. (Edit: By removing those dots)

Is there anything else we should know?

Attached image firefox.png
Attached image chrome.png

(In reply to Kagami :saschanaz from comment #0)

What should have happened?

They should look same.

I'm not sure that's important.

By the way, what I don't get is; what is that little dash/dot that's there?

By the way, what I don't get is; what is that little dash/dot that's there?

Turns out it's from <abbr> inside the box. Yes, the visual appearance doesn't seems to be important if it's just from text decoration.

This is probably due to the browser renderer.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX

Not sure I follow. <abbr> is expected to have dots, shouldn't it be disabled by text-decoration: none? Or maybe replace the element itself?

Even if you think this is a renderer bug, I think you should change the component instead of just closing this 🤔

Flags: needinfo?(tmori)
Product: developer.mozilla.org → developer.mozilla.org Graveyard

Hi Kagami,

Sorry about that. I've transferred to the Firefox team. Can you update this issue with your browser version number?

Thanks!

Flags: needinfo?(tmori)
Product: developer.mozilla.org Graveyard → Firefox

I still think the empty <abbr> inside the boxes are suspicious, and thus think this should be an MDN issue. Those boxes shouldn't include dots.

Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
Summary: Legends in browser compatibility section look different on Firefox and Chrome → Legends in browser compatibility section incorrectly include dots

Hi there,

I compared the rendering of the <abbr> tag on a Firefox and Chrome browser (on a non-MDN site ) and that tag renders the same (using FF) as it does on MDN: It appears as a dot.

Therefore, it appears to be a Firefox browser issue, not specific to MDN.

Can you show me a site that renders the <abbr> tag differently using a Firefox browser?

Thanks!

Hi Tobin,

Rendering itself is okay, but I think <abbr> tags should not be there, as they do not abbreviates anything. Dots are not expected in those boxes.

Ahh got it. I think we misunderstood the initial description of this issue.

You wrote "They should look same," but really they shouldn't be there at all right?

Let me review this with the team.

Thanks!

Exactly! I fixed the initial description.

Thanks Kagami. we've put it in our backlog, so I will close this one now.

https://github.com/mdn/kuma/issues/7184

Status: REOPENED → RESOLVED
Closed: 5 years ago5 years ago
Resolution: --- → MOVED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: