848 Commits

Author SHA1 Message Date
Nazar Mokrynskyi
41b266b5a6 Added tests for ::shadow when calling element.querySelector() and element.querySelectorAll() 2015-01-29 21:26:06 +01:00
Nazar Mokrynskyi
e913ef46fe Do different shimming for element.querySelector() and element.matches() 2015-01-29 20:58:18 +01:00
Nazar Mokrynskyi
7bb92937ad Moved test higher (more similar to how working code placed) 2015-01-29 20:46:46 +01:00
Nazar Mokrynskyi
dea0fea023 element.matches moved from shadowDOM/wrappers/Element.js to shadowDOM/querySelector.js.
Also selector shimming for `element.querySelector()` changed to one used in `element.matches()`.
2015-01-29 20:39:40 +01:00
Daniel Freedman
5494dfaff1 Merge pull request #179 from azakus/wrap-ownersvgelement
Make broken descriptors configurable on Safari
2015-01-28 15:23:51 -08:00
Daniel Freedman
90a20c4450 Add ownerSVGElement tests 2015-01-28 12:10:49 -08:00
Daniel Freedman
b79e81f85e Make broken descriptors configurable on Safari
Allows after-registration usage of getter/setter additions.
Fixes #159
2015-01-28 11:22:48 -08:00
Addy Osmani
a1dd40f962 Merge pull request #178 from webcomponents/fix174
install createShadowRoot only if present, fixes #174
2015-01-28 16:47:00 +00:00
John Messerly
56317fb952 install createShadowRoot only if present, fixes #174 2015-01-28 08:38:55 -08:00
Addy Osmani
574768b8cd Merge pull request #175 from shama/patch-1
Point package.json to the actual main script
2015-01-28 10:37:38 +00:00
Kyle Robinson Young
4887654b5e Point package.json to the actual main script 2015-01-27 16:42:34 -08:00
Daniel Freedman
0702a3f9aa Get list of files from dist folder 2015-01-27 16:00:13 -08:00
Daniel Freedman
a81a0aa6f0 Merge pull request #172 from azakus/autoclave-build
Add build script for PolymerLabs/autoclave builds
2015-01-27 15:14:34 -08:00
Daniel Freedman
750c476a86 add build 2015-01-27 11:06:53 -08:00
Nazar Mokrynskyi
e352a0cace Handle nicely Data URI scheme 2015-01-25 22:56:52 +01:00
Nazar Mokrynskyi
f96a232f59 element.matches() tests added 2015-01-24 10:30:38 +01:00
Nazar Mokrynskyi
215806a2a7 Support for :host, ::content and similar selectors in element.matches() 2015-01-24 08:49:04 +01:00
Daniel Freedman
9f91fd5d9d bump to 0.5.4 2015-01-23 16:00:28 -08:00
Daniel Freedman
97029e66f9 Merge pull request #165 from webcomponents/revert-160-wrap-ownersvgelement
Revert "Wrap SVGElement.ownerSVGElement"
2015-01-23 14:05:20 -08:00
AJ Ortega
23715ed8d6 Revert "Wrap SVGElement.ownerSVGElement" 2015-01-23 10:16:27 -08:00
Nazar Mokrynskyi
7a50fc6c4e Merge remote-tracking branch 'upstream/master' into relative_path_resolving_in_css 2015-01-22 10:54:21 +01:00
Daniel Freedman
7d1e0d8992 Merge pull request #160 from azakus/wrap-ownersvgelement
Wrap SVGElement.ownerSVGElement
2015-01-21 11:51:07 -08:00
Addy Osmani
37c2e94f2e Merge pull request #155 from jmalonzo/jmalonzo-issue-154
Sync bower version to package version - Fixes issue #154
2015-01-21 15:40:48 +00:00
Nazar Mokrynskyi
0da9e2d94a Regexp updated to support custom schemes 2015-01-21 04:38:29 +01:00
Daniel Freedman
cd3fe52dbf Wrap SVGElement.ownerSVGElement
Fixes #159
2015-01-20 16:08:07 -08:00
Daniel Freedman
1fbd8302c4 Merge pull request #158 from azakus/fix-normalize
Fix broken call node removal in normalize
2015-01-20 11:48:04 -08:00
Daniel Freedman
3ceb98fadf Fix broken call node removal in normalize
removeChild is the correct api
Fixes #145
2015-01-20 11:45:04 -08:00
Jan Alonzo
d53d49770c Sync bower version to package version 2015-01-18 11:39:28 +11:00
Steve Orvell
21dc1a2e29 Merge pull request #153 from webcomponents/documentmatches
Document.matches shouldn't be defined.
2015-01-16 12:49:55 -08:00
AJ Ortega
b87c8f4ce0 Document.matches shouldn't be defined.
See https://github.com/webcomponents/webcomponentsjs/issues/12 for
context.
2015-01-16 12:42:47 -08:00
Daniel Freedman
38bcdd15fb prepare for 0.5.3 release 2015-01-14 10:56:55 -08:00
Bouke van der Bijl
feef1883d1 Fix bug in IE10 with MutationObserver
There is a difference in behavior between MutationObserver and this shim
in IE10, causing the target for a MutationRecord to be different from
the expect value.

