Bug 235676 - Logical size/offset properties should handle the writing mode changing using 'initial'
Summary: Logical size/offset properties should handle the writing mode changing using ...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-01-26 15:15 PST by Matt Woodrow
Modified: 2022-02-02 15:16 PST (History)
1 user (show)

See Also:


Attachments
Testcase (268 bytes, text/html)
2022-01-26 15:15 PST, Matt Woodrow
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Woodrow 2022-01-26 15:15:26 PST
Created attachment 450075 [details]
Testcase

It appears that changing the writing mode using 'initial' results in logical properties still using the writing mode of the parent.

I think that's because we skip resolving the writing-mode if it's a css-wide value - https://webkit-search.igalia.com/webkit/rev/e21587c29ad4af9fb73c51c60d46a21531ef2a5e/Source/WebCore/style/PropertyCascade.cpp#317
Comment 1 Radar WebKit Bug Importer 2022-02-02 15:16:16 PST
<rdar://problem/88403937>