Summary: | unicode-range property only with a descending range causes a crash | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Yuzo Fujishima <yuzo> | ||||||||
Component: | CSS | Assignee: | Yuzo Fujishima <yuzo> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | hamaji, hayato, mitz | ||||||||
Priority: | P2 | ||||||||||
Version: | 528+ (Nightly build) | ||||||||||
Hardware: | All | ||||||||||
OS: | All | ||||||||||
Attachments: |
|
Description
Yuzo Fujishima
2010-06-29 03:01:10 PDT
Created attachment 59998 [details]
Testcase -- causes a crash
Created attachment 60007 [details] Fix for Bug 41339 - unicode-range property only with a descending range causes Comment on attachment 60007 [details] Fix for Bug 41339 - unicode-range property only with a descending range causes Can this be tested with a text-only test using getComputedStyle or the CSSOM? Created attachment 60086 [details]
Addressed review comment. Test by JavaScript.
Hi, mitz, Thank you for the review. (In reply to comment #3) > (From update of attachment 60007 [details]) > Can this be tested with a text-only test using getComputedStyle or the CSSOM? I tried but I couldn't find a way to retrieve the actual font name. (I can get 'myfont' but not 'Arial' in the above example). Instead, I used a monospace font and compare the width of two spans. I believe it is good enough for this test. (In reply to comment #5) > Hi, mitz, > > Thank you for the review. > > (In reply to comment #3) > > (From update of attachment 60007 [details] [details]) > > Can this be tested with a text-only test using getComputedStyle or the CSSOM? > > I tried but I couldn't find a way to retrieve the actual font name. > (I can get 'myfont' but not 'Arial' in the above example). What I meant was to test the value of documents.styleSheets[0].rules[0].style.unicodeRange, but it looks like there’s insufficient support for unicodeRange values in WebKit’s CSSOM implementation. Committed r62161: <http://trac.webkit.org/changeset/62161> |