WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 68491
Get rid of Widget::setBoundsSize
https://bugs.webkit.org/show_bug.cgi?id=68491
Summary
Get rid of Widget::setBoundsSize
Anders Carlsson
Reported
2011-09-20 17:35:43 PDT
Get rid of Widget::setBoundsSize
Attachments
Patch
(21.09 KB, patch)
2011-09-20 17:41 PDT
,
Anders Carlsson
no flags
Details
Formatted Diff
Diff
Patch
(21.55 KB, patch)
2011-09-20 17:52 PDT
,
Anders Carlsson
no flags
Details
Formatted Diff
Diff
Patch
(23.55 KB, patch)
2011-09-21 10:33 PDT
,
Anders Carlsson
no flags
Details
Formatted Diff
Diff
Patch
(23.78 KB, patch)
2011-09-21 12:17 PDT
,
Anders Carlsson
no flags
Details
Formatted Diff
Diff
Chromium failure test case.
(112 bytes, text/html)
2011-09-23 12:30 PDT
,
Vsevolod Vlasov
no flags
Details
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Anders Carlsson
Comment 1
2011-09-20 17:41:06 PDT
Created
attachment 108087
[details]
Patch
Early Warning System Bot
Comment 2
2011-09-20 17:50:46 PDT
Comment on
attachment 108087
[details]
Patch
Attachment 108087
[details]
did not pass qt-ews (qt): Output:
http://queues.webkit.org/results/9772473
Gyuyoung Kim
Comment 3
2011-09-20 17:52:02 PDT
Comment on
attachment 108087
[details]
Patch
Attachment 108087
[details]
did not pass efl-ews (efl): Output:
http://queues.webkit.org/results/9772475
Anders Carlsson
Comment 4
2011-09-20 17:52:08 PDT
Created
attachment 108090
[details]
Patch
mitz
Comment 5
2011-09-20 17:57:18 PDT
Comment on
attachment 108090
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=108090&action=review
> Source/WebCore/ChangeLog:10 > + This basically reverts
http://trac.webkit.org/changeset/79167
and
http://trac.webkit.org/changeset/75897
> + which were added to make zoom gestures work with WebKit1, but since we don't support zoom gestures in WebKit1 > + anymore, it's better for code cleanliness to get rid of Widget::setBoundsSize and the associated code.
<
http://trac.webkit.org/r75897
> included a fix for
bug 15676
. Transformed iframes are supported in WebKit1 and this change looks like it will break them.
WebKit Review Bot
Comment 6
2011-09-20 18:41:09 PDT
Comment on
attachment 108090
[details]
Patch
Attachment 108090
[details]
did not pass cr-mac-ews (chromium): Output:
http://queues.webkit.org/results/9765547
WebKit Review Bot
Comment 7
2011-09-20 19:19:47 PDT
Comment on
attachment 108090
[details]
Patch
Attachment 108090
[details]
did not pass chromium-ews (chromium-xvfb): Output:
http://queues.webkit.org/results/9772511
Collabora GTK+ EWS bot
Comment 8
2011-09-20 21:04:16 PDT
Comment on
attachment 108090
[details]
Patch
Attachment 108090
[details]
did not pass gtk-ews (gtk): Output:
http://queues.webkit.org/results/9773528
Anders Carlsson
Comment 9
2011-09-21 10:33:04 PDT
Created
attachment 108176
[details]
Patch
mitz
Comment 10
2011-09-21 10:49:54 PDT
Comment on
attachment 108176
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=108176&action=review
> Source/WebCore/ChangeLog:10 > + This basically reverts
http://trac.webkit.org/changeset/79167
and
http://trac.webkit.org/changeset/75897
> + which were added to make zoom gestures work with WebKit1, but since we don't support zoom gestures in WebKit1 > + anymore, it's better for code cleanliness to get rid of Widget::setBoundsSize and the associated code.
Safari zoom gestures are one way to apply transforms to iframes and plug-ins. Another way is CSS transforms specified in the content.
Anders Carlsson
Comment 11
2011-09-21 10:54:07 PDT
(In reply to
comment #10
)
> > Safari zoom gestures are one way to apply transforms to iframes and plug-ins. Another way is CSS transforms specified in the content.
I'll update the ChangeLog to mention that.
Anders Carlsson
Comment 12
2011-09-21 12:17:59 PDT
Created
attachment 108204
[details]
Patch
mitz
Comment 13
2011-09-21 12:23:17 PDT
Comment on
attachment 108204
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=108204&action=review
> Source/WebCore/ChangeLog:11 > + This basically reverts
http://trac.webkit.org/changeset/79167
and
http://trac.webkit.org/changeset/75897
> + which were added to make zoom gestures work with WebKit1, but since we don't support zoom gestures in WebKit1 > + anymore, it's better for code cleanliness to get rid of Widget::setBoundsSize and the associated code. While this > + will unfortunately break transformed iframes in WebKit1, but Simon says that it's an acceptable tradeoff.
What are the benefits of this change?
Anders Carlsson
Comment 14
2011-09-21 12:44:57 PDT
(In reply to
comment #13
)
> (From update of
attachment 108204
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=108204&action=review
> > > Source/WebCore/ChangeLog:11 > > + This basically reverts
http://trac.webkit.org/changeset/79167
and
http://trac.webkit.org/changeset/75897
> > + which were added to make zoom gestures work with WebKit1, but since we don't support zoom gestures in WebKit1 > > + anymore, it's better for code cleanliness to get rid of Widget::setBoundsSize and the associated code. While this > > + will unfortunately break transformed iframes in WebKit1, but Simon says that it's an acceptable tradeoff. > > What are the benefits of this change?
It removes a lot of cross platform code that's in reality only used by a single port, and makes the Widget class hierarchy easier to understand/refactor.
Anders Carlsson
Comment 15
2011-09-22 10:08:22 PDT
Comment on
attachment 108204
[details]
Patch Clearing flags on attachment: 108204 Committed
r95725
: <
http://trac.webkit.org/changeset/95725
>
Anders Carlsson
Comment 16
2011-09-22 10:08:26 PDT
All reviewed patches have been landed. Closing bug.
Vsevolod Vlasov
Comment 17
2011-09-23 11:23:54 PDT
This change breaks inspector (tested in chrome). Open docked inspector, resize it and after releasing mouse button move mouse up, without hovering inspector. If you increased inspector size, you'll see white stripe in the bottom, because document body is not resized with the window Inspector body has following style: position:absolute; top:0; left:0; bottom:0; right:0; Once you hover inspector body is resized properly.
Vsevolod Vlasov
Comment 18
2011-09-23 12:30:20 PDT
Created
attachment 108509
[details]
Chromium failure test case.
Nico Weber
Comment 19
2011-09-23 13:51:38 PDT
Also breaks window resizing in chromium:
http://crbug.com/97787
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