This happens because when you append a node with children in IE10 it'll call the
DOMNodeInserted for the node and its children seperately.

The test has an if statement because the behavior is different between
IE10 and chrome, making both outcomes valid.
2015-01-13 14:03:03 -05:00
Addy Osmani
e2bac0f0ea Merge pull request #144 from nazar-pc/patch-1
Improve typos
2015-01-05 17:21:28 +00:00
Nazar Mokrynskyi
c21bd3b36a Test for relative path resolving (not actually failing when broken yet) 2015-01-02 14:00:00 +01:00
Nazar Mokrynskyi
5f5864dc98 Typo 2015-01-02 13:55:47 +01:00
Nazar Mokrynskyi
fc4189f3cf Typo 2015-01-02 13:52:45 +01:00
Nazar Mokrynskyi
721884ebdb Better regexp 2014-12-23 23:12:44 +01:00
Nazar Mokrynskyi
34a995f68b Fix for relative path resolving in css (complete) 2014-12-23 01:52:42 +01:00
Nazar Mokrynskyi
861389e68c Fix for relative path resolving in css 2014-12-19 08:02:22 +01:00
John Messerly
d593e39c9f Merge pull request #81 from mysticatea/fixes-70
Fixes #70
2014-12-18 10:17:37 -08:00
Toru Nagashima
a8ea6dbbf8 Merge branch 'master' into fixes-70
Conflicts:
	src/ShadowDOM/wrappers/DOMTokenList.js
2014-12-18 13:59:38 +09:00
John Messerly
6786794b0a Merge pull request #133 from aurelia/master
fix(HTMLImports): HTMLImportsLoaded event dispatch throws error on IE
2014-12-17 17:23:20 -08:00
Rob Eisenberg
edb41baada fix(HTMLImports): use initCustomEvent for HTMLImportsLoaded
This commit switches the api to use initCustomEvent. It also cleans up some quotation inconsistencies.
2014-12-17 16:19:40 -05:00
Rob Eisenberg
3c8db9274a fix(base.js): HTMLImportsLoaded event dispatch throws error on IE
When using a  script loader such as require.js or system.js the HTMLImports polyfill will not load correctly on all versions of IE. It will throw a JavaScript error causing the program to crash. This is caused by the use of `CustomEvent` to dispatch the HTMLImportsLoaded event, which results in `Object doesn't support this function`. By explicitly using the older `createEvent` technique, the bug is fixed.
2014-12-17 14:01:10 -05:00
Steve Orvell
45eed998cc Make an import without an href properly generate an error event. 2014-12-15 17:49:12 -08:00
John Messerly
a82e082cbc Merge pull request #58 from jakemac53/master
Maintain preset flags
2014-12-15 13:59:34 -08:00
John Messerly
816b9859d9 Merge pull request #85 from jakemac53/DOMTokenList
patch DOMTokenList instead of using a wrapper
2014-12-15 09:29:03 -08:00
Scott J. Miles
dd49569170 Merge pull request #125 from timoxley/patch-2
Fix accidental global variable
2014-12-13 13:40:13 -08:00
Scott J. Miles
dc23162710 Merge pull request #124 from timoxley/patch-1
Fix accidental global variable.
2014-12-13 13:39:32 -08:00
Tim Oxley
3020ed7a16 Fix accidental global variable 2014-12-14 05:33:24 +08:00