Commit Graph

589 Commits

Author SHA1 Message Date
Kevin Schaaf
a6d948553a Merge pull request #3373 from Polymer/filaraujo-feature/domTemplate
dom-template: parentProps should not override argument based props
2016-02-04 12:56:15 -08:00
Kevin Schaaf
eb70ea9731 Merge remote-tracking branch 'origin' into filaraujo-feature/domTemplate 2016-02-04 11:45:22 -08:00
Kevin Schaaf
e81145c114 Merge pull request #2291 from jakemac53/isDebouncerActive
make isDebouncerActive actually return a bool
2016-02-04 11:43:50 -08:00
Kevin Schaaf
5205d6ab1f Fix test regression from PR 3289 2016-02-04 10:30:56 -08:00
Kevin Schaaf
aeb44de787 Move test and add to runner. 2016-02-04 09:55:18 -08:00
Kevin Schaaf
d69ee9a35e Merge branch 'feature/domTemplate' of https://github.com/filaraujo/polymer into filaraujo-feature/domTemplate 2016-02-04 09:29:37 -08:00
Jacob MacDonald
dee9b981a8 make isDebouncerActive actually return a bool 2016-02-04 07:01:25 -08:00
Steve Orvell
95a5adea8e Merge pull request #3289 from Polymer/3288-kschaaf-attr-config
Exclude attribute bindings from configuration. Fixes #3288.
2016-02-03 18:21:00 -08:00
Nazar Mokrynskyi
d9f3dda973 Eliminate the need to write :host ::content instead of just ::content, while keeping the same processing under the hood 2016-02-01 01:51:32 +01:00
Daniel Freedman
4a9ef8e96d fix test case in 5d17efc 2016-01-27 15:38:15 -08:00
Daniel Freedman
854fdbf711 add test for 3326 2016-01-27 15:24:00 -08:00
Steven Orvell
d26b003691 Fixes #3337. When a doc fragment is added, only update the invalidation state of the insertion point list of the shadyRoot IFF it is not already invalid. This fixes an issue that was detected when an a doc fragment that did not include an insertion point was added after one that did but before distribution. 2016-01-27 12:09:57 -08:00
Steve Orvell
83cc3684ef Merge pull request #3323 from Polymer/fix-style-properties
Revert style properties change
2016-01-22 21:31:21 -08:00
Steve Orvell
c5ed4706ab Merge pull request #3325 from Polymer/3324-kschaaf-domif-detach
Ensure dom-if moved into doc fragment is torn down. Fixes #3324
2016-01-22 20:53:15 -08:00
Peter Burns
0a0b580981 Revert style properties change from fd57784705
This broke a number of tests on an internal project.
2016-01-22 20:06:46 -08:00
Steven Orvell
6b839112c7 Fix shadow dom test. 2016-01-22 20:04:10 -08:00
Kevin Schaaf
4b7da35738 Add shadow root support. (tests broken) 2016-01-22 19:55:52 -08:00
Kevin Schaaf
6c4f5d5d65 Ensure dom-if moved into doc fragment is torn down. Fixes #3324 2016-01-22 19:31:13 -08:00
Steven Orvell
d70c40ab05 improve test. 2016-01-22 18:22:38 -08:00
Steven Orvell
fe2699e0cc In addition to fragments, also handle non-distributed elements more completely. 2016-01-22 18:03:56 -08:00
Steven Orvell
25da63d132 Fix test under polypill. 2016-01-22 16:26:08 -08:00
Steven Orvell
101eb3dbd5 Ensure fragments added via Polymer.dom always have elements removed, even when distribution does not select those elements. 2016-01-22 16:18:58 -08:00
Steven Orvell
9f2464df69 Fixes #3321. Only let dom-repeat insert elements in attached if it has been previously detached; correctly avoid re-adding children in document fragments to an element's logical linked list if they are already there. 2016-01-22 16:07:39 -08:00
Kevin Schaaf
55b91b3db7 Merge pull request #3310 from Polymer/fix-svg-scope
Fix svg scope
2016-01-19 12:05:30 -08:00
Steven Orvell
9106398ccf Fixes #3308. Use an explicit undefined check to test if logical tree information exists. 2016-01-19 11:45:29 -08:00
Daniel Freedman
b1ea014529 add test 2016-01-19 10:46:52 -08:00
Steven Orvell
b9e5cce27f Ensure querySelector always returns null when a node is not found. Also optimize querySelector such that the matcher halts on the first result. 2016-01-14 15:39:00 -08:00
Steven Orvell
6e16619a4a Fixes #3295. Only cache a false-y result for an element's owner shady root iff the element is currently in the document. 2016-01-14 15:12:34 -08:00
Kevin Schaaf
246ea725a1 Exclude attribute bindings from configuration. Fixes #3288. 2016-01-13 10:36:02 -08:00
Steve Orvell
44232bdf03 Merge pull request #2717 from Polymer/bicknellr/activeElement
Adds support for `activeElement` to `Polymer.dom`.
2016-01-08 15:38:05 -08:00
Russell Bicknell
47ee2ca912 Use local references to wrapper functions; add test element tree to native shadow tests; reorder test elements. 2016-01-08 14:51:21 -08:00
Daniel Freedman
d7567b7431 Remove leftover garbage line
Addresses https://github.com/Polymer/polymer/pull/3271/files#r48907696
2016-01-06 14:48:53 -08:00
Russell Bicknell
e848af8964 Removes the case where activeElement could be in the light DOM of a ShadowRoot. 2016-01-06 11:48:50 -08:00
Russell Bicknell
298457610b DOM API implementation of activeElement. 2016-01-06 11:47:34 -08:00
Daniel Freedman
4cbdef740d Remove call to wrap in deepContains
Test Polymer.dom with native shadowroot (chrome only)

