We should test the computed style, CSSStyleDeclaration, and reftest the bounds for font-weight, font-stretch, and font-style.
In our code we also check if the ranges are ascending, which IIRC is not in the spec.
Created attachment 305402 [details] WIP
Created attachment 305539 [details] Patch
Comment on attachment 305539 [details] Patch Attachment 305539 [details] did not pass mac-ews (mac): Output: http://webkit-queues.webkit.org/results/3421419 New failing tests: fast/text/font-selection-font-face-parse.html
Created attachment 305546 [details] Archive of layout-test-results from ews100 for mac-elcapitan The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews100 Port: mac-elcapitan Platform: Mac OS X 10.11.6
Created attachment 305553 [details] Patch
Comment on attachment 305553 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=305553&action=review > Source/WebCore/ChangeLog:10 > + - Font stretch values less than or equal to 0 are parse errors Whoops, I meant 0%. > Source/WebCore/ChangeLog:11 > + - Font style values less than or equal to -20deg or greater than or equal to 20deg are parse errors Whoops, I meant -90deg and 90deg.
Created attachment 305650 [details] Patch
Comment on attachment 305650 [details] Patch r=me
Comment on attachment 305650 [details] Patch Clearing flags on attachment: 305650 Committed r214507: <http://trac.webkit.org/changeset/214507>
All reviewed patches have been landed. Closing bug.