Summary: | default formatting of abbr/acronym is too intrusive | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | Mikolaj Machowski <mikmach> |
Component: | khtml | Assignee: | Konqueror Developers <konq-bugs> |
Status: | CONFIRMED --- | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: |
testcase
Test case showing the default styling in konqueror Screenshots showing too small edit fields |
Description
Mikolaj Machowski
2005-07-06 09:52:45 UTC
And something more from:http://www.cs.tut.fi/~jkorpela/html/abbr.html The sample style sheet for HTML 4.0 in the CSS specification contains the rule ABBR, ACRONYM { font-variant: small-caps; letter-spacing: 0.1em } but this does not correspond to actual browser behavior. And those features would be rather unsuitable for many, or most, abbreviations and acronyms, such as "tel.", " TCP/IP", and "radar". (You might see these examples as rendered according to the rule mentioned above. Since IE 6 does not recognize the abbr markup, I have cheated a little by using additional span markup.) Created attachment 19157 [details]
testcase
Another case where the current default rendering is perhaps not ideal: when the
acronym is already all upper-case. Then there's only the small extra spacing to
distinguish it.
Created attachment 19165 [details]
Test case showing the default styling in konqueror
This is an expanded test case showing what happens to lower case letters when
they are in abbr and acronym tags.
This is what the w3c has to say about the stylesheet that includes the default
behavior for abbr and acronym that konqueror uses:
----------------------------
This appendix is informative, not normative.
This style sheet describes the typical formatting of all HTML 4.0 ([HTML40])
elements based on extensive research into current UA practice. Developers are
encouraged to use it as a default style sheet in their implementations.
--------------------------------
So, if the style they provided isn't normative for what other browsers do for
the abbr and acronym tags (which seems to be why the bug was reported), then
we, konqueror, should do what is normative.
This bug marked as confirmed. At the very least, maybe the konqueror devs will change the spacing when these tags are applied to capitalized letters. > 03:26 ------- This bug marked as confirmed. At the very least, maybe the
> konqueror devs will change the spacing when these tags are applied to
> capitalized letters.
IMO all styling should be scrapped or changed to less intrusive dotted
bottom border as I suggested in report.
While capitalization has some sense for 'acronym' due to IE not
supporting 'abbr', 'acronym' is often used as a replacement for 'abbr'.
Also even not all acronyms should be capitalized. Apart from mentioned
in OP you have for example Gestapo (Geheime Staats Polizei - Secret
State Police). In Konq it would be GESTAPO - never seen it in historical
texts.
m.
Forgot: exemplary CSS from W3C is from 1998. Situation changed "a bit" in 8 years... Just stumbled over this bug when my Web page suddenly looked completely strange in Konqueror in the latest KDE 4.1 stable checkout. All my abbreviations were turned into rescaled uppercase letters (not even real small-caps). Small-caps may be appropriate for the ‘acronym’ element, but it certainly isn’t appropriate for ‘abbr’. It means that abbreviations such as ‘e.g.’ and ‘i.e.’ gets rendered as ‘E.G.’ and ‘I.E.’, which is wrong, ortographically speaking. It’s even worse for other languages, that use more and longer abbreviations. I recommend you follow other browsers, and instead use a dotted underline. Yeah, it's synthetic smallcaps since Qt < 4.4 didn't support real ones. I guess we should use real ones these days, would make it look less like uppercase. Anyway, it sounds like you're right, but a rendering dude should be the one to act, not me. Created attachment 29830 [details]
Screenshots showing too small edit fields
Added screenshots showing too small edit fields
Richard, this screenshot isn't about *this* bug (format of abbr, acronym). Thank you for the bug report. As this report hasn't seen any changes in 10 years or more, we ask if you can please confirm that the issue still persists. If this bug is no longer persisting or relevant please change the status to resolved. |