Closed Bug 913042 Opened 12 years ago Closed 12 years ago

L20n spec grammar.html: change <a name="…"> to <span id="…">, highlight :target identifier.

Categories

(L20n :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mgol, Unassigned)

Details

Attachments

(2 files)

Attached patch Style patchSplinter Review
There are two HTML/style issues in current grammar.html file: 1) Target is not highlighted. If one clicks on an identifier on a large screen, it's sometimes very hard to locate one on the screen. I added a slight background + white color, now it's obvious where does the internal link points. I also added a slight padding to identifiers so that the color doesn't look strange (as it was when it was touching the text) 2) Using the anchor tag for non-links is non-semantic, there's also no reason to use the name attribute instead of id for internal links. I've changed all <a name="..."> to <span id="...">.
Attachment #800189 - Flags: review?(stas)
Comment on attachment 800189 [details] [diff] [review] Style patch Review of attachment 800189 [details] [diff] [review]: ----------------------------------------------------------------- This is great, thanks so much! I can't believe how much readable the grammar is thanks to this change :)
Attachment #800189 - Flags: review?(stas) → review+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: