Alex, I will sleep one hour less today ☹ but you gave me a good hint 😝 I wanted
to follow.
I think I found the selector type list:
$ROYALE_COMPILER_HOME$\compiler-jx\src\main\java\org\apache\royale\compiler\internal\driver\js\royale\
JSCSSCompilationSession.java
Line 293:
List<String> htmlElementNames = Arrays.asList(
"a",
"aside",
"b",
"br",
…
"u",
"ul"
);
Am I in the right place?
Hiedra
De: Alex Harui <[email protected]>
Enviado el: jueves, 26 de mayo de 2022 23:09
Para: [email protected]
Asunto: Re: Incomplete CSS
IIRC, the list of standard type selectors is somewhere else in the compiler
that won’t require antlr (just Java). I don’t have time right now to go look
for it. Search the compiler for some old type selector names like “button” and
“select” and “input” but you might get hits elsewhere.
HTH,
-Alex
From: Maria Jose Esteve <[email protected]<mailto:[email protected]>>
Reply-To: "[email protected]<mailto:[email protected]>"
<[email protected]<mailto:[email protected]>>
Date: Thursday, May 26, 2022 at 2:05 PM
To: "[email protected]<mailto:[email protected]>"
<[email protected]<mailto:[email protected]>>
Subject: RE: Incomplete CSS
> I think Royale does have a list of standard type selectors it will include in
> the output, but that list might need updating to include “mark”.
I have started to look at antlr (as you commented me some time ago), maybe in
100 years I will get clear, and I can modify it 😝 . In the meantime, I have an
auxiliary defaults.css, which I reference directly in the html template, where
I put all the styles that are not yet supported.
Thx
Hiedra
De: Alex Harui <[email protected]<mailto:[email protected]>>
Enviado el: jueves, 26 de mayo de 2022 21:26
Para: [email protected]<mailto:[email protected]>
Asunto: Re: Incomplete CSS
Royale (and Flex) compilers have special handling for CSS Type Selectors.
Default values are provided in non-standard Type Selectors. If a type is not
used in the compilation, those Type Selectors are not included in the output.
I think Royale does have a list of standard type selectors it will include in
the output, but that list might need updating to include “mark”.
HTH,
-Alex
From: Maria Jose Esteve <[email protected]<mailto:[email protected]>>
Reply-To: "[email protected]<mailto:[email protected]>"
<[email protected]<mailto:[email protected]>>
Date: Wednesday, May 25, 2022 at 9:24 AM
To: "[email protected]<mailto:[email protected]>"
<[email protected]<mailto:[email protected]>>
Subject: RE: Incomplete CSS
In principle no, because it refers to an HTML <mark> Tag [1] (like h1, h3,
input, ...), it is not a class.
"I have tried it too" and although it does transfer it to App.css it does not
work because it is not recognized as the <mark> tag ☹
[1]
https://www.w3schools.com/tags/tag_mark.asp<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.w3schools.com%2Ftags%2Ftag_mark.asp&data=05%7C01%7Caharui%40adobe.com%7Ce39ee373576c4c64fd6a08da3f5b672a%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637891959056727008%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=tf0ClxiAZ1sr%2BHgClZR1kXZNhST%2FF7aE%2FF5W5Wr4GI8%3D&reserved=0>
Hiedra
De: Andrew Wetmore <[email protected]<mailto:[email protected]>>
Enviado el: miércoles, 25 de mayo de 2022 15:15
Para: [email protected]<mailto:[email protected]>
Asunto: Re: Incomplete CSS
Is "mark" missing the period at the start of the name?
On Wed, May 25, 2022 at 8:44 AM Maria Jose Esteve
<[email protected]<mailto:[email protected]>> wrote:
Hi, I find myself with a problem that I don't know how to solve, and I thought
that, perhaps, some of you have also suffered from it... it is also possible
that I am doing it wrong...
I have in defaults.css, of the application, all the custom styles: own styles
of the application or customizations of styles established in components of
some library.
The problem is that it moves "some of these css's" to App.css and not others.
Ex:
.vscomp-wrapper {
font-family: 'Open Sans', serif, sans-serif !important;
color: #333333 !important;
}
mark {
background-color: #04a3b3;
color: #fff;
}
.vscomp-royale {
background-color: #333333 !important;
color: #04a3b3 !important;
}
.jewel.drawer .drawermain {
background-color: #333333 !important;
border-left: 0;
display: inline-flex;
…;
}
Of these 4 styles all of them are transferred to App.css except for "mark", do
you have any idea what the reason might be?
Thx.
Hiedra
--
Andrew Wetmore
Editor, Moose House
Publications<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmoosehousepress.com%2F&data=05%7C01%7Caharui%40adobe.com%7Ce39ee373576c4c64fd6a08da3f5b672a%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637891959056727008%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=bMVJc1R%2FMzUMfIbDvHTlhcgDufMHvURpmmBg8knwuqE%3D&reserved=0>
Editor-Writer, The Apache Software
Foundation<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapache.org%2F&data=05%7C01%7Caharui%40adobe.com%7Ce39ee373576c4c64fd6a08da3f5b672a%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637891959056727008%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=5AvdxV5ByJy5SLgTkyWfw1D5zzPSCieBwxQBTez2HGc%3D&reserved=0>