Bug 149593 - Update style/layout when a slot is added or removed
Summary: Update style/layout when a slot is added or removed
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Ryosuke Niwa
URL:
Keywords:
Depends on:
Blocks: 148695
  Show dependency treegraph
 
Reported: 2015-09-28 00:49 PDT by Ryosuke Niwa
Modified: 2015-09-29 13:22 PDT (History)
4 users (show)

See Also:


Attachments
Fixes the bug natively for now (9.86 KB, patch)
2015-09-29 00:35 PDT, Ryosuke Niwa
koivisto: review+
Details | Formatted Diff | Diff

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