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 113800
Padding applied twice for empty generated RenderInlines
https://bugs.webkit.org/show_bug.cgi?id=113800
Summary
Padding applied twice for empty generated RenderInlines
Emil A Eklund
Reported
2013-04-02 09:49:14 PDT
The padding for empty generated content render objects is incorrectly applied twice. Downstream chromium bug:
https://code.google.com/p/chromium/issues/detail?id=225054
Attachments
Patch
(4.89 KB, patch)
2013-04-02 09:50 PDT
,
Emil A Eklund
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Emil A Eklund
Comment 1
2013-04-02 09:50:57 PDT
Created
attachment 196168
[details]
Patch
Levi Weintraub
Comment 2
2013-04-02 09:56:25 PDT
Comment on
attachment 196168
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=196168&action=review
> Source/WebCore/rendering/RenderBlockLineLayout.cpp:325 > + if (!isEmptyInline(parentAsRenderInline)) {
So if it's empty, where does the border/padding/margin get added?
Emil A Eklund
Comment 3
2013-04-02 10:00:08 PDT
(In reply to
comment #2
)
> (From update of
attachment 196168
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=196168&action=review
> > > Source/WebCore/rendering/RenderBlockLineLayout.cpp:325 > > + if (!isEmptyInline(parentAsRenderInline)) { > > So if it's empty, where does the border/padding/margin get added?
To the RenderInline instead of the child RenderText
Levi Weintraub
Comment 4
2013-04-02 15:41:06 PDT
Comment on
attachment 196168
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=196168&action=review
LGTM.
> LayoutTests/fast/css-generated-content/margin-empty-content-expected.html:5 > + ul { > + list-style-type: none;
Lookit all the whitespace!
WebKit Review Bot
Comment 5
2013-04-02 16:15:42 PDT
Comment on
attachment 196168
[details]
Patch Clearing flags on attachment: 196168 Committed
r147505
: <
http://trac.webkit.org/changeset/147505
>
WebKit Review Bot
Comment 6
2013-04-02 16:15:45 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