mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-21 15:10:19 +00:00
fdcece2e88
When a property is a "legacy name alias", any time it is used in CSS or via the CSSOM its aliased name is used instead. (See https://drafts.csswg.org/css-cascade-5/#legacy-name-alias) This means we only care about the alias when parsing a string as a PropertyID - and we can just return the PropertyID it is an alias for. No need for a distinct PropertyID for it, and no need for LibWeb to care about it at all. Previously, we had a bunch of these properties, which misused our code for "logical aliases", some of which I've discovered were not even fully implemented. But with this change, all that code can go away, and making a legacy alias is just a case of putting it in the JSON. This also shrinks `StyleProperties` as it doesn't need to contain data for these aliases, and removes a whole load of `-webkit-*` spam from the style inspector. |
||
---|---|---|
.. | ||
Browser | ||
HumanInterfaceGuidelines | ||
AdvancedBuildInstructions.md | ||
AndroidStudioConfiguration.md | ||
BuildInstructionsLadybird.md | ||
BuildProfilingInstructions.md | ||
CLionCodeStyleSettings.xml | ||
CLionConfiguration.md | ||
CodingStyle.md | ||
EmacsConfiguration.md | ||
EventLoop.md | ||
FAQ.md | ||
GettingStartedContributing.md | ||
HelixConfiguration.md | ||
NvimConfiguration.md | ||
Patterns.md | ||
QtCreatorConfiguration.md | ||
README.md | ||
RunningTests.md | ||
SelfHostedRunners.md | ||
SmartPointers.md | ||
StringFormatting.md | ||
Troubleshooting.md | ||
VimConfiguration.md | ||
VSCodeConfiguration.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
- Build Instructions
- Advanced Build Instructions
- Troubleshooting
- Running Tests
- Setting Up Self-Hosted Runners
- Profiling the Build
Configuring Editors
Development
- How to Contribute
- Coding Style
- Common Patterns
- Guidelines for Text in UI
- EventLoop
- Smart Pointers
- String Formatting