Bug 256183

Summary: Rename leading-trim to text-box-trim to match the latest spec
Product: WebKit Reporter: zalan <zalan>
Component: Layout and RenderingAssignee: zalan <zalan>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, changseok, esprehn+autocc, ews-watchlist, glenn, gyuyoung.kim, joepeck, kondapallykalyan, macpherson, menard, ntim, pdr, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 256190, 256194    
Attachments:
Description Flags
Patch
none
Patch none

Description zalan 2023-05-01 15:55:32 PDT
ssia
Comment 1 zalan 2023-05-01 16:01:13 PDT
Created attachment 466162 [details]
Patch
Comment 2 Tim Nguyen (:ntim) 2023-05-01 16:46:01 PDT
Comment on attachment 466162 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=466162&action=review

text-edge needs to be renamed to text-box-edge too, but I guess this can be a separate patch

> Source/WebCore/css/CSSPrimitiveValueMappings.h:574
>  #define FOR_EACH(CASE) CASE(Normal) CASE(Start) CASE(End) CASE(Both)

The initial value is now "none" instead of "normal".

> Source/WebCore/css/CSSProperties.json:3793
>                  "normal",

same here

> Source/WebCore/rendering/style/RenderStyleConstants.h:690
>      Normal,

same here
Comment 3 zalan 2023-05-01 16:48:40 PDT
(In reply to Tim Nguyen (:ntim) from comment #2)
> Comment on attachment 466162 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=466162&action=review
> 
> text-edge needs to be renamed to text-box-edge too, but I guess this can be
> a separate patch
> 
> > Source/WebCore/css/CSSPrimitiveValueMappings.h:574
> >  #define FOR_EACH(CASE) CASE(Normal) CASE(Start) CASE(End) CASE(Both)
> 
> The initial value is now "none" instead of "normal".
> 
> > Source/WebCore/css/CSSProperties.json:3793
> >                  "normal",
> 
> same here
> 
> > Source/WebCore/rendering/style/RenderStyleConstants.h:690
> >      Normal,
> 
> same here
yeah, these are all going to be in separate patches as this is a rename patch on leading-trim.
Comment 4 zalan 2023-05-01 19:29:54 PDT
Created attachment 466165 [details]
Patch
Comment 5 EWS 2023-05-02 07:49:49 PDT
Committed 263587@main (9aeb8b696f2d): <https://commits.webkit.org/263587@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 466165 [details].
Comment 6 Radar WebKit Bug Importer 2023-05-02 07:50:21 PDT
<rdar://problem/108788823>