See http://www.w3.org/Graphics/SVG/Test/20061213/htmlObjectHarness/full-text-fonts-02-t.html This is a recent regression (approx 1 week).
http://bonsai.mozilla.org/cvsquery.cgi?module=PhoenixTinderbox&date=explicit&mindate=1176925860&maxdate=1176931619 Must be bug 375141.
11 years ago
Comment on attachment 263348 [details] [diff] [review] patch Looks good, thanks! Please also create a reftest for testing the lighter keyword?
Created attachment 265967 [details] [diff] [review] updated patch I was about to check this in when I managed to get a crash. This patch differs from the original patch only in that it terminates the down loop at i = 1 rather than i = 0 thus avoiding an out of array bounds access. I'm assuming I don't need to get an sr again.
Created attachment 267251 [details] [diff] [review] update to tip
Checked in reftest: http://lxr.mozilla.org/seamonkey/source/layout/reftests/svg/text-font-weight-01.svg