https://developer.mozilla.org/en-US/docs/Web/CSS/revert
Just a quick question whether this can be supported in the underlying browser engine.
I don't know if there's a good reason for this, but forums based on Discourse platform use it to undo previously set overflow-y property, only an issue on JavaScriptless version where scroller disappears on Pale Moon.
Example URL: https://boards.straightdope.com/t/how-a ... rse/926428
Found this on Discourse's GitHub page: https://github.com/discourse/discourse/ ... l.erb#L240
CSS revert directive support
Moderators: trava90, athenian200
-
- Pale Moon guru
- Posts: 35650
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: CSS revert directive support
Filed Issue #2045 (UXP).
Feel free to have a crack at it if comfortable working with our CSS engine. Aside from the actual implementation, adding a new keyword isn't too terribly difficult. Considering this just clears/resets applied styles, I doubt it'd touch much of the actual layout engine beyond the parser/style system.
Feel free to have a crack at it if comfortable working with our CSS engine. Aside from the actual implementation, adding a new keyword isn't too terribly difficult. Considering this just clears/resets applied styles, I doubt it'd touch much of the actual layout engine beyond the parser/style system.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
-
- Fanatic
- Posts: 180
- Joined: 2019-01-10, 09:37
Re: CSS revert directive support
Sorry, I guess this belongs in the platform development subforum. Just wanted to point out one thing I found that's missing, it's good for it to be on the list of things to tackle in the future.
-
- Pale Moon guru
- Posts: 35650
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: CSS revert directive support
yeah I'll move it.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite