Daniel Freedman
07d8c0622e
use class attribute in applyElementScopeSelector
...
className can be a special object in IE
Fixes #3285
2016-01-19 10:46:52 -08:00
Kevin Schaaf
9cd6b796a1
Merge pull request #3296 from Polymer/fix-3295
...
Fixes #3295 . Only cache a false-y result for an element's owner shady…
2016-01-19 10:37:26 -08:00
Eric Bidelman
848dbb92ee
Merge pull request #3304 from thierer/master
...
Fix typo in documentation for set()
2016-01-16 11:57:33 -08:00
Martin Thierer
aa47515766
Fix typo in documentation for set()
2016-01-16 19:00:54 +01:00
Steven Orvell
0e74810862
Correct use of document.contains to document.documentElement.contains on IE.
2016-01-14 15:59:01 -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
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
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
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