[Shadow DOM] Make createDOM() function used in testing Shadow DOM more flexible.
authorhayato@chromium.org <hayato@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 29 Feb 2012 06:09:22 +0000 (06:09 +0000)
committerhayato@chromium.org <hayato@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 29 Feb 2012 06:09:22 +0000 (06:09 +0000)
commit3491a58a0ed00e7be4feb2910c43e2ebad328073
tree14f738e4d0e22316fed73d9512740775a1a41c80
parentde838a7271bf933827491fdc32cac3751d7794ea
[Shadow DOM] Make createDOM() function used in testing Shadow DOM more flexible.
https://bugs.webkit.org/show_bug.cgi?id=79745

Reviewed by Dimitri Glazkov.

Replaces createDom and createShadow function defined in
LayoutTests/fast/dom/shadow/create-dom.js with more flexible
one. Now we can represent a shadow host which has both light
children and ShadowRoots in one expression.

* fast/dom/shadow/access-key.html:
* fast/dom/shadow/get-element-by-id-in-shadow-root.html:
* fast/dom/shadow/resources/create-dom.js:
(createShadowRoot):
(createDOM):
* fast/dom/shadow/shadow-boundary-events.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@109191 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/dom/shadow/access-key.html
LayoutTests/fast/dom/shadow/get-element-by-id-in-shadow-root.html
LayoutTests/fast/dom/shadow/resources/create-dom.js
LayoutTests/fast/dom/shadow/shadow-boundary-events.html