Bug 78325

Summary: CSS3 calc: update font-size test to use pre/post js
Product: WebKit Reporter: Mike Lawther <mikelawther>
Component: New BugsAssignee: Mike Lawther <mikelawther>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 16662    
Attachments:
Description Flags
Patch none

Mike Lawther
Reported 2012-02-09 21:30:48 PST
CSS3 calc: update font-size test to use pre/post js
Attachments
Patch (3.85 KB, patch)
2012-02-09 21:31 PST, Mike Lawther
no flags
Mike Lawther
Comment 1 2012-02-09 21:31:27 PST
Ojan Vafai
Comment 2 2012-02-10 10:30:34 PST
Comment on attachment 126448 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=126448&action=review > LayoutTests/css3/calc/font-size.html:22 > + shouldBeEqualToString('getComputedStyle(document.getElementById("' + spans[i].id + '"), null).fontSize', getComputedStyle(document.getElementById("control"), null).fontSize); In future tests, you could make this more readable by creating a helper function: function fontSize(id) { return getComputedStyle(document.getElementById("' + id + '"), null).fontSize; }
WebKit Review Bot
Comment 3 2012-02-10 12:08:13 PST
Comment on attachment 126448 [details] Patch Clearing flags on attachment: 126448 Committed r107425: <http://trac.webkit.org/changeset/107425>
WebKit Review Bot
Comment 4 2012-02-10 12:08:17 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.