Bug 95054 - [Qt] New test introduced in r126611 fails: fast/css/image-set-setting.html
Summary: [Qt] New test introduced in r126611 fails: fast/css/image-set-setting.html
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Simon Hausmann
URL:
Keywords:
Depends on:
Blocks: 94536
  Show dependency treegraph
 
Reported: 2012-08-27 00:37 PDT by Balazs Ankes
Modified: 2012-08-28 02:03 PDT (History)
11 users (show)

See Also:


Attachments
fix for bug 95054 (3.56 KB, patch)
2012-08-27 12:09 PDT, Anish
no flags Details | Formatted Diff | Diff
Patch (4.28 KB, patch)
2012-08-27 12:46 PDT, Simon Hausmann
eric: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Balazs Ankes 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
Comment 1 Balazs Ankes 2012-08-27 00:59:59 PDT
Skip committed in r126733. Please unskip it with proper fix.
Comment 2 Simon Fraser (smfr) 2012-08-27 10:23:22 PDT
Looks like image-set is disabled in Qt?
Comment 3 Anish 2012-08-27 12:09:11 PDT
Created attachment 160769 [details]
fix for bug 95054

updated skipped files to skip image-set-setting test
Comment 4 Simon Hausmann 2012-08-27 12:38:42 PDT
Yeah, and it looks like that we should enable it.
Comment 5 Simon Hausmann 2012-08-27 12:46:54 PDT
Created attachment 160784 [details]
Patch

Somewhat untested patch to enable CSS_IMAGE_SET
Comment 6 Eric Seidel (no email) 2012-08-27 13:20:36 PDT
Comment on attachment 160784 [details]
Patch

OK.
Comment 7 Eric Seidel (no email) 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.
Comment 8 Simon Hausmann 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 :)
Comment 9 Simon Hausmann 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 :/
Comment 10 Simon Hausmann 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 :)
Comment 11 Simon Hausmann 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)
Comment 12 Simon Hausmann 2012-08-28 02:03:23 PDT
Committed r126858: <http://trac.webkit.org/changeset/126858>