WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
218948
[LFC] Do not use RenderStyle's logical margin API
https://bugs.webkit.org/show_bug.cgi?id=218948
Summary
[LFC] Do not use RenderStyle's logical margin API
zalan
Reported
2020-11-14 15:35:06 PST
it flips the values based on the box's own writing mode and not the writing mode the box lives in. see
https://www.w3.org/TR/css-writing-modes-4/#logical-direction-layout
Attachments
Patch
(4.15 KB, patch)
2020-11-14 15:44 PST
,
zalan
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
zalan
Comment 1
2020-11-14 15:44:04 PST
Created
attachment 414146
[details]
Patch
Sam Weinig
Comment 2
2020-11-14 16:19:17 PST
Comment on
attachment 414146
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=414146&action=review
> Source/WebCore/ChangeLog:16 > + RenderStyle::marginStart/End/Before/After flips these values based on the box's own writing mode.
Should these RenderStyle functions be renamed to make it more clear?
zalan
Comment 3
2020-11-14 20:22:35 PST
(In reply to Sam Weinig from
comment #2
)
> Comment on
attachment 414146
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=414146&action=review
> > > Source/WebCore/ChangeLog:16 > > + RenderStyle::marginStart/End/Before/After flips these values based on the box's own writing mode. > > Should these RenderStyle functions be renamed to make it more clear?
Most certainly. I am not sure though what their name would be like. Guess I should figure out the cases where we would call them first.
EWS
Comment 4
2020-11-15 06:26:04 PST
Committed
r269826
: <
https://trac.webkit.org/changeset/269826
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 414146
[details]
.
Radar WebKit Bug Importer
Comment 5
2020-11-15 06:27:17 PST
<
rdar://problem/71414284
>
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