Fixes #3273
2016-01-05 14:55:06 -08:00
Daniel Freedman
f452a7f8f6 Merge pull request #3271 from Polymer/bind-is-attached
Fixes #3270.
2016-01-05 14:42:30 -08:00
Steven Orvell
7d0485b18d Fixes #3270. 2016-01-05 14:35:21 -08:00
Steven Orvell
33a24bb8e8 Include more styling tests under ShadowDOM.
Fix custom-style media query test to work under both shadow/shady.
2016-01-05 11:11:05 -08:00
Ruben Stolk
94f505a721 Set position to relative to make Safari to succeed top/bottom tests 2015-12-30 14:46:56 +01:00
Tim van der Lippe
f92f9ff38e Fix parsing of minimized css output 2015-12-28 19:37:13 +01:00
Kevin Schaaf
273ab0fbe6 Merge pull request #3112 from Polymer/shady-linked
ShadyDOM: use a linked-list for tree accessors
2015-12-15 17:09:54 -08:00
Steve Orvell
dd34fc6163 Merge pull request #3202 from Polymer/issue-3201
use destination insertion points when calculating the path
2015-12-15 16:57:26 -08:00
valdrinkoshi
3f8b6ee256 use destination insertion points when calculating the path 2015-12-14 19:26:04 -08:00
Steven Orvell
9a3bead568 Store all dom tree data in __dom private storage; implement composed patching via a linked list. 2015-12-14 18:40:01 -08:00
Daniel Freedman
2b69bb1496 Modernize the build 2015-12-14 16:04:13 -08:00
Daniel Freedman
82b2443a1d Add more globals to whitelist for safari
Fixes #3199
2015-12-14 15:57:17 -08:00
Steven Orvell
e3753dbaeb Merge branch 'master' into shady-linked
Conflicts:
	src/lib/dom-api.html
	src/mini/shady.html
2015-12-11 11:32:25 -08:00
Daniel Freedman
9066a48a63 Merge pull request #3114 from Polymer/3113
importHref loads imports, async. Fixes #3113
2015-12-09 18:26:42 -08:00
Eric Bidelman
fadd455e0d Fixes #3113 2015-12-09 18:15:31 -08:00
Tim van der Lippe
0e248f5a3f Produce nicer error on malformed observer 2015-12-09 12:51:07 +01:00