[Webkit-unassigned] [Bug 62737] New: attribute parsing manipulates document structure without knowing node insertedIntoDocument
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jun 15 10:20:12 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=62737
Summary: attribute parsing manipulates document structure
without knowing node insertedIntoDocument
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: HTML DOM
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: inferno at chromium.org
CC: eric at webkit.org, darin at apple.com, ap at webkit.org,
abarth at webkit.org, dglazkov at chromium.org
Testcase 1:
<html>
<body>
<a href="http://notvisited.com">google link - RED FAILS, GREEN PASSES</a>
<script>
var body1 = document.body;
document.linkColor = "green";
var body2 = body1.cloneNode(true);
body2.link = "red";
body1.vLink = "blue"; // This just helps to recalc style on the document.
</script>
</body>
</html>
Testcase 2:
<html>
<body>
<a href="http://notvisited.com">google link - RED FAILS, GREEN PASSES</a>
<script>
var body1 = document.body;
document.linkColor = "green";
var body2 = document.createElement('body');
body2.link = "red";
body1.vLink = "blue"; // This just helps to recalc style on the document.
</script>
</body>
</html>
--
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