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
Kevin Schaaf
55b91b3db7
Merge pull request #3310 from Polymer/fix-svg-scope
...
Fix svg scope
2016-01-19 12:05:30 -08:00
Kevin Schaaf
b4fed21eab
Merge pull request #3309 from Polymer/fix-3308
...
Fixes #3308 . Use an explicit undefined check to test if logical tree …
2016-01-19 12:05:09 -08:00
Daniel Freedman
172d93cf4f
Ugh
2016-01-19 11:50:27 -08:00
Steven Orvell
60b007894b
Merge branch 'master' into fix-3308
...
Conflicts:
src/lib/dom-tree-api.html
2016-01-19 11:50:11 -08:00
Kevin Schaaf
4ffe28ddff
Merge pull request #3305 from Polymer/no-composed-children
...
Remove reference to _composedChildren
2016-01-19 11:46:55 -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
Kevin Schaaf
74ba13ff91
Merge pull request #3301 from Polymer/dom-tree-first-vs-last
...
Maybe a typo in dom-tree-api?
2016-01-19 11:41:47 -08:00
Daniel Freedman
b1ea014529
add test
2016-01-19 10:46:52 -08:00
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
Peter Burns
9f85acd9dd
Remove reference to _composedChildren
2016-01-16 10:46:00 -08:00
Martin Thierer
aa47515766
Fix typo in documentation for set()
2016-01-16 19:00:54 +01:00
Peter Burns
ae98a7c6a7
Fix typo in dom-tree-api
2016-01-15 15:47:07 -08: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