Bug 82017 - CSS3 calc: image sizing works with mixed percentage/absolute
Summary: CSS3 calc: image sizing works with mixed percentage/absolute
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Mike Lawther
URL:
Keywords:
Depends on:
Blocks: 16662
  Show dependency treegraph
 
Reported: 2012-03-22 23:06 PDT by Mike Lawther
Modified: 2012-03-25 13:41 PDT (History)
1 user (show)

See Also:


Attachments
Patch (4.28 KB, patch)
2012-03-22 23:08 PDT, Mike Lawther
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Lawther 2012-03-22 23:06:41 PDT
CSS3 calc: image sizing works with mixed percentage/absolute
Comment 1 Mike Lawther 2012-03-22 23:08:50 PDT
Created attachment 133433 [details]
Patch
Comment 2 Ojan Vafai 2012-03-23 10:48:08 PDT
Comment on attachment 133433 [details]
Patch

Do we also need a test-case for percentagewithlength? Can be a separate patch obviously.
Comment 3 WebKit Review Bot 2012-03-23 11:30:17 PDT
Comment on attachment 133433 [details]
Patch

Clearing flags on attachment: 133433

Committed r111883: <http://trac.webkit.org/changeset/111883>
Comment 4 WebKit Review Bot 2012-03-23 11:30:21 PDT
All reviewed patches have been landed.  Closing bug.
Comment 5 Mike Lawther 2012-03-25 13:41:25 PDT
The (badly named) 'both' test case is the percentagewithlength one: http://trac.webkit.org/browser/trunk/LayoutTests/css3/calc/img-size.html. At the time I was writing it, I was thinking there was a 'pixels' case, and a 'percent' case, and so the combination is the 'both' case.