Bug 235676

Summary: Logical size/offset properties should handle the writing mode changing using 'initial'
Product: WebKit Reporter: Matt Woodrow <mattwoodrow>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Testcase none

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>