/[blink]
Chromium logo

Revision 152938


Jump to revision: Previous Next
Author: morrita@chromium.org
Date: Mon Jun 24 06:50:00 2013 UTC (9 years, 10 months ago)
Changed paths: 3
Log Message:
Set Attr.ownerDocument in Element#setAttributeNode()

Attr objects can move across documents by setAttributeNode().
So It needs to reset ownerDocument through TreeScopeAdoptr::adoptIfNeeded().

BUG=248950
TEST=set-attribute-node-from-iframe.html

Review URL: https://chromiumcodereview.appspot.com/17583003

Changed paths

Path Details
Directorytrunk/LayoutTests/fast/dom/Attr/set-attribute-node-from-iframe-expected.txt
(Copied from trunk/LayoutTests/ietestcenter/Javascript/15.4.4.15-1-8-expected.txt, r152937)
added , text changed , props changed
Directorytrunk/LayoutTests/fast/dom/Attr/set-attribute-node-from-iframe.html added
Directorytrunk/Source/core/dom/Element.cpp modified , text changed

Properties

Name Value
commit-bot commit-bot@chromium.org

Powered by ViewVC 1.1.26 ViewVC Help