Daniel Freedman
05231a0218
Merge pull request #5548 from Polymer/hide-template-controls-globally
...
Globally hide dom-{bind,if,repeat} elements with legacyOptmizations on
2019-05-30 11:25:39 -07:00
Daniel Freedman
43f57b1025
Globally hide dom-{bind,if,repeat} elements with legacyOptmizations on
...
Too many breaking tests internally to not hide them
2019-05-24 11:18:39 -07:00
Daniel Freedman
76bfc0a7d8
Merge pull request #5546 from Polymer/sync-closure-annotations
...
Sync closure compiler annotations
2019-05-22 11:25:36 -07:00
Daniel Freedman
ff2edd5cdc
Update dependencies to fix firefox 67 tests
2019-05-21 17:32:13 -07:00
Daniel Freedman
ad0842017d
Sync closure compiler annotations
...
Synced from cl/245073668
2019-05-21 17:14:50 -07:00
Daniel Freedman
927ae6a302
Merge pull request #5544 from Polymer/scopesubtree-same-scope
...
Scopesubtree same scope
2019-05-20 15:17:05 -07:00
Daniel Freedman
c051c5bb82
remove unused variable in test
2019-05-20 14:41:08 -07:00
Daniel Freedman
634d736c8e
remove debugger line
2019-05-20 14:35:57 -07:00
Daniel Freedman
8a5c1e9b2d
Make sure scopeSubtree does not recurse through other ShadowRoots
...
Polymer v1 implementation of `scopeSubtree` actually only added scoping
classes, and thus would have most of the effect of stopping at
ShadowRoot boundaries.
This change is more consistent with Polymer v1 behavior, without a weird
intersection of styling behavior.
2019-05-20 14:33:58 -07:00
Kevin Schaaf
4f40589cf9
Merge pull request #5542 from Polymer/5541-kschaaf-template-display
...
Don't set display: none under legacyOptimizations. Fixes #5541 .
2019-05-17 12:59:47 -07:00
Kevin Schaaf
c9cf56c075
Don't set display: none under legacyOptimizations. Fixes #5541 .
2019-05-17 08:54:41 -07:00
Daniel Freedman
6be58b08d1
Merge pull request #5537 from Polymer/scopeSubtree
...
Implement scopeSubtree for ShadyDOM noPatch mode
2019-05-16 14:46:15 -07:00
Daniel Freedman
338d420c2c
Use Array.from instead of a list comprehension
2019-05-16 13:56:31 -07:00
Daniel Freedman
971d32d73a
Merge pull request #5533 from LarsDenBakker/fix/configure-cancel-synthetic-click
...
Allow configuring cancelling synthetic click behavior
2019-05-10 16:13:07 -07:00
Alexander Marks
1c10f0ca81
Merge pull request #5538 from Polymer/cl245273850
...
More fixes for resolveUrl
2019-05-08 17:05:51 -07:00
Alexander Marks
3db5608506
Add check for //
2019-05-08 16:41:37 -07:00
Daniel Freedman
e10019a064
Use native qSA
...
Add documentation about when to use scopeSubtree
2019-05-08 16:17:41 -07:00
Daniel Freedman
6bc9534088
Implement scopeSubtree for ShadyDOM noPatch mode
...
Add scopeSubtree as a util function, and use in LegacyElement
2019-05-08 15:20:58 -07:00
Alexander Marks
1f080595a5
Remove unneccessary test
2019-05-07 13:26:20 -07:00
Alexander Marks
940b3cdc21
Add URL try/catch
2019-05-07 11:45:20 -07:00
Alexander Marks
413ef2fbc8
Upstreaming cl/245273850
2019-05-07 11:37:53 -07:00
Daniel Freedman
3b6f3348e2
Merge pull request #5534 from Polymer/removeAttribute-scoping
...
Fix class$ bindings for ShadyDOM.noPatch mode
2019-05-06 11:55:50 -07:00
Lars den Bakker
00d4cdf4d6
Allow configuring cancelling synthetic click behavior
2019-05-04 15:22:05 +02:00
Daniel Freedman
8043d4c11f
Add test for class$ binding
2019-05-03 16:49:32 -07:00
Daniel Freedman
a0b83b259f
Fix class$ bindings for ShadyDOM.noPatch mode
2019-05-03 16:27:54 -07:00
Alexander Marks
969f289139
Merge pull request #5531 from Polymer/resolve-url
...
Check directly for // in resolveUrl because it isn't a valid URL
2019-05-02 17:42:14 -07:00
Alexander Marks
5537380852
Add test for resolveUrl('//')
2019-05-02 13:24:36 -07:00
Alexander Marks
d0ea20a17d
Check directly for // in resolveUrl because it isn't a valid URL
2019-05-01 12:33:50 -07:00
Peter Burns
733cf6831c
Run resolveUrl for protocol-relative urls ( #5530 )
...
* Run resolveUrl for protocol-relative urls
This part of ABS_URL is trying to match on absolute paths, like `/images/logo.png` not protocol-relative urls like `//example.com/images/logo.png`
Added a test and confirmed that it fails without this change.
Also cleaned up a some over-aggressive modulizer escaping in resolveurl-elements.js
Upstreaming cl/245302268
2019-04-25 17:41:14 -07:00
Daniel Freedman
03b2c668b3
Merge pull request #5527 from Polymer/localTarget-noPatch
...
Fix `localTarget` when `ShadyDOM.noPatch` is in use
2019-04-23 13:28:07 -07:00
Daniel Freedman
8f7119a8c9
Merge pull request #5528 from Polymer/closure-statics-workaround
...
Upstream compilation fixes
2019-04-22 17:02:26 -07:00
Peter Burns
6960c2b9f8
Fix lint
2019-04-22 16:18:38 -07:00
Peter Burns
3437334942
Cast GestureEventListeners.
...
This improves the closure compiler type checking of GestureEventListeners. Upstreaming of cl/239878806
2019-04-22 16:13:25 -07:00
Peter Burns
cc7702b476
Work around https://github.com/google/closure-compiler/issues/3240
...
Also add @nocollapse to all of our static methods and properties, because we never want static property collapsing on these methods.
2019-04-22 16:08:50 -07:00
Steven Orvell
7925254bec
Fix localTareget when ShadyDOM.noPatch is in use
...
Fixes #5526 .
Return the "lowest" element in the same root as the node listening for the event (currentTarget).
2019-04-22 11:08:18 -07:00
Daniel Freedman
07f1e196a7
Merge pull request #5518 from Polymer/fix-className-bindings-master
...
Ensure `className` bindings work correctly when `ShadyDOM.noPatch` is…
2019-04-19 17:18:55 -07:00
Daniel Freedman
652fea9c92
Merge branch 'master' into fix-className-bindings-master
2019-04-19 16:21:46 -07:00
Daniel Freedman
176c00161d
Merge pull request #5487 from Polymer/shadydom-upgrade
...
Use `ShadyDOM.attachDom`
2019-04-19 16:17:22 -07:00
Daniel Freedman
002a4319e9
webcomponentsjs 2.2.10
2019-04-19 15:51:01 -07:00
Steven Orvell
3b7c9f8e05
upgrade dependencies.
2019-04-16 11:07:01 -07:00
Daniel Freedman
4e60395a11
upgrade webcomponentsjs to 2.2.9
2019-04-16 10:52:35 -07:00
Kevin Schaaf
8f4cc31efe
Merge pull request #5520 from Polymer/avoid-template-upgrade
...
Avoid upgrading template if no hostProps, for better perf.
2019-04-12 18:18:00 -07:00
Kevin Schaaf
c7eb7c1984
[ci skip] Add comment
2019-04-12 18:17:44 -07:00
Steven Orvell
dd98569bb6
Merge branch 'master' into shadydom-upgrade
2019-04-12 17:37:40 -07:00
Steven Orvell
3af9f3407b
Use attachShadow({shadyUpgradeFragment})
2019-04-12 17:37:22 -07:00
Kevin Schaaf
ddcfc63f6a
Merge pull request #5522 from Polymer/5428-kschaaf-undefined-wildcard
...
[legacy-data-mixin] Ensure wildcard arguments get undefined treatment. Fixes #5428 .
2019-04-12 17:23:14 -07:00
Kevin Schaaf
ca124480a4
Remove test.only
2019-04-11 17:25:40 -07:00
Kevin Schaaf
f5a45ebc2d
Ensure wildcard arguments get undefined treatment. Fixes #5428 .
2019-04-11 15:32:33 -07:00
Steven Orvell
6adbc23ca8
Fix typo
2019-04-11 10:45:19 -07:00
Steven Orvell
b13e656fae
Fix className on browsers without good native accessors
...
* Ensure `wrap` falls back to using `ShadyDOM.patch` when `noPatch` is not in use so that `className` can be used.
* Ensure `Polymer.dom` uses `patch` when `noPatch` is not in use so that `className` can be used.
2019-04-11 10:36:50 -07:00