mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 18:32:28 -05:00
3ec9fd0aae
There are two parts to this fix: - First, StyleProperties::transformations() would previously omit calc() values entirely when returning the list of transformations. This was very confusing to StackingContext which then tried to index into the list based on faulty assumptions. Fix this by emitting calc values. - Second, StackingContext::get_transformation_matrix() now always calls resolve() on length-percentages. This takes care of actually resolving calc() values. If no reference value for percentages is provided, we default to 0px. This stops LibWeb from asserting on websites with calc() in transform values, such as https://qt.io/ :^) |
||
---|---|---|
.. | ||
Layout | ||
Text | ||
WPT | ||
CMakeLists.txt | ||
rebaseline-libweb-test | ||
TestCSSIDSpeed.cpp | ||
TestHTMLTokenizer.cpp | ||
tokenizer-test.html |