Bug 211574

Summary: [LFC[TFC] Adjust the table wrapper box style
Product: WebKit Reporter: zalan <zalan>
Component: Layout and RenderingAssignee: zalan <zalan>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, koivisto, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch none

Description zalan 2020-05-07 08:42:08 PDT
The computed values of properties 'position', 'float', 'margin-*', 'top', 'right', 'bottom', and 'left' on the table element are used on the table wrapper box and not the table box; all other values of non-inheritable properties are used on the table box and not the table wrapper box.

https://www.w3.org/TR/CSS22/tables.html#model
Comment 1 zalan 2020-05-07 09:04:20 PDT
Created attachment 398741 [details]
Patch
Comment 2 Antti Koivisto 2020-05-07 09:13:23 PDT
Comment on attachment 398741 [details]
Patch

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

> Source/WebCore/layout/layouttree/LayoutTreeBuilder.cpp:226
> +            auto tableTop = Length { renderer.style().top() };

I think the inferred type is Length even without Length { };
Comment 3 zalan 2020-05-07 09:24:08 PDT
Created attachment 398744 [details]
Patch
Comment 4 EWS 2020-05-07 10:14:05 PDT
Committed r261302: <https://trac.webkit.org/changeset/261302>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 398744 [details].
Comment 5 Radar WebKit Bug Importer 2020-05-07 10:15:16 PDT
<rdar://problem/62981564>