Skip to content
This repository has been archived by the owner on Dec 7, 2022. It is now read-only.

Use getDistributedNodes to get nodes distributed into shadowRoots #128

Merged
merged 2 commits into from
Jan 6, 2015

Conversation

alice
Copy link
Contributor

@alice alice commented Jan 6, 2015

Fixes #126

@ricksbrown PTAL
I thought I might be able to submit a PR to your PR, but it turns out you can only send PRs to the repo you forked from. Seems to miss the point of git a bit! Anyway, your original change is in there.

@alice alice changed the title Issue126 Use getDistributedNodes to get nodes distributed into shadowRoots Jan 6, 2015
@ricksbrown
Copy link
Collaborator

Great stuff. I'll admit I had to do a crash course on shadow DOM to understand how this works. This is definitely a better approach than I had originally proposed since it correctly ignores "light DOM" nodes that are not part of the "rendered DOM" (remember when there was just "The DOM"?).

@alice
Copy link
Contributor Author

alice commented Jan 6, 2015

Yeah, I had to do the crash course last year (or was it the year before?) when I wrote the original code! Luckily there's a bunch of good content about it on html5rocks.com and of course I can go bug my colleagues who work on it all day if I don't understand something.

alice pushed a commit that referenced this pull request Jan 6, 2015
Use getDistributedNodes to get nodes distributed into shadowRoots
@alice alice merged commit f369a66 into GoogleChrome:master Jan 6, 2015
@alice alice deleted the issue126 branch January 6, 2015 22:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

False Negatives running in chrome browser, but not running through phantomjs
2 participants