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 114663
[css3-text] Rendering -webkit-hanging value for text-indent from css3-text
https://bugs.webkit.org/show_bug.cgi?id=114663
Summary
[css3-text] Rendering -webkit-hanging value for text-indent from css3-text
Jaehun Lim
Reported
2013-04-15 21:10:38 PDT
This is the rendering part for "-webkit-hanging" value from CSS3 text.
Attachments
Patch
(9.51 KB, patch)
2013-04-15 22:16 PDT
,
Jaehun Lim
no flags
Details
Formatted Diff
Diff
Patch
(9.71 KB, patch)
2013-04-16 22:58 PDT
,
Jaehun Lim
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from webkit-ews-09 for mac-mountainlion-wk2
(987.39 KB, application/zip)
2013-04-17 14:41 PDT
,
Build Bot
no flags
Details
Patch
(9.74 KB, patch)
2013-04-17 17:19 PDT
,
Jaehun Lim
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Jaehun Lim
Comment 1
2013-04-15 22:16:03 PDT
Created
attachment 198235
[details]
Patch
Beth Dakin
Comment 2
2013-04-16 20:51:49 PDT
Comment on
attachment 198235
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=198235&action=review
Looks pretty close! I just have a few comments that I would like you to address. Let's do another round on this.
> Source/WebCore/ChangeLog:9 > + "hanging" means "Inverts which lines are affected."
Maybe include a link to the spec?
> Source/WebCore/rendering/RenderBlockLineLayout.cpp:1000 > + shouldIndentText == IndentText ? shouldIndentText = DoNotIndentText : shouldIndentText = IndentText;
I find this line very difficult to read. I think it is more common in WebKit to write this with the assignment operator always on the left like so: shouldIndentText = shouldIndentText == IndentText ? DoNotIndentText : IndentText;
> LayoutTests/ChangeLog:11 > + * fast/css3-text/css3-text-indent/text-indent-each-line-expected.html: Removed.
Why is this file being removed? Seem like maybe removing it was a mistake? If it was not a mistake, you should explain it in the Changelog.
Jaehun Lim
Comment 3
2013-04-16 22:27:51 PDT
Comment on
attachment 198235
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=198235&action=review
Thanks for your reviewing.
>> Source/WebCore/ChangeLog:9 >> + "hanging" means "Inverts which lines are affected." > > Maybe include a link to the spec?
I'll add.
http://dev.w3.org/csswg/css-text/#text-indent
.
>> Source/WebCore/rendering/RenderBlockLineLayout.cpp:1000 >> + shouldIndentText == IndentText ? shouldIndentText = DoNotIndentText : shouldIndentText = IndentText; > > I find this line very difficult to read. I think it is more common in WebKit to write this with the assignment operator always on the left like so: > > shouldIndentText = shouldIndentText == IndentText ? DoNotIndentText : IndentText;
I'll fix.
>> LayoutTests/ChangeLog:11 >> + * fast/css3-text/css3-text-indent/text-indent-each-line-expected.html: Removed. > > Why is this file being removed? Seem like maybe removing it was a mistake? If it was not a mistake, you should explain it in the Changelog.
I just renamed and updated text-indent-each-line-expected.html to text-indent-each-line-hanging-expected.html. But webkit-patch script recognized it as "Remove and Added". I'll fix it "Renamed" manually.
Jaehun Lim
Comment 4
2013-04-16 22:58:35 PDT
Created
attachment 198469
[details]
Patch
Beth Dakin
Comment 5
2013-04-17 11:02:16 PDT
Comment on
attachment 198469
[details]
Patch Looks good!
Build Bot
Comment 6
2013-04-17 14:41:53 PDT
Comment on
attachment 198469
[details]
Patch
Attachment 198469
[details]
did not pass mac-wk2-ews (mac-wk2): Output:
http://webkit-queues.appspot.com/results/73242
New failing tests: http/tests/cache/cached-main-resource.html
Build Bot
Comment 7
2013-04-17 14:41:54 PDT
Created
attachment 198613
[details]
Archive of layout-test-results from webkit-ews-09 for mac-mountainlion-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: webkit-ews-09 Port: mac-mountainlion-wk2 Platform: Mac OS X 10.8.2
Jaehun Lim
Comment 8
2013-04-17 17:19:49 PDT
Created
attachment 198633
[details]
Patch
WebKit Commit Bot
Comment 9
2013-04-17 21:24:33 PDT
Comment on
attachment 198633
[details]
Patch Clearing flags on attachment: 198633 Committed
r148658
: <
http://trac.webkit.org/changeset/148658
>
WebKit Commit Bot
Comment 10
2013-04-17 21:24:35 PDT
All reviewed patches have been landed. Closing bug.
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