Closed Fanolian closed 2 years ago
The standard behaviour of CSS is that its rules can override each other. There is also an order of importance.
To check what is going on...
https://www.google.com/
(for example)F12
)Note: If side-panels in Gmail's are in iframe
, then that could be a reason and you should try adding @allFrames true
Note: If side-panels in Gmail's are in
iframe
, then that could be a reason and you should try adding@allFrames true
Thank you. It works.
For future reference:
defaults FireMonkey conforms to the Firefox (& Chrome) content_scripts API defaults.
- From FireMonkey's Help > Metadata Block > defaults
it is easier to reproduce it at the CSS Demo box (not the result part) at https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow
I have a UserCSS that applies text-shadow to (nearly) all text in all pages:
For FireMonkey the text shadow does not show on the Google Keep panel in Gmail. In contrast, Stylus can apply it to the panel.
Steps to reproduce
Actual result
The text does not have a red text shadow:
I also tried to add another blue text-shadow CSS
*{text-shadow: -1px -1px 0px blue !important;}
using the Scratchpad (and press Run) but in vain:With Stylus it looks like this (even without
!important
):Additional notes
I see that the Keep panel loads after others have been loaded. In FireMonkey's help it says:
So I guess the text in Keep panel should have text shadows too? I understand that Stylus uses a different mechanism to inject CSS. Is this issue a limitation on how FireMonkey works? Or is it merely an issue with my UserCSS code?
System info
Brand new profiles in Firefox 94.0.1 and currently Nightly (2021-11-15; 20211115215316) FireMonkey 2.37
Thank you for your extension.