Bug 256183 - Rename leading-trim to text-box-trim to match the latest spec
Summary: Rename leading-trim to text-box-trim to match the latest spec
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: zalan
URL:
Keywords: InRadar
Depends on:
Blocks: 256190 256194
  Show dependency treegraph
 
Reported: 2023-05-01 15:55 PDT by zalan
Modified: 2023-05-02 07:50 PDT (History)
15 users (show)

See Also:


Attachments
Patch (51.06 KB, patch)
2023-05-01 16:01 PDT, zalan
no flags Details | Formatted Diff | Diff
Patch (51.71 KB, patch)
2023-05-01 19:29 PDT, zalan
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>