WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
43437
extractAndNegateTextDecorationStyle and maxRangeOffset in ApplyStyleCommand.cpp should be deleted
https://bugs.webkit.org/show_bug.cgi?id=43437
Summary
extractAndNegateTextDecorationStyle and maxRangeOffset in ApplyStyleCommand.c...
Ryosuke Niwa
Reported
2010-08-03 11:27:48 PDT
Per the discussion on the
bug 27809
, we never push down text decorations added by stylesheets. Thus extractAndNegateTextDecorationStyle is completely redundant and should be removed. As FIXME suggests, maxRangeOffset is a redundant static function that must be replaced by lastOffsetForEditing.
Attachments
Patch
(6.28 KB, patch)
2010-08-03 11:34 PDT
,
Ryosuke Niwa
no flags
Details
Formatted Diff
Diff
Also removed pushDownTextDecorationStyleAtBoundaries
(7.52 KB, patch)
2010-08-03 12:15 PDT
,
Ryosuke Niwa
eric
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Ryosuke Niwa
Comment 1
2010-08-03 11:34:15 PDT
Created
attachment 63359
[details]
Patch
Eric Seidel (no email)
Comment 2
2010-08-03 11:35:30 PDT
You changelog doesn't explain what your'e doing here. Is this dead code?
Ryosuke Niwa
Comment 3
2010-08-03 11:42:41 PDT
(In reply to
comment #2
)
> You changelog doesn't explain what your'e doing here. Is this dead code?
Yes. extractAndNegateTextDecorationStyle was not doing anything because the method was there solely to push down nodes with text-decoration CSS rule but we decided not to push them later.
Ryosuke Niwa
Comment 4
2010-08-03 12:15:28 PDT
Created
attachment 63366
[details]
Also removed pushDownTextDecorationStyleAtBoundaries
Eric Seidel (no email)
Comment 5
2010-08-03 12:16:51 PDT
Comment on
attachment 63366
[details]
Also removed pushDownTextDecorationStyleAtBoundaries Yay! Thanks!
Ryosuke Niwa
Comment 6
2010-08-03 18:19:26 PDT
Committed
r64610
: <
http://trac.webkit.org/changeset/64610
>
Ryosuke Niwa
Comment 7
2010-08-03 18:23:13 PDT
(In reply to
comment #5
)
> (From update of
attachment 63366
[details]
) > Yay! Thanks!
Thanks for the responsive review. It makes my life easier to tackle 27818.
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