CSS edit mode has become out of date compared with standards changes.
Attached test file shows some example. Try it with the patched version and see the difference.
- Handle @media, ensure first following CSS rule is correctly formatted.
- Thorough refresh of properties based on CSS3 filtered by major browser support.
- Add missing selectors for CSS3.
- Add missing @rules for CSS3 except not @keyframes
- Did not do a thorough search for KEYWORD3, just added in one I noticed in passing.
- Did not attempt to detect browser prefixes.
Here is the test CSS file
Here is the updated css.xml. I have just ended up with everything sorted alphabetically because it was hard to figure out otherwise. Sorry that does make it a bit harder to diff.
Updated in revision 24458, thanks!
Next time you want to submit an update to a mode file, it is better to post it in the jedit patches tracker, FYI.
Thanks! I will use the patches tracker in future, sorry about that.