Commit Graph

3561 Commits

Author SHA1 Message Date
Steve Orvell
3b26f6dff3 Merge pull request #3274 from Polymer/deepContains-fix-wrap-call
Remove call to `wrap` in deepContains
2016-01-05 15:10:16 -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
Daniel Freedman
4610007799 Merge pull request #3269 from Polymer/shadow-test-tweaks
Shadow test tweaks
2016-01-05 14:35: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
Steven Orvell
555252b6b6 Remove duplicate code related to dom traversal in Polymer.dom. 2016-01-05 10:45:52 -08:00
Steve Orvell
7c20170d69 Merge pull request #3215 from nazar-pc/fix-for-missing-_query-method
Fix for `Polymer.dom(...)._query()` method doesn't exist which causes `Polymer.updateStyles()` to fail
2016-01-05 10:43:04 -08:00
Daniel Freedman
31c71d46d5 Merge pull request #3241 from rubenstolk/fix-min-css
Fix parsing of minimized css output (2)
2016-01-04 14:47:49 -08:00
Ruben Stolk
87d02e0b32 Fix parsing of minimized css output also for mixins 2015-12-30 14:47:35 +01: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
Nazar Mokrynskyi
0eea7a6038 Fix for Polymer.dom(...)._query() method doesn't exist which causes Polymer.updateStyles() to fail 2015-12-18 02:40:34 +01:00
Sanndro
bb4d558ac5 Update PRIMER.md
Without testing my changes, I am pretty sure there is a mistake in the documentation.
2015-12-17 15:32:32 +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
Steven Orvell
8c950143dc Minor factoring of dom patching. 2015-12-15 15:37:32 -08:00
Kevin Schaaf
126223a050 Merge pull request #3200 from Polymer/fix-safari-test-globals
Add more globals to whitelist for safari
2015-12-15 14:38:11 -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
d135fef14a Shady patching: patch element accessors in composed tree; fixes HTMLImports polyfill support. 2015-12-14 12:30:56 -08:00
Steven Orvell
c3fbd10da8 remove unused code; minor changes based on review. 2015-12-14 11:41:25 -08:00
Kevin Schaaf
a5b7b85d4e Merge pull request #3194 from HaykoKoryun/2617-fix-bower
added polymer-mini and polymer-micro to main
2015-12-14 10:34:29 -08:00
Hayko Koryun
da5d781b3d added polymer-mini and polymer-micro to main
Fixes #2617 by adding both files to main so they get copied over.

When using `bower-installer` (when I don't want to send dev files to production servers, and vulcanisation isn't set up yet) currently only `polymer.html` gets copied over. This fixes that.
2015-12-14 00:32:34 +04: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
Steven Orvell
b9e6859cde Updates the patch-don experiment to work with recent changes. 2015-12-11 11:27:52 -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
Steven Orvell
9915627e30 Polymer.dom: when adding a node, only remove the node from its existing location if it's not a fragment and has a parent. 2015-12-09 17:55:14 -08:00
Steven Orvell
5033fdb29c Consistently use TreeApi.Composed api for composed dom manipulation; use TreeApi.Logical methods to get node leaves. Avoid making a Polymer.dom when TreeApi.Logical can provide the needed info. 2015-12-09 17:11:44 -08:00
Daniel Freedman
a0565a8984 Merge pull request #2657 from JeremybellEU/malformed-observer-message
Produce nicer error on malformed observer
2015-12-09 11:46:29 -08:00
Daniel Freedman
cb56fb75ce Merge pull request #2482 from arturparkhisenko/master
Added missing semicolons, removed some unused variables
2015-12-09 11:40:26 -08:00
Tim van der Lippe
0e248f5a3f Produce nicer error on malformed observer 2015-12-09 12:51:07 +01:00
Tim van der Lippe
68707ad760 Deduplicate setup and verifying in notify-path test suite 2015-12-09 12:47:06 +01:00
Stefan Grönke
8ef7bac6dc more explicit tests for debouncer wait and no-wait behavior 2015-12-08 16:18:54 -08:00
Stefan Grönke
9bef4c057c speed up microtask testing 2015-12-08 16:18:54 -08:00
Stefan Grönke
391649341b ensure isDebouncerActive returns a Boolean 2015-12-08 16:18:54 -08:00
Stefan Grönke
0206852575 add more debouncer tests 2015-12-08 16:18:54 -08:00
Stefan Grönke
9b898c25cc remove dead debounce test assertion 2015-12-08 16:18:54 -08:00
Daniel Freedman
d468949bb8 Merge pull request #3066 from Polymer/arthure-rendered-item-count
Fixes #3065: Add dom-repeat.renderedItemCount property
2015-12-08 15:36:20 -08:00
Steven Orvell
8272d5e2bf Factoring of distribution logic in both add and remove cases. 2015-12-07 17:09:06 -08:00
Steve Orvell
6567c9a039 Merge pull request #3172 from Polymer/debounce-doc-typo
Minor typo in docs: call the debounce callback
2015-12-07 15:33:51 -08:00
Peter Burns
02c5c79d2e Minor typo in docs: call the debounce callback 2015-12-07 15:18:05 -08:00
Steven Orvell
dfa6a44ac0 Correct test to avoid using firstElementChild on a documentFragment since it is not universally supported. 2015-12-07 14:48:21 -08:00
Steven Orvell
34031414e5 Merge branch 'master' into shady-linked 2015-12-07 14:00:48 -08:00
Steve Orvell
bab847aaf7 Merge pull request #3160 from Polymer/3125-kschaaf-move-domif
Ensure dom-if in host does not restamp when host detaches. Fixes #3125.
2015-12-07 13:50:29 -08:00
Steve Orvell
2c6161c253 Merge pull request #3161 from Polymer/3157-kschaaf-domif-textnode
Custom setProperty for bindings to hidden textNodes. Fixes #3157.
2015-12-07 13:50:11 -08:00
Steven Orvell
1074951c26 Merge branch 'master' into 3157-kschaaf-domif-textnode 2015-12-07 12:58:13 -08:00