Commit Graph

3580 Commits

Author SHA1 Message Date
Nazar Mokrynskyi
ecd9b0902d Fix for getters/setters for property become inaccessible when property set on element before it is ready
Test added
2016-02-05 02:55:34 +01:00
Steve Orvell
9968266e74 Merge pull request #3163 from Polymer/allow-keyframe-style-transformation
Non-destructive `@keyframes` rule transformation.
2016-02-04 15:20:42 -08:00
Kevin Schaaf
473a1ee717 Merge pull request #2486 from mgiuffrida/patch-1
Allow newlines in computed binding argument list
2016-02-04 14:54:40 -08:00
Chris Joel
b9f2482eb5 Non-destructive @keyframes rule transformation.
Previously, the transformer did not disambiguate selectors in `@media`
blocks and keyframes in `@keyframes` blocks. Now, the transformer can
safely transform `@keyframes` blocks. Before a selector is transformed,
if the selector has a parent, it is checked. If the checked parent is a
`@keyframes` rule, the selector transformation is skipped.

Element-specific `@keyframes` are suffixed with the scoped element name.
For example, `@keyframes foo` in an element scoped with `x-el-0` will by
transformed to `@keyframes foo-x-el-0`. References to that animation in
the element's local styles will be updated as well.

Added tests for the new keyframes transformation.
2016-02-04 14:52:25 -08:00
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
Steve Orvell
c24355f789 Merge pull request #3374 from Polymer/3288-kschaaf-fix-regression
Fix test regression from PR 3289
2016-02-04 10:32:10 -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
Michael Giuffrida
b40f639b63 i suck at git 2016-02-03 21:50:33 -08:00
Michael Giuffrida
f960f251c1 Merge remote-tracking branch 'mgiuffrida/master' into patch-1 2016-02-03 21:45:59 -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
Steve Orvell
cffaad4b55 Merge pull request #3212 from sandro-k/patch-1
Update PRIMER.md
2016-02-03 16:48:56 -08:00
Steve Orvell
b448c18035 Merge pull request #2419 from nazar-pc/content-selector-fix
Eliminate the need to write `:host ::content` instead of just `::content`
2016-02-03 16:02:14 -08:00
Steve Orvell
1e37387881 Merge pull request #2405 from Polymer/justin-bootstrap
Remove redundant assign to window.Polymer
2016-02-03 15:58:26 -08:00
Nazar Mokrynskyi
c6c28f5197 Using constant rather than plain :host and ::content, also create regexp object only once 2016-02-01 01:52:29 +01: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
Steve Orvell
5d17efc5d7 Merge pull request #3341 from Polymer/add-style-shim-flaw-test
add test for 3326
2016-01-27 15:24:41 -08:00
Daniel Freedman
854fdbf711 add test for 3326 2016-01-27 15:24:00 -08:00
Daniel Freedman
3d2cb71c95 [ci skip] update CHANGELOG 2016-01-27 14:14:02 -08:00
Daniel Freedman
6c7b2228c7 prepare v1.2.4 2016-01-27 14:09:12 -08:00
Daniel Freedman
2054a823ed Merge pull request #3338 from Polymer/fix-3337
Fixes #3337. When a doc fragment is added, only update the invalidati…
2016-01-27 12:23:33 -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
3ffc3e2ba0 Merge pull request #3332 from Polymer/fix-build-updated-vulcanize
fix build output with new vulcanize
2016-01-25 11:04:33 -08:00
Daniel Freedman
c3177113ff fix build output with new vulcanize 2016-01-25 10:48:22 -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
Steve Orvell
e13b28143d Merge pull request #3322 from Polymer/fix-3321
Fixes 3321
2016-01-22 20:05:05 -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
aa14687250 Update comment. 2016-01-22 18:11:17 -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
713377ead8 Simplify fix for fragment children management. 2016-01-22 16:50:01 -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
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