This is an automated email from the ASF dual-hosted git repository. aharui pushed a commit to branch feature/rename in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
commit d3032a6e90ab382eb2c1799bf08aef7f76ebafef Author: Alex Harui <[email protected]> AuthorDate: Fri Oct 13 15:33:49 2017 -0700 flex-flash media query is now royale-swf per #17 --- .../main/royale/org/apache/royale/html/beads/BackgroundImageBead.as | 2 +- .../Core/src/main/royale/org/apache/royale/core/AllCSSValuesImpl.as | 2 +- .../src/main/royale/org/apache/royale/core/SimpleCSSValuesImpl.as | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/BackgroundImageBead.as b/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/BackgroundImageBead.as index d7c557a..f553af2 100644 --- a/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/BackgroundImageBead.as +++ b/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/BackgroundImageBead.as @@ -37,7 +37,7 @@ package org.apache.royale.html.beads * * Note that this bead is for ActionScript only since CSS/HTML allows this just by specifying * a background image in the style selector. To use this bead, place a ClassReference to it - * within @media -flex-flash { } group in the CSS declarations. + * within @media -royale-swf { } group in the CSS declarations. * * @langversion 3.0 * @playerversion Flash 10.2 diff --git a/frameworks/projects/Core/src/main/royale/org/apache/royale/core/AllCSSValuesImpl.as b/frameworks/projects/Core/src/main/royale/org/apache/royale/core/AllCSSValuesImpl.as index 680db9f..78e45a1 100644 --- a/frameworks/projects/Core/src/main/royale/org/apache/royale/core/AllCSSValuesImpl.as +++ b/frameworks/projects/Core/src/main/royale/org/apache/royale/core/AllCSSValuesImpl.as @@ -255,7 +255,7 @@ package org.apache.royale.core if (mq == null) return true; - if (mq == "-flex-flash") + if (mq == "-royale-swf") return true; // TODO: (aharui) other media query diff --git a/frameworks/projects/Core/src/main/royale/org/apache/royale/core/SimpleCSSValuesImpl.as b/frameworks/projects/Core/src/main/royale/org/apache/royale/core/SimpleCSSValuesImpl.as index a38dcab..e568049 100644 --- a/frameworks/projects/Core/src/main/royale/org/apache/royale/core/SimpleCSSValuesImpl.as +++ b/frameworks/projects/Core/src/main/royale/org/apache/royale/core/SimpleCSSValuesImpl.as @@ -37,7 +37,7 @@ package org.apache.royale.core * CSS lookup rules that is sufficient for most applications * and is easily implemented for SWFs. * It does not support attribute selectors or descendant selectors - * or id selectors. It will filter on a custom -flex-flash + * or id selectors. It will filter on a custom -royale-swf * media query but not other media queries. It can be * replaced with other implementations that handle more complex * selector lookups. @@ -266,7 +266,7 @@ package org.apache.royale.core if (mq == null) return true; - if (mq == "-flex-flash") + if (mq == "-royale-swf") return true; // TODO: (aharui) other media query -- To stop receiving notification emails like this one, please contact "[email protected]" <[email protected]>.
