Bug 149593

Summary: Update style/layout when a slot is added or removed
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: DOMAssignee: Ryosuke Niwa <rniwa>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, esprehn+autocc, kangil.han, koivisto
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 148695    
Attachments:
Description Flags
Fixes the bug natively for now koivisto: review+

Description Ryosuke Niwa 2015-09-28 00:49:08 PDT
We don't invalidate the style when a slot is added or removed.
This causes fast/shadow-dom/shadow-layout-after-slot-changes.html to fail.
Comment 1 Ryosuke Niwa 2015-09-29 00:35:56 PDT
Created attachment 262047 [details]
Fixes the bug natively for now
Comment 2 Antti Koivisto 2015-09-29 10:11:54 PDT
Comment on attachment 262047 [details]
Fixes the bug natively for now

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

> Source/WebCore/dom/ShadowRoot.cpp:2
> + * Copyright (C) 2011, 2015 Google Inc. All rights reserved.

Google?
Comment 3 Ryosuke Niwa 2015-09-29 13:22:39 PDT
Committed r190323: <http://trac.webkit.org/changeset/190323>