[Webkit-unassigned] [Bug 76261] Select attribute of HTMLContentElement should be able to be changed dynamically.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 1 01:29:35 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=76261





--- Comment #2 from MORITA Hajime <morrita at google.com>  2012-02-01 01:29:35 PST ---
(From update of attachment 124898)
View in context: https://bugs.webkit.org/attachment.cgi?id=124898&action=review

> Source/WebCore/html/shadow/HTMLContentElement.cpp:128
> +            root->shadowHost()->setNeedsStyleRecalc();

Do we need both? I hope setNeedsShadowTreeStyleRecalc() sufficient.

> LayoutTests/fast/dom/shadow/content-element-select-dynamic.html:122
> +            document.getElementById('expect-container').innerHTML = "<div><span>BEFORE</span><span>LIGHT 2</span><span>AFTER</span></div>";

How about to reverse the order between above two lines to minimize side-effect of innerHTML setter?

> LayoutTests/fast/dom/shadow/content-element-select-dynamic.html:244
> +

If we already have similar test, could you consider to share the test framework?

-- 
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