WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
59941
REGRESSION(79985): Changes in fill-opacity should trigger repaint but don't
https://bugs.webkit.org/show_bug.cgi?id=59941
Summary
REGRESSION(79985): Changes in fill-opacity should trigger repaint but don't
Nico Weber
Reported
2011-05-02 10:02:26 PDT
Created
attachment 91934
[details]
repro Repro: 1. Open attached file 2. Click circle Expected: Circle opacity change is displayed immediately Expected: Nothing seems to happen. After resizing the window, a repaint happens and things look correct. Also see
http://crbug.com/80880
Attachments
repro
(513 bytes, text/html)
2011-05-02 10:02 PDT
,
Nico Weber
no flags
Details
Patch
(10.10 KB, patch)
2011-05-11 19:21 PDT
,
Rob Buis
no flags
Details
Formatted Diff
Diff
Patch
(36.05 KB, patch)
2011-05-12 09:06 PDT
,
Rob Buis
darin
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Dirk Schulze
Comment 1
2011-05-04 13:55:49 PDT
Regression introduced with
bug 54800
Rob Buis
Comment 2
2011-05-11 16:06:17 PDT
Hi, I already have a fix for this so once I have a testcase I'll post a patch, expect somthing in the next 24h. Cheers, Rob.
Rob Buis
Comment 3
2011-05-11 19:21:18 PDT
Created
attachment 93235
[details]
Patch
Eric Seidel (no email)
Comment 4
2011-05-11 20:29:58 PDT
Comment on
attachment 93235
[details]
Patch OK. Do we already do the same for stroke?
Eric Seidel (no email)
Comment 5
2011-05-11 20:30:46 PDT
Comment on
attachment 93235
[details]
Patch Why do we need to do this via a click? Seems round-about way to test this. Why not just change the fill-opacity on load?
Eric Seidel (no email)
Comment 6
2011-05-11 20:31:21 PDT
Comment on
attachment 93235
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=93235&action=review
> LayoutTests/svg/custom/fill-opacity-update.svg:5 > +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" > + "
http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd
"> > +<svg width="6cm" height="5cm" viewBox="0 0 600 500" > + xmlns="
http://www.w3.org/2000/svg
" version="1.1" onload="setTimeout('runTest()', 0)">
More junk here than needed. Also, do we need a waitUntilDone since you're using a timeout?
Eric Seidel (no email)
Comment 7
2011-05-11 20:31:51 PDT
Comment on
attachment 93235
[details]
Patch The fix is fine, but the test is bad. Don't you want this to be a repaint test?
Rob Buis
Comment 8
2011-05-12 06:37:52 PDT
Hi Eric, (In reply to
comment #7
)
> (From update of
attachment 93235
[details]
) > The fix is fine, but the test is bad. Don't you want this to be a repaint test?
Oops, when I woke up I saw r+ in my inbox so I went ahead with the commit. Will have a look at a better test now, and a separate stroke-opacity test is nice as well (though looking at the code that part was not broken). Cheers, Rob.
Ademar Reis
Comment 9
2011-05-12 07:25:24 PDT
For reference, the (first) patch landed in
r86331
WebKit Review Bot
Comment 10
2011-05-12 08:45:44 PDT
http://trac.webkit.org/changeset/86331
might have broken Windows 7 Release (Tests)
Rob Buis
Comment 11
2011-05-12 09:06:46 PDT
Created
attachment 93291
[details]
Patch
Rob Buis
Comment 12
2011-05-12 10:02:39 PDT
The improved test got landed in
r86352
, also an added test for stroke-opacity. I don't think we can avoid using notifyDone in this case. So I think this bug can be closed now. Cheers, Rob.
Nico Weber
Comment 13
2011-05-12 10:07:36 PDT
Thanks!
WebKit Review Bot
Comment 14
2011-05-12 11:10:26 PDT
http://trac.webkit.org/changeset/86352
might have broken GTK Linux 64-bit Debug The following tests are not passing: svg/custom/fill-opacity-update.svg
Ademar Reis
Comment 15
2011-05-13 09:28:53 PDT
Revision
r86331
cherry-picked into qtwebkit-2.2 with commit 674fb8f <
http://gitorious.org/webkit/qtwebkit/commit/674fb8f
> Revision
r86352
cherry-picked into qtwebkit-2.2 with commit d2b42e8 <
http://gitorious.org/webkit/qtwebkit/commit/d2b42e8
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug