Commit Graph

44 Commits

Author SHA1 Message Date
Daniel Freedman
8e2f7fdc55 Fix event.defaultPrevented for IE
Only set defaultPrevented if event is cancelable
Add tests with and without cancelable
Fix shims in HTMLImports and CustomElements to support cancelable
2015-11-04 12:37:03 -08:00
Daniel Freedman
7200bc2ddb Merge pull request #421 from nazar-pc/shadowRoot.getSelection-fix
`shadowRoot.getSelection()` method added since it is present in Chromium
2015-10-27 15:51:06 -07:00
Daniel Freedman
ef97843756 Fix wct/browser.js load order, simplify travis config 2015-10-23 14:28:57 -07:00
Nazar Mokrynskyi
f82a39bc39 shadowRoot.getSelection() method added since it is present in Chromium 2015-10-21 22:05:42 +02:00
Daniel Freedman
610b11a6ae load shadowdom in an iframe for full test suite 2015-10-19 16:27:35 -07:00
Daniel Freedman
3d56bb676c almost everything works! 2015-10-19 15:08:51 -07:00
Kevin Schaaf
31c00ce9d0 Fixes IE10 test. Fixes #349 2015-07-14 18:51:42 -07:00
Steven Orvell
f94ca5eb0e Revert "fixes #316, attribute dependencies were not always recorded on the correct ShadowRenderer"
This reverts commit 1be8240c43.
2015-07-08 14:23:32 -07:00
Steven Orvell
66857f0a4e make ShadowDOM tests work when run standalone 2015-07-08 14:22:55 -07:00
Kevin Schaaf
0ced07643b Fix issues with tests. 2015-07-01 17:07:47 -07:00
John Messerly
1be8240c43 fixes #316, attribute dependencies were not always recorded on the correct ShadowRenderer 2015-06-22 09:34:55 -07:00
Thomas Lee
5af32cd1ad Separate out prototype test and make super method test generic for #317. 2015-05-28 20:54:06 -07:00
Thomas Lee
0b61a8656c Style noop. Fix textwidth to 80. 2015-05-28 15:57:18 -07:00
Thomas Lee
0f28141202 Add super method tests for #317 2015-05-28 03:38:24 -07:00
Addy Osmani
5dc9ad1a4e Merge pull request #281 from webcomponents/self-closing-tags-in-xhtml
Handle XHTML self-closing void tag behavior
2015-04-26 18:22:24 +01:00
John Messerly
b6f3f362e7 fixes #285, getElementById on DocumentFragment 2015-04-14 11:28:58 -07:00
Daniel Freedman
ffba906cf2 Handle XHTML self-closing void tag behavior
Also wrap createDocument correctly for handling doctypes.

Fixes #278 ShadowDOM.js causing unclosed img tags in XHTML
2015-04-10 12:24:59 -07:00
Victor Berchet
878d628e30 Add support for the >>> selector in ShadowCSS
">>>" is the new name for "/deep/"
see http://dev.w3.org/csswg/css-scoping-1/#deep-combinator
2015-04-10 17:56:17 +02:00
Emad Eid
ce57111b71 code review changes and code style fixes 2015-04-03 20:30:55 -04:00
Emad Eid
209cf3d6cd fix issues with range and elements with shadow dom. Range needs to work properly before thinking about supporting contentEditable and the editing api 2015-04-01 21:34:28 -04:00
John Messerly
94a3292748 fix #256 -- DOM objects with numeric properties 2015-03-25 10:32:11 -07:00
Emad Eid
f4d606eabb styling issues and support the filter as a function. IE requires it. 2015-03-10 17:25:43 -04:00
Emad Eid
4296063416 second attempt of implementing TreeWalker 2015-03-10 14:51:13 -04:00
Emad Eid
7be0fc008f unable to call document.createTreeWalker without unwrapping root 2015-03-08 10:04:58 -04:00
Emad Eid
add281e429 Fix Node.isEqualNode returning false always 2015-03-08 08:58:10 -04:00
Jacob MacDonald
973ffca84f don't fail if no classList support 2015-02-02 10:50:16 -08:00
John Messerly
21ce8ea10f Merge pull request #167 from nazar-pc/matches_fixes
element.matches() fixes
2015-01-29 12:36:40 -08:00
Nazar Mokrynskyi
41b266b5a6 Added tests for ::shadow when calling element.querySelector() and element.querySelectorAll() 2015-01-29 21:26:06 +01:00
Nazar Mokrynskyi
7bb92937ad Moved test higher (more similar to how working code placed) 2015-01-29 20:46:46 +01:00
Daniel Freedman
90a20c4450 Add ownerSVGElement tests 2015-01-28 12:10:49 -08:00
Nazar Mokrynskyi
f96a232f59 element.matches() tests added 2015-01-24 10:30:38 +01:00
AJ Ortega
23715ed8d6 Revert "Wrap SVGElement.ownerSVGElement" 2015-01-23 10:16:27 -08:00
Daniel Freedman
cd3fe52dbf Wrap SVGElement.ownerSVGElement
Fixes #159
2015-01-20 16:08:07 -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
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
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
816b9859d9 Merge pull request #85 from jakemac53/DOMTokenList
patch DOMTokenList instead of using a wrapper
2014-12-15 09:29:03 -08:00
Jacob Rossi
7a136e182a Merge branch 'master' into issue51 2014-12-04 11:23:44 -08:00
Jacob MacDonald
ec71664bf7 patch DOMTokenList instead of using a wrapper 2014-12-03 15:23:28 -08:00
Toru Nagashima
3b5ef647b0 Fixes a wrong test for HTMLContentElement 2014-12-02 17:10:20 +09:00
Toru Nagashima
90a449ae27 Fixes #70 2014-12-02 15:33:16 +09:00
Ian MacLeod
7dc6731eb9 Consistent license headers 2014-11-24 17:04:36 -08:00
Jacob Rossi
db767e7769 Initial augment of UA sniffs to detect IE Edge mode 2014-11-20 15:10:23 -08:00
Steve Orvell
845215a3e1 Consolidate web components polyfilsl for easier maintenance and distribution. 2014-10-13 08:35:28 -07:00