Daniel Freedman
3ff4ed1b94
Add tests for calling Polymer() with ES6 class
2019-01-29 10:14:53 -08:00
Steven Orvell
d64a9c27e5
Do lazy behavior copying only when legacyOptimizations is set
2018-11-09 18:48:48 -08:00
Kevin Schaaf
e385e49b40
Add legacy-data-mixin as 1.x->2.x/3.x migration aide. Fixes #5262 .
2018-08-21 10:53:48 -07:00
Kevin Schaaf
625372ea8c
Add tests.
2018-07-17 17:42:46 -07:00
Kevin Schaaf
1761c79b35
Eliminate more canonical path usage
2018-04-19 18:19:39 -07:00
Kevin Schaaf
f1266845e5
Add WCT config used by all tests
2018-04-19 16:27:06 -07:00
Elliott Marquez
a84ad782e9
remove importHref tests
2018-04-17 10:59:31 -07:00
Peter Burns
cf3b7215aa
Replace sources with modulizer output.
2018-04-16 11:18:42 -07:00
Steven Orvell
59d7f975b0
Merge branch 'master' into disable-upgrade
2018-02-21 10:22:08 -08:00
Daniel Freedman
ecd1ba3a4c
Fix tests ( #5050 )
...
* Use sudo to fix chrome testing
There is a bug with the chrome sandbox in the Travis CI container
system, which is fixed by using `sudo: required`.
Related to travis-ci/travis-ci#8836
* reduce cognitive overhead of the test runner
* remove testing polyfilled Custom Elements with native ShadowDOM
* Use headless chrome and firefox
Use MacOS 10.13 for Safari 11
* disable testing CSS Custom Property Shim
* move sauce tests into script for travis_wait compat
2018-01-19 14:03:20 -08:00
Steven Orvell
62ce31487b
Adds Polymer.DisableUpgradeMixin
...
Fixes #4909 . Elements using this mixin will not "enable" themselves when they have a `disable-upgrade` attribute. This mirrors a feature of Polymer 1.x but is now opt-in.
2017-12-15 14:12:44 -08:00
Daniel Freedman
da46204d72
Merge branch 'master' into basic-element
2017-12-08 14:29:07 -08:00
Daniel Freedman
02c06aa3b8
Rename html-fn to html-tag
...
Add tests
Add a `Polymer.html = Polymer.html` line to `polymer.html` and
`polymer-element.html` for modulizer exporting in Polymer 3.
2017-12-06 17:07:26 -08:00
Steven Orvell
d3e1bae48a
Merge branch 'master' into basic-element
2017-11-29 16:49:07 -08:00
Steven Orvell
40f02ea178
Remove PropertiesElement in favor of PropertiesMixin.
2017-11-29 16:33:44 -08:00
Daniel Freedman
15d8c6af41
Merge branch 'master' into 2.x-shady-unscoped-style
2017-11-17 17:33:16 -08:00
Daniel Freedman
8241b8870d
Depend on webcomponents and shadycss with shady-unscoped support
...
Disable multi-styles test until that feature is fully implemented in
ShadyCSS
2017-11-17 17:30:28 -08:00
valdrinkoshi
f03e8d1b3e
test more permutations
2017-11-16 01:01:45 +01:00
Steven Orvell
d331c673fc
Merge branch 'master' into basic-element
2017-11-10 17:04:15 -08:00
Steven Orvell
819652eb9f
Allow style elements to be separate in the element template.
...
Previously Polymer collapsed any included shared styles into 1 style element. This prevents the browser from recognizing shared style elements as similar and optimizing them. With this change, we no longer collapse styles. Note, included styles are still currently collapsed by ShadyCSS but the polyfill will likely not do this in the future.
2017-10-19 12:56:30 -07:00
Steven Orvell
d77e073eb9
Add support for styles with a shady-unscoped attribute
...
This is being added to 1.x and it's ported forward here so it can be used in hybrid mode.
2017-10-18 16:49:49 -07:00
Daniel Freedman
31c0ebc7da
Always do the :dir transform
...
ShadyCSS version of the :dir transform is not good enough :(
2017-10-10 17:52:39 -07:00
Steven Orvell
e3e128bade
Renamed basic element to properties element
...
Exposed `PropertiesMixin` also.
2017-09-21 14:35:12 -07:00
Steven Orvell
d26955b46e
Implement basic-element with properties-changed
...
Moves basic property creation and attribute deserialization into properties changed to make it suitable as a base for basic-element.
2017-09-15 19:16:23 -07:00
Steven Orvell
dcdb750ba3
Add test to runner.
2017-09-15 11:53:35 -07:00
Josh Soref
00e0567e79
spelling: preferring
2017-09-07 04:40:57 +00:00
Daniel Freedman
d439960aba
Revert "Adds restamp mode to dom-repeat."
2017-08-09 15:49:47 -07:00
Tim van der Lippe
05964657d7
Merge branch 'master' into 1713-kschaaf-repeat-restamp
2017-07-31 20:09:46 -07:00
Kevin Schaaf
06190c9db2
Fix impl of _contentForTemplate. Add template-stamp tests.
...
Fixes #4597
2017-05-23 10:23:05 -07:00
Kevin Schaaf
972b2babe3
Removes the disable-upgrade feature from Polymer 2.0.
...
Due to #4550 , the feature has a flaw for native ES6 classes and would be better implemented as either a mixin or patch to `customElements.define`.
2017-04-27 17:42:21 -07:00
Kevin Schaaf
6cebeace91
Adds restamp mode to dom-repeat.
2017-04-21 12:24:00 -07:00
Kevin Schaaf
cd321a3b61
Merge branch 'master' into 2.0-binding-api-refactor
2017-04-13 09:48:25 -07:00
Daniel Freedman
2356f7b8f0
Only style elements with templates
...
dom-repeat and/or dom-if booting before custom-style is registered
can break the complicated loading strategy of ShadyCSS.
By only calling ShadyCSS for elements with templates, we both fix this
issue and improve performance for template-less element booting
Fixes #4521
2017-04-11 11:01:39 -07:00
Kevin Schaaf
eb6ab63ee7
Add initial runtime stamping tests.
2017-04-10 18:04:13 -07:00
Steven Orvell
8467a696da
Fixes #4447 . Re-introduce the hostStack in order to maintain “client before host” ordering when _flushProperties is called before connectedCallback (e.g. as Templatize does).
2017-04-05 18:49:07 -07:00
Daniel Freedman
deb5a9a541
move lazy-upgrade out to separate mixins repo
2017-04-04 14:45:31 -07:00
Daniel Freedman
71b70aaa46
add lazy-upgrade tests
2017-03-09 17:58:56 -08:00
Steven Orvell
a222078e82
implements disable-upgrade attribute which prevents readying an element until the attribute is removed.
2017-03-08 16:46:35 -08:00
Steven Orvell
58213ee611
update copyright date.
2017-03-03 16:54:36 -08:00
Kevin Schaaf
0cd393fac0
Don't leak Element to global. Add globals check.
2017-03-03 15:49:51 -08:00
Steven Orvell
48298d6c1f
Fixes #4336 . Exposes Polymer.FlattenedNodesObserver.
2017-02-24 19:45:45 -08:00
Steven Orvell
2ff6358c40
Merge branch '2.0-preview' into 2.0-styling-fallbacks
...
Conflicts:
src/elements/custom-style.html
src/legacy/legacy-element-mixin.html
2017-02-17 20:14:34 -08:00
Kevin Schaaf
872ad271d3
Add mixin-behaviors test
2017-02-17 18:57:42 -08:00
Daniel Freedman
350db73967
Merge branch '2.0-scrub' into 2.0-styling-fallbacks
2017-02-15 21:31:21 -08:00
Steven Orvell
68b132649e
Add render-status tests and doc.
2017-02-15 21:13:46 -08:00
Daniel Freedman
28687fe895
Merge branch '2.0-scrub' into 2.0-styling-fallbacks
2017-02-15 16:52:48 -08:00
Steven Orvell
db87099a5e
Add basic tests for property-accessors.
2017-02-15 10:42:07 -08:00
Daniel Freedman
2c9954f950
Merge branch '2.0-scrub' into 2.0-styling-fallbacks
2017-02-14 23:02:11 -08:00
Steven Orvell
532ae1d1d8
rename tests:
...
* bind -> property-effects
* notify-path -> path-effects
2017-02-14 12:02:48 -08:00
Daniel Freedman
3a541633d8
Merge branch '2.0-preview' into 2.0-styling-fallbacks
2017-02-13 11:03:15 -08:00