Bug 95054

Summary: [Qt] New test introduced in r126611 fails: fast/css/image-set-setting.html
Product: WebKit Reporter: Balazs Ankes <bank>
Component: Tools / TestsAssignee: Simon Hausmann <hausmann>
Status: RESOLVED FIXED    
Severity: Normal CC: bdakin, benjamin, bhayani, cmarcelo, eric, hausmann, macpherson, menard, ossy, simon.fraser, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 94536    
Attachments:
Description Flags
fix for bug 95054
none
Patch eric: review+

Balazs Ankes
Reported 2012-08-27 00:37:47 PDT
--- /ramdisk/qt-linux-64-release/build/layout-test-results/fast/css/image-set-setting-expected.txt +++ /ramdisk/qt-linux-64-release/build/layout-test-results/fast/css/image-set-setting-actual.txt @@ -5,13 +5,13 @@ Single value for background-image : url('http://www.webkit.org/a') 1x -PASS testComputedStyle("background-image", "url('http://www.webkit.org/a') 1x") is "-webkit-image-set(url(http://www.webkit.org/a), 1)" +FAIL testComputedStyle("background-image", "url('http://www.webkit.org/a') 1x") should be -webkit-image-set(url(http://www.webkit.org/a), 1). Was . Multiple values for background-image : url('http://www.webkit.org/a') 1x, url('http://www.webkit.org/b') 2x -PASS testComputedStyle("background-image", "url('http://www.webkit.org/a') 1x, url('http://www.webkit.org/b') 2x") is "-webkit-image-set(url(http://www.webkit.org/a), 1, url(http://www.webkit.org/b), 2)" +FAIL testComputedStyle("background-image", "url('http://www.webkit.org/a') 1x, url('http://www.webkit.org/b') 2x") should be -webkit-image-set(url(http://www.webkit.org/a), 1, url(http://www.webkit.org/b), 2). Was . Multiple values for background-image, out of order : url('http://www.webkit.org/c') 3x, url('http://www.webkit.org/b') 2x, url('http://www.webkit.org/a') 1x -PASS testComputedStyle("background-image", "url('http://www.webkit.org/c') 3x, url('http://www.webkit.org/b') 2x, url('http://www.webkit.org/a') 1x") is "-webkit-image-set(url(http://www.webkit.org/c), 3, url(http://www.webkit.org/b), 2, url(http://www.webkit.org/a), 1)" +FAIL testComputedStyle("background-image", "url('http://www.webkit.org/c') 3x, url('http://www.webkit.org/b') 2x, url('http://www.webkit.org/a') 1x") should be -webkit-image-set(url(http://www.webkit.org/c), 3, url(http://www.webkit.org/b), 2, url(http://www.webkit.org/a), 1). Was . PASS successfullyParsed is true TEST COMPLETE
Attachments
fix for bug 95054 (3.56 KB, patch)
2012-08-27 12:09 PDT, Anish
no flags
Patch (4.28 KB, patch)
2012-08-27 12:46 PDT, Simon Hausmann
eric: review+
Balazs Ankes
Comment 1 2012-08-27 00:59:59 PDT
Skip committed in r126733. Please unskip it with proper fix.
Simon Fraser (smfr)
Comment 2 2012-08-27 10:23:22 PDT
Looks like image-set is disabled in Qt?
Anish
Comment 3 2012-08-27 12:09:11 PDT
Created attachment 160769 [details] fix for bug 95054 updated skipped files to skip image-set-setting test
Simon Hausmann
Comment 4 2012-08-27 12:38:42 PDT
Yeah, and it looks like that we should enable it.
Simon Hausmann
Comment 5 2012-08-27 12:46:54 PDT
Created attachment 160784 [details] Patch Somewhat untested patch to enable CSS_IMAGE_SET
Eric Seidel (no email)
Comment 6 2012-08-27 13:20:36 PDT
Comment on attachment 160784 [details] Patch OK.
Eric Seidel (no email)
Comment 7 2012-08-27 13:21:10 PDT
I suspect there is a more modern way to turn on flags than Platform.h, but this seems OK.
Simon Hausmann
Comment 8 2012-08-27 13:27:36 PDT
Comment on attachment 160784 [details] Patch Clearing cq. I'll land it manually tomorrow. Want to be on the safe side :)
Simon Hausmann
Comment 9 2012-08-27 13:30:45 PDT
(In reply to comment #7) > I suspect there is a more modern way to turn on flags than Platform.h, but this seems OK. Oh right, I should've touched Tools/qmake/mkspecs/features/features.pri :/
Simon Hausmann
Comment 10 2012-08-28 00:46:04 PDT
Comment on attachment 160769 [details] fix for bug 95054 Marking this as obsolete. For Qt we should enable the feature (working on it) and the skipping of win and wincairo should not be done in a [Qt] bug :)
Simon Hausmann
Comment 11 2012-08-28 00:48:55 PDT
(In reply to comment #6) > (From update of attachment 160784 [details]) > OK. Thanks :) Will land this with the feature flag enable location corrected (features.pri instead of Platform.h)
Simon Hausmann
Comment 12 2012-08-28 02:03:23 PDT
Note You need to log in before you can comment on or make changes to this bug.