[Webkit-unassigned] [Bug 6018] WebKit+SVG should pass all of Hixie's test (and adopt them)
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jan 8 07:04:05 PST 2009
https://bugs.webkit.org/show_bug.cgi?id=6018
------- Comment #3 from helder.magalhaes at gmail.com 2009-01-08 07:04 PDT -------
@Ian Hixie
Just another tip regarding the tests themselves (sorry if this is going a bit
off-topic, but as some comments about the tests were made in the previous
comment...):
> * http://hixie.ch/tests/adhoc/svg/text/001.xml - partially failed: font is
> used in rendering (after local install) but the alignment is not perfect -
> glyph is positioned slightly above the expected location (Firefox 3.2a passes).
As apparently most updated (nightly or pre-release) browser versions seem to
support CSS Web fonts (at least Firefox, Webkit and Opera [1]), I'd suggest
adding CSS Web font information to the test, which seems to be the only one
from the suite which requires the Ahem font. Tests directory folder states that
"These tests may require the Ahem font." [2], which would still be true for
current state browsers, but it could ease testing a bit. :-)
- <!-- if you don't have Ahem, see http://www.hixie.ch/resources/fonts/ -->
+ <!-- if you don't have a CSS Web font capable browser or Ahem font locally
available, see http://www.hixie.ch/resources/fonts/ -->
+ <style type="text/css">
+ @font-face {
+ font-family: Ahem;
+ src: url(http://www.hixie.ch/resources/fonts/AHEM____.TTF) format("ttf");
+ }
+</style>
Using my local file system and a downloaded copy of the font in the same
directory and changing the font URL to "AHEM____.TTF", (without the font
installed in the system, naturally) Firefox 3.2a pass, Webkit r39474 and Opera
10.0a fail but I believe this has to do with security restrictions. This will
likely work for all 3 browsers when both files are available in an HTTP server.
:-)
[1] http://lists.w3.org/Archives/Public/www-svg/2009Jan/0019.html
[2] http://hixie.ch/tests/adhoc/svg/text/
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list