Changeset 106527 in webkit
- Timestamp:
- Feb 1, 2012 7:22:22 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r106521 r106527 1 2012-02-01 Shinya Kawanaka <shinyak@google.com> 2 3 Select attribute of HTMLContentElement should be able be changed dynamically. 4 https://bugs.webkit.org/show_bug.cgi?id=76261 5 6 Reviewed by Hajime Morita. 7 8 Test cases for changing select attribute dynamically. 9 10 * fast/dom/shadow/content-element-select-dynamic-expected.txt: Added. 11 * fast/dom/shadow/content-element-select-dynamic.html: Added. 12 1 13 2012-02-01 Michael Saboff <msaboff@apple.com> 2 14 -
trunk/Source/WebCore/ChangeLog
r106526 r106527 1 2012-02-01 Shinya Kawanaka <shinyak@google.com> 2 3 Select attribute of HTMLContentElement should be able be changed dynamically. 4 https://bugs.webkit.org/show_bug.cgi?id=76261 5 6 Reviewed by Hajime Morita. 7 8 When select attribute is changed, the flag to recalc style is set. 9 10 Test: fast/dom/shadow/content-element-select-dynamic.html 11 12 * html/shadow/HTMLContentElement.cpp: 13 (WebCore::HTMLContentElement::parseMappedAttribute): 14 Sets recalc style when select is changed. 15 * html/shadow/HTMLContentElement.h: 16 (HTMLContentElement): 17 1 18 2012-02-01 Kentaro Hara <haraken@chromium.org> 2 19 -
trunk/Source/WebCore/html/shadow/HTMLContentElement.cpp
r106465 r106527 119 119 } 120 120 121 void HTMLContentElement::parseMappedAttribute(Attribute* attr) 122 { 123 if (attr->name() == selectAttr) { 124 if (ShadowRoot* root = toShadowRoot(shadowTreeRootNode())) 125 root->setNeedsReattachHostChildrenAndShadow(); 126 } else 127 HTMLElement::parseMappedAttribute(attr); 121 128 } 129 130 } -
trunk/Source/WebCore/html/shadow/HTMLContentElement.h
r106225 r106527 74 74 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*) { return 0; } 75 75 76 virtual void parseMappedAttribute(Attribute*); 77 76 78 OwnPtr<ShadowInclusionList> m_inclusions; 77 79 };
Note: See TracChangeset
for help on using the changeset viewer.