WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
117476
Styles in nested shadows are not recalculated correctly on insertion
https://bugs.webkit.org/show_bug.cgi?id=117476
Summary
Styles in nested shadows are not recalculated correctly on insertion
Ryosuke Niwa
Reported
2013-06-10 20:58:26 PDT
Consider merging
https://chromium.googlesource.com/chromium/blink/+/dc5fc6795eacef884fe9910cbe2aa961d1809ca1
Moved StyleElement::insertedIntoDocument into didNotifySubtreeInsertions. We should avoid style-recalc during subtree insertions. If invoke style-recalc, we might invoke createRenderer for elements that have not been inserted into document yet. (i.e. the elements' inDocument flags are false). The recalc also clears needsStyleRecalc flag. This blocks correct style-recalc.
Attachments
Add attachment
proposed patch, testcase, etc.
Ahmad Saleem
Comment 1
2022-09-14 16:30:14 PDT
Link -
https://jsfiddle.net/zsbu7ctg/
I took the latest code of this test from source.chromium.org and Safari 16 is passing the test: PASS backgroundColor is "rgb(0, 128, 0)" PASS successfullyParsed is true So as Chrome Canary 107 and Firefox Nightly 106. Anything else required? Thanks!
Ryosuke Niwa
Comment 2
2022-09-14 21:46:36 PDT
This code has been refactored enough that this patch is no longer meaningful.
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