Summary: | [CSS Blending] Add test suite to validate Background Layers Blending | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Mihai Tica <mitica> | ||||||||||||
Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> | ||||||||||||
Status: | RESOLVED FIXED | ||||||||||||||
Severity: | Normal | CC: | commit-queue, WebkitBugTracker | ||||||||||||
Priority: | P2 | ||||||||||||||
Version: | 528+ (Nightly build) | ||||||||||||||
Hardware: | Unspecified | ||||||||||||||
OS: | Unspecified | ||||||||||||||
Bug Depends on: | |||||||||||||||
Bug Blocks: | 108546 | ||||||||||||||
Attachments: |
|
Description
Mihai Tica
2013-06-12 05:01:25 PDT
Created attachment 204426 [details]
Patch
Comment on attachment 204426 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=204426&action=review > LayoutTests/css3/compositing/background-blend-mode-default-value.html:16 > +<!-- Test wether default blend mode values are set for the unspecified layers in -webkit-background-blend-mode. --> Typo: whether. > LayoutTests/css3/compositing/background-blend-mode-different-image-formats.html:25 > +<!-- This file should contain a two divs that should perform blending with the background color.--> Typo: "contain two" > LayoutTests/css3/compositing/background-blend-mode-image-color-dynamic.html:19 > + if (window.testRunner) { > + window.testRunner.waitUntilDone(); > + } No braces needed Created attachment 204457 [details]
Patch
Thanks for the review, I've attached a rebased version wich also includes the addressed comments Created attachment 204556 [details] Removing the dynamic test, as it's now included in https://bugs.webkit.org/show_bug.cgi?id=117223 Created attachment 204582 [details]
Updated patch
(In reply to comment #6) > Created an attachment (id=204582) [details] > Updated patch This patch no longer includes the tests attached to gradient blending at https://bugs.webkit.org/show_bug.cgi?id=117532 Comment on attachment 204582 [details] Updated patch View in context: https://bugs.webkit.org/attachment.cgi?id=204582&action=review > LayoutTests/ChangeLog:12 > + * css3/compositing/background-blend-mode-default-value-expected.txt: Added. The empty text files look weird. Are you sure they are needed? (In reply to comment #8) > (From update of attachment 204582 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=204582&action=review > > > LayoutTests/ChangeLog:12 > > + * css3/compositing/background-blend-mode-default-value-expected.txt: Added. > > The empty text files look weird. Are you sure they are needed? It does make sense to dump them, however, I've deleted them on my machine, and the tests failed on the first run, while passing on the consequent run. It's not clear to me, would removing them from the patch actually make it fail on the try machine? Created attachment 204630 [details]
Patch
(In reply to comment #9) > (In reply to comment #8) > > (From update of attachment 204582 [details] [details]) > > View in context: https://bugs.webkit.org/attachment.cgi?id=204582&action=review > > > > > LayoutTests/ChangeLog:12 > > > + * css3/compositing/background-blend-mode-default-value-expected.txt: Added. > > > > The empty text files look weird. Are you sure they are needed? > > It does make sense to dump them, however, I've deleted them on my machine, and the tests failed on the first run, while passing on the consequent run. > > It's not clear to me, would removing them from the patch actually make it fail on the try machine? With this patch, I've removed the testRunner.dumpAsText calls. Comment on attachment 204630 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=204630&action=review r=me > LayoutTests/ChangeLog:6 > + This patch set removes the test case of adding bg blend mode through script, as it > + is now part of bug#117223 You are not removing anything in this patch. Will that be part of a followup, or do we keep both tests alive? Anyway. LGTM. (In reply to comment #12) > (From update of attachment 204630 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=204630&action=review > > r=me > > > LayoutTests/ChangeLog:6 > > + This patch set removes the test case of adding bg blend mode through script, as it > > + is now part of bug#117223 > > You are not removing anything in this patch. Will that be part of a followup, or do we keep both tests alive? Anyway. LGTM. My fault, what I meant was that I moved the script test from this patch to the other mentioned bug. Comment on attachment 204630 [details] Patch Clearing flags on attachment: 204630 Committed r151567: <http://trac.webkit.org/changeset/151567> All reviewed patches have been landed. Closing bug. |