WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
51142
size status bubble to it's contents on the code review page
https://bugs.webkit.org/show_bug.cgi?id=51142
Summary
size status bubble to it's contents on the code review page
Ojan Vafai
Reported
2010-12-15 15:17:00 PST
size status bubble to it's contents on the code review page
Attachments
Patch
(2.82 KB, patch)
2010-12-15 15:17 PST
,
Ojan Vafai
no flags
Details
Formatted Diff
Diff
Patch
(3.04 KB, patch)
2010-12-15 15:18 PST
,
Ojan Vafai
abarth
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Ojan Vafai
Comment 1
2010-12-15 15:17:32 PST
Created
attachment 76692
[details]
Patch
Ojan Vafai
Comment 2
2010-12-15 15:18:25 PST
Created
attachment 76693
[details]
Patch
Adam Barth
Comment 3
2010-12-15 15:23:38 PST
Comment on
attachment 76693
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=76693&action=review
> BugsSite/code-review.js:259 > + $('.statusBubble')[0].style.height = e.data.height; > + $('.statusBubble')[0].style.width = e.data.width;
This won't work in older browsers, but ok.
> BugsSite/code-review.js:289 > + // Can't append the HTML because we need to set the onload handler before appending the iframe to the DOM. > + statusBubble.onload = handleStatusBubbleLoad;
You could use a live event handler, but this seems fine.
Ojan Vafai
Comment 4
2010-12-15 16:03:00 PST
Committed
r74160
: <
http://trac.webkit.org/changeset/74160
>
Csaba Osztrogonác
Comment 5
2010-12-17 06:24:06 PST
Reopen, because it is buggy: After this patch, code review page doesn't work for me with Firefox, I see the pretty diff, but I can't comment the source and I can't see the cq, review flags. I tried with Chrome too. It works, but the 3 lines height textarea of the overall comment is so ugly.
Ojan Vafai
Comment 6
2010-12-17 08:04:37 PST
(In reply to
comment #5
)
> After this patch, code review page doesn't work for me with Firefox, > I see the pretty diff, but I can't comment the source and I can't > see the cq, review flags.
I'll try to fix this this morning, but I leave on vacation in a couple hours. I didn't realize anyone on the WebKit project did code reviews in FF. If I don't get it in by then, it will be about 2 weeks before I can get back to it.
> I tried with Chrome too. It works, but the 3 lines > height textarea of the overall comment is so ugly.
It's hard to work with "ugly" as feedback. Patches are welcome.
Antonio Gomes
Comment 7
2010-12-17 08:32:58 PST
(In reply to
comment #6
)
> (In reply to
comment #5
) > > After this patch, code review page doesn't work for me with Firefox, > > I see the pretty diff, but I can't comment the source and I can't > > see the cq, review flags. > > I'll try to fix this this morning, but I leave on vacation in a couple hours. I didn't realize anyone on the WebKit project did code reviews in FF. If I don't get it in by then, it will be about 2 weeks before I can get back to it.
I do reviewed on either Firefox or Chromium or Safari, whatever is easily accessible :)
> > I tried with Chrome too. It works, but the 3 lines > > height textarea of the overall comment is so ugly.
I also agree here, Ojan :( ... Not sure what I could feedback to you other than a visual adjective.
Ojan Vafai
Comment 8
2010-12-17 10:41:48 PST
OK. It's now functional in Firefox after
http://trac.webkit.org/changeset/74276
and
http://trac.webkit.org/changeset/74277
. It's not pretty though. I assume it must be a difference between webkit's and Firefox's flexbox implementations. Not planning on working on it more unless there's significant demand for this tool to work well in Firefox. Happy to do reviews for it though. :) It's hard to develop on the tool for Firefox because the way we do so is via a Chrome extension. Hope this is good enough.
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