mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 00:50:22 +00:00
aacf9b08ed
The CSSOM spec tells us to potentially add up to three different IDL attributes to CSSStyleDeclaration for every CSS property we support: - A camelCased attribute, where a dash indicates the next character should be uppercase - A camelCased attribute for every -webkit- prefixed property, with the first letter always being lowercase - A dashed-attribute for every property with a dash in it. Additionally, every attribute must have the CEReactions and LegacyNullToEmptyString extended attributes specified on it. Since we specify every property we support with Properties.json, we can use that file to generate the IDL file and it's implementation. We import it from the Build directory with the help of multiple import base paths. Then, we add it to CSSStyleDeclaration via the mixin functionality and inheriting the generated class in CSSStyleDeclaration. |
||
---|---|---|
.. | ||
EditorConfiguration | ||
HumanInterfaceGuidelines | ||
Images | ||
AddNewIDLFile.md | ||
AdvancedBuildInstructions.md | ||
BrowsingContextsAndNavigables.md | ||
BuildInstructionsLadybird.md | ||
BuildProfilingInstructions.md | ||
CodingStyle.md | ||
CSSGeneratedFiles.md | ||
EventLoop.md | ||
FAQ.md | ||
GettingStartedContributing.md | ||
LibWebFromLoadingToPainting.md | ||
LibWebPatterns.md | ||
Patterns.md | ||
Porting.md | ||
ProcessArchitecture.md | ||
README.md | ||
SmartPointers.md | ||
StringFormatting.md | ||
Testing.md | ||
Troubleshooting.md |
Ladybird Documentation
Ladybird development moves quickly, so some of these might be out of date. Please let us know if something here is wrong, or submit a PR with any additions or corrections! If you have any questions that are not answered here or in the FAQ, you are welcome to ask on Discord.
Building and Running
Configuring Editors
Development
- How to Contribute
- Coding Style
- Common Patterns
- Guidelines for Text in UI
- EventLoop
- Smart Pointers
- String Formatting