[Webkit-unassigned] [Bug 131623] New: Dynamic background color changes do not update until a layout is forced
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Apr 14 11:01:05 PDT 2014
https://bugs.webkit.org/show_bug.cgi?id=131623
Summary: Dynamic background color changes do not update until a
layout is forced
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: SVG
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: pdr at google.com
CC: zimmermann at kde.org, krit at webkit.org
1. Set svg.style.backgroundColor = "blue"
2. Notice the svg element does not change
3. Resize the window and notice the background updates
Testcase below:
<!DOCTYPE HTML>
<html>
<head>
<script>
function test() {
var svg = document.getElementById('svg');
setTimeout(function() {
svg.style.backgroundColor = "green";
}, 100);
}
</script>
</head>
<body onload="test()">
This test passes if there is a green rectangle below:<br/>
<svg id="svg" width="100px" height="100px">
</svg>
</body>
</html>
This has been fixed in Blink. We just need to merge the patch from crbug.com/354305.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list