Bug 211574 - [LFC[TFC] Adjust the table wrapper box style
Summary: [LFC[TFC] Adjust the table wrapper box style
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:
 
Reported: 2020-05-07 08:42 PDT by zalan
Modified: 2020-05-07 10:15 PDT (History)
5 users (show)

See Also:


Attachments
Patch (8.34 KB, patch)
2020-05-07 09:04 PDT, zalan
no flags Details | Formatted Diff | Diff
Patch (7.89 KB, patch)
2020-05-07 09:24 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 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>