Commit Graph

17 Commits

Author SHA1 Message Date
Daniel Freedman
f2b65881e2 Merge branch 'fix-for-selectors-specificity' of https://github.com/nazar-pc/polymer into nazar-pc-fix-for-selectors-specificity 2015-12-04 12:59:38 -08:00
Daniel Freedman
690838abde set class attribute instead of using classname
Fixes #2407

add test with dynamic svg elements

Test for fill-opacity, it doesn't get munged like color

Most browsers don't like CSS for sizing the circle :(
2015-11-24 14:38:13 -08:00
Nazar Mokrynskyi
fd57784705 Fix for incorrect CSS selectors specificity as reported in #2531
Fix for overriding mixin properties, fixes #1873
Added awareness from `@apply()` position among other rules so that it is preserved after CSS variables/mixing substitution.
`Polymer.StyleUtil.clearStyleRules()` method removed as it is not used anywhere.
Some unused variables removed.
Typos, unused variables and unnecessary escaping in regexps corrected.
Tests added.
2015-11-13 08:24:54 +01:00
Steven Orvell
e35c4e91e2 Fixes #2652 2015-10-30 11:41:56 -07:00
Steven Orvell
58d3c3b3a8 Add tests and require module to be on style elements. 2015-07-30 10:27:11 -07:00
Steven Orvell
c8905f900a Fixes #2118: force element is to be lowercase: mixing case causes confusion and breaks style shimming for type extensions. 2015-07-23 18:14:39 -07:00
Steven Orvell
7d6e6a7b8d Fixes #1900: adds basic support for host-context(...) 2015-06-24 14:51:43 -07:00
Steven Orvell
7a132ffe60 Fixes #1559 (reviewed by @kevinpschaaf) 2015-05-22 20:12:08 -07:00
Steven Orvell
0f5bfa5b56 Fix for #1490: style scoping sag elements on IE. 2015-05-17 20:01:35 -07:00
Steven Orvell
8e12bf924f Rename x-* elements. 2015-05-05 19:57:17 -07:00
Kevin Schaaf
83738a1a77 Fix failing tests. 2015-05-05 17:39:42 -07:00
Steve Orvell
74941c2c19 Fixes style scoping when elements are stamped inside repeats.
Removes `element.host` which was used by the platform (e.g. <a>.host), in favor of `element.domHost`. This is just a shorthand for `Polymer.dom(element).getOwnerRoot().host`
2015-04-22 12:43:36 -07:00
Steve Orvell
ffd32a2851 Added scopeSubtree(container, shouldObserve) to support element use of normal dom api under shady dom in a specific subtree. 2015-04-14 15:00:23 -07:00
Steve Orvell
5760ca2f3c Fix class shimming when hostAttributes: class is used. 2015-04-10 17:33:33 -07:00
Steve Orvell
dd46b60a9c For perf, shim styling with classes. Attr shimming optionally available. 2015-04-09 19:04:39 -07:00
Steven Orvell
568d145d5c Fixes https://github.com/Polymer/polymer/issues/1293 2015-03-16 17:47:44 -07:00
Steve Orvell
2c8cc4e464 Support remote stylesheets via <link rel="import" type="css" href="..."> syntax. 2015-03-11 16:16:43 -07:00