WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
198686
[LFC][IFC] Make baselines alignment explicit in Line
https://bugs.webkit.org/show_bug.cgi?id=198686
Summary
[LFC][IFC] Make baselines alignment explicit in Line
zalan
Reported
2019-06-07 21:02:53 PDT
This is in preparation for adding non-baseline vertical alignment support.
Attachments
Patch
(13.04 KB, patch)
2019-06-07 21:08 PDT
,
zalan
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2019-06-07 21:04:04 PDT
<
rdar://problem/51545175
>
zalan
Comment 2
2019-06-07 21:08:57 PDT
Created
attachment 371646
[details]
Patch
WebKit Commit Bot
Comment 3
2019-06-08 11:48:47 PDT
Comment on
attachment 371646
[details]
Patch Clearing flags on attachment: 371646 Committed
r246234
: <
https://trac.webkit.org/changeset/246234
>
WebKit Commit Bot
Comment 4
2019-06-08 11:48:49 PDT
All reviewed patches have been landed. Closing bug.
Sam Weinig
Comment 5
2019-06-09 18:25:08 PDT
Comment on
attachment 371646
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=371646&action=review
> Source/WebCore/layout/inlineformatting/InlineFormattingContextLineLayout.cpp:314 > - auto lineBox = Display::Rect { lineContent.logicalTop(), lineContent.logicalLeft(), 0 , !lineContent.isVisuallyEmpty() ? lineContent.logicalHeight() : LayoutUnit { } }; > + auto lineBox = Display::Rect { lineContent.logicalTop(), lineContent.logicalLeft(), 0, !lineContent.isVisuallyEmpty() ? lineContent.logicalHeight() : LayoutUnit { } };
Minor nit, but it's a bit confusing to call this variable lineBox, now that a LineBox contains more than just the line box rect. Maybe lineBoxRect?
zalan
Comment 6
2019-06-14 21:21:59 PDT
(In reply to Sam Weinig from
comment #5
)
> Comment on
attachment 371646
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=371646&action=review
> > > Source/WebCore/layout/inlineformatting/InlineFormattingContextLineLayout.cpp:314 > > - auto lineBox = Display::Rect { lineContent.logicalTop(), lineContent.logicalLeft(), 0 , !lineContent.isVisuallyEmpty() ? lineContent.logicalHeight() : LayoutUnit { } }; > > + auto lineBox = Display::Rect { lineContent.logicalTop(), lineContent.logicalLeft(), 0, !lineContent.isVisuallyEmpty() ? lineContent.logicalHeight() : LayoutUnit { } }; > > Minor nit, but it's a bit confusing to call this variable lineBox, now that > a LineBox contains more than just the line box rect. Maybe lineBoxRect?
You are right! I'll take care of it!
zalan
Comment 7
2019-06-16 14:05:07 PDT
(In reply to Sam Weinig from
comment #5
)
> Comment on
attachment 371646
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=371646&action=review
> > > Source/WebCore/layout/inlineformatting/InlineFormattingContextLineLayout.cpp:314 > > - auto lineBox = Display::Rect { lineContent.logicalTop(), lineContent.logicalLeft(), 0 , !lineContent.isVisuallyEmpty() ? lineContent.logicalHeight() : LayoutUnit { } }; > > + auto lineBox = Display::Rect { lineContent.logicalTop(), lineContent.logicalLeft(), 0, !lineContent.isVisuallyEmpty() ? lineContent.logicalHeight() : LayoutUnit { } }; > > Minor nit, but it's a bit confusing to call this variable lineBox, now that > a LineBox contains more than just the line box rect. Maybe lineBoxRect?
https://trac.webkit.org/changeset/246486
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