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
126267
Root background doesn't correctly update with composited <html> element
https://bugs.webkit.org/show_bug.cgi?id=126267
Summary
Root background doesn't correctly update with composited <html> element
Geoffrey Benson
Reported
2013-12-27 15:21:31 PST
This bug is best seen with a minimal demonstration page, which I have attached. How to reproduce: * Apply this style declaration: html { -webkit-backface-visibility: hidden; } * After the page has loaded, change the styling on the <body> tag dynamically via JavaScript, for example by setting the background-color to something new. Expected behavior: The body style should be applied, and the viewport should redraw to show the applied style. Actual behavior: Only portions of the page get updated. This bug was found when researching why only parts of the screen were rendered with a new background image when a style was applied to <body> (the parts of the screen which didn't get new elements added remained black, per the <body>'s previous style at the time.) Additional: If the time between initial render and when the <body> style is changed is small enough (1ms or less), the bug doesn't trigger. This has been reproduced on the following environments: MacOS: Safari 7.0.1, Chrome 31.0.1650.63, Opera Next 19.0.1326.21 Windows 7: Chrome 31.0.1650.63 m Android: 4.3, 4.0, 2.3.5 (though 2.3.5 has additional rendering bugs related to this). iOS: 7.0.4 Workaround: If the -webkit-backface-visibility style is applied to <body> instead of <html>, this bug is not triggered.
Attachments
Example test case which triggers the bug
(1.29 KB, text/html)
2013-12-27 15:22 PST
,
Geoffrey Benson
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Geoffrey Benson
Comment 1
2013-12-27 15:22:10 PST
Created
attachment 220066
[details]
Example test case which triggers the bug
Radar WebKit Bug Importer
Comment 2
2014-01-02 14:34:49 PST
<
rdar://problem/15740636
>
Ahmad Saleem
Comment 3
2023-02-24 09:32:23 PST
I am not able to reproduce this bug in Safari 16.3 & STP164 and we are matching with Chrome Canary 112 and Firefox Nightly 112 as well in the attached testcase. Marking this as "RESOLVED CONFIGURATION CHANGED". Thanks! Please reopen if this is reproducible. Thanks!
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