Bug 179179 - display:contents should work with dynamic table mutations
Summary: display:contents should work with dynamic table mutations
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: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks: 157477
  Show dependency treegraph
 
Reported: 2017-11-02 09:49 PDT by Antti Koivisto
Modified: 2017-11-13 15:39 PST (History)
7 users (show)

See Also:


Attachments
patch (14.34 KB, patch)
2017-11-02 10:05 PDT, Antti Koivisto
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Antti Koivisto 2017-11-02 09:49:58 PDT
Fix some table related WPTs.
Comment 1 Antti Koivisto 2017-11-02 10:05:41 PDT
Created attachment 325726 [details]
patch
Comment 2 Ryosuke Niwa 2017-11-02 13:58:09 PDT
Comment on attachment 325726 [details]
patch

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

> Source/WebCore/style/RenderTreeUpdater.cpp:218
> -RenderTreePosition& RenderTreeUpdater::renderTreePosition()
> +auto RenderTreeUpdater::renderingParent() -> Parent&

I'd prefer using Parent& RenderTreeUpdater::renderingParent() instead since -> syntax doesn't seem to buy us much.
Comment 3 Antti Koivisto 2017-11-02 14:31:22 PDT
> I'd prefer using Parent& RenderTreeUpdater::renderingParent() instead since
> -> syntax doesn't seem to buy us much.

I have been using it in cases where it removes redundancy. This would otherwise need to be written as

RenderTreeUpdater::Parent& RenderTreeUpdater::renderingParent()
Comment 4 Ryosuke Niwa 2017-11-02 14:48:09 PDT
(In reply to Antti Koivisto from comment #3)
> > I'd prefer using Parent& RenderTreeUpdater::renderingParent() instead since
> > -> syntax doesn't seem to buy us much.
> 
> I have been using it in cases where it removes redundancy. This would
> otherwise need to be written as
> 
> RenderTreeUpdater::Parent& RenderTreeUpdater::renderingParent()

I see. I guess it's fine but I really hate now that I have to look at left & right to see what the return type of a given function is :(

We should really use one or the other throughout.
Comment 5 WebKit Commit Bot 2017-11-02 15:38:38 PDT
Comment on attachment 325726 [details]
patch

Clearing flags on attachment: 325726

Committed r224360: <https://trac.webkit.org/changeset/224360>
Comment 6 WebKit Commit Bot 2017-11-02 15:38:40 PDT
All reviewed patches have been landed.  Closing bug.
Comment 7 Radar WebKit Bug Importer 2017-11-13 15:39:35 PST
<rdar://problem/35517797>