WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
116912
ShadowRoot should not call recalcStyle outside document level recalcStyle
https://bugs.webkit.org/show_bug.cgi?id=116912
Summary
ShadowRoot should not call recalcStyle outside document level recalcStyle
Ryosuke Niwa
Reported
2013-05-28 23:40:12 PDT
Consider merging
https://chromium.googlesource.com/chromium/blink/+/5dd4e2573b952c7f1cc91509f92a1079ed4b037b
Document::recalcStyle does lots of setup for painting, event scheduling and also sets the inStyleRecalc flag so code knows we're in the middle of a style recalc.
Attachments
Add attachment
proposed patch, testcase, etc.
Ryosuke Niwa
Comment 1
2013-05-28 23:46:33 PDT
Also
https://chromium.googlesource.com/chromium/blink/+/3ced7695724187888264ce531eb627959e5f9087
, which adds an assertion for this.
Ahmad Saleem
Comment 2
2022-08-22 13:56:21 PDT
rniwa@webkit.org
- You are working on Shadow DOM or bit around those, is this needed anymore? Thanks!
Ryosuke Niwa
Comment 3
2022-08-22 22:08:10 PDT
This code has been quite a bit rewritten in WebKit since then.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug