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 26829
add methods baselinePosition and lineHeight to InlineBox
https://bugs.webkit.org/show_bug.cgi?id=26829
Summary
add methods baselinePosition and lineHeight to InlineBox
Roland Steiner
Reported
2009-06-29 22:55:27 PDT
[outtake from larger ruby patch - see
bug #3749
] There are quite a few places in the code of InlineBox and InlineFlowBox in the form: boxPtr->renderer()->lineHeight() same for baselinePosition(). Adding corresponding methods to InlineBox would make the code more readable. Also, implementation for ruby will make use of those new methods.
Attachments
patch: add methods lineHeight and baselinePosition to InlineBox
(7.09 KB, patch)
2009-06-29 22:56 PDT
,
Roland Steiner
mjs
: review-
Details
Formatted Diff
Diff
patch: removed unrelad
(6.26 KB, application/octet-stream)
2009-07-06 01:26 PDT
,
Roland Steiner
no flags
Details
patch: removed unrelated code change from initial patch
(6.26 KB, patch)
2009-07-06 01:27 PDT
,
Roland Steiner
eric
: review-
Details
Formatted Diff
Diff
patch: update to remove conflicts
(5.97 KB, patch)
2009-07-06 19:34 PDT
,
Roland Steiner
no flags
Details
Formatted Diff
Diff
patch: remove tabs
(6.20 KB, patch)
2009-07-06 20:21 PDT
,
Roland Steiner
no flags
Details
Formatted Diff
Diff
patch: remove tabs AND spurious file references
(5.98 KB, patch)
2009-07-06 20:29 PDT
,
Roland Steiner
eric
: review+
Details
Formatted Diff
Diff
Show Obsolete
(5)
View All
Add attachment
proposed patch, testcase, etc.
Roland Steiner
Comment 1
2009-06-29 22:56:32 PDT
Created
attachment 32033
[details]
patch: add methods lineHeight and baselinePosition to InlineBox
Maciej Stachowiak
Comment 2
2009-07-06 00:29:23 PDT
Comment on
attachment 32033
[details]
patch: add methods lineHeight and baselinePosition to InlineBox There is a chunk in here that's unrelated to the refactoring mentioned in the ChangeLog. I discussed with Roland, and he is going to submit a new patch.
Roland Steiner
Comment 3
2009-07-06 01:26:09 PDT
Created
attachment 32288
[details]
patch: removed unrelad
Roland Steiner
Comment 4
2009-07-06 01:27:42 PDT
Created
attachment 32289
[details]
patch: removed unrelated code change from initial patch
Maciej Stachowiak
Comment 5
2009-07-06 01:37:59 PDT
Comment on
attachment 32289
[details]
patch: removed unrelated code change from initial patch r=me
Roland Steiner
Comment 6
2009-07-06 04:10:48 PDT
(In reply to
comment #5
) Thanks a lot for the review! Can I ask you to commit the patch for me, please?
Eric Seidel (no email)
Comment 7
2009-07-06 16:30:53 PDT
Comment on
attachment 32289
[details]
patch: removed unrelated code change from initial patch patching file WebCore/ChangeLog Hunk #1 succeeded at 1 with fuzz 3. patching file WebCore/rendering/InlineBox.h Hunk #1 succeeded at 205 (offset 4 lines). Hunk #2 FAILED at 283. 1 out of 2 hunks FAILED -- saving rejects to file WebCore/rendering/InlineBox.h.rej patch -p0 "WebCore/rendering/InlineBox.h" returned 1. Pass --force to ignore patch failures. Patch
https://bugs.webkit.org/attachment.cgi?id=32289
failed to download and apply.
Eric Seidel (no email)
Comment 8
2009-07-06 16:31:21 PDT
Someone could possibly land this manually. I didn't investigate the failure.
Roland Steiner
Comment 9
2009-07-06 19:34:33 PDT
Created
attachment 32352
[details]
patch: update to remove conflicts Same as previous patch, updated to remove patching conflicts
Eric Seidel (no email)
Comment 10
2009-07-06 19:37:50 PDT
Comment on
attachment 32352
[details]
patch: update to remove conflicts It looks like WebCore/rendering/InlineBox.h has tabs. :(
Eric Seidel (no email)
Comment 11
2009-07-06 19:38:39 PDT
Comment on
attachment 32352
[details]
patch: update to remove conflicts Our tooling infrastructure should really warn you about that kind of thing. Otherwise looks fine.
Roland Steiner
Comment 12
2009-07-06 20:21:59 PDT
Created
attachment 32356
[details]
patch: remove tabs @_@ How did that happen? Updated patch to remove tabs.
Roland Steiner
Comment 13
2009-07-06 20:29:39 PDT
Created
attachment 32357
[details]
patch: remove tabs AND spurious file references Today seems to be not my day. >_< Removed spurious file references at the end of the patch file... Sorry for the attachment spam.
Eric Seidel (no email)
Comment 14
2009-07-06 20:32:08 PDT
Comment on
attachment 32357
[details]
patch: remove tabs AND spurious file references Looks fine.
Roland Steiner
Comment 15
2009-07-08 21:27:57 PDT
(In reply to
comment #14
) Would still need a kind soul to commit this for me, though... ^_^;
Brent Fulgham
Comment 16
2009-07-09 22:13:57 PDT
Landed in
http://trac.webkit.org/changeset/45701
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