WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
55850
Implement -hyphenate-limit-{before,after}
https://bugs.webkit.org/show_bug.cgi?id=55850
Summary
Implement -hyphenate-limit-{before,after}
mitz
Reported
2011-03-06 14:11:29 PST
Implement -hyphenate-limit-{before,after}
Attachments
Parse, apply and respect -webkit-hyphenate-limit-{before,after}
(65.44 KB, patch)
2011-03-06 14:20 PST
,
mitz
oliver
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
mitz
Comment 1
2011-03-06 14:12:02 PST
<
rdar://problem/9093327
>
mitz
Comment 2
2011-03-06 14:20:37 PST
Created
attachment 84900
[details]
Parse, apply and respect -webkit-hyphenate-limit-{before,after}
WebKit Review Bot
Comment 3
2011-03-06 14:22:44 PST
Attachment 84900
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'LayoutTests/ChangeLog', u'LayoutTests/fast..." exit_code: 1 Source/WebCore/rendering/style/RenderStyle.cpp:408: Boolean expressions that span multiple lines should have their operators on the left side of the line instead of the right side. [whitespace/operators] [4] Source/WebCore/rendering/style/RenderStyle.cpp:409: Boolean expressions that span multiple lines should have their operators on the left side of the line instead of the right side. [whitespace/operators] [4] Total errors found: 2 in 18 files If any of these errors are false positives, please file a bug against check-webkit-style.
Oliver Hunt
Comment 4
2011-03-06 14:29:06 PST
Comment on
attachment 84900
[details]
Parse, apply and respect -webkit-hyphenate-limit-{before,after} View in context:
https://bugs.webkit.org/attachment.cgi?id=84900&action=review
r=me, but consider the short suggestion
> Source/WebCore/rendering/style/StyleRareInheritedData.h:90 > + int hyphenationLimitBefore; > + int hyphenationLimitAfter;
It seems reasonable to just use shorts here -- i can't imagine needing a hyphenation limit > 8192, and we can save a word off of rare data
mitz
Comment 5
2011-03-06 14:30:58 PST
(In reply to
comment #4
)
> (From update of
attachment 84900
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=84900&action=review
> > r=me, but consider the short suggestion > > > Source/WebCore/rendering/style/StyleRareInheritedData.h:90 > > + int hyphenationLimitBefore; > > + int hyphenationLimitAfter; > > It seems reasonable to just use shorts here -- i can't imagine needing a hyphenation limit > 8192, and we can save a word off of rare data
Good idea. Just need to figure out the clamping. Thanks for the review!
mitz
Comment 6
2011-03-06 14:45:41 PST
Committed
r80438
. <
http://trac.webkit.org/changeset/80438
>
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