serenity/Tests/LibWeb
Andreas Kling 3ec9fd0aae LibWeb: Resolve calc() values in CSS transform
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/ :^)
2023-07-15 11:35:16 +02:00
..
Layout LibWeb: Resolve calc() values in CSS transform 2023-07-15 11:35:16 +02:00
Text LibWeb: Don't cache property accesses on WindowProxy 2023-07-11 00:14:50 +02:00
WPT Tests/LibWeb: Add a flag to update expectation metadata in WPT runner 2023-06-14 20:50:32 +02:00
CMakeLists.txt LibWeb+Tests: Demonstrate slowness of CSS::value_id_from_string 2023-01-14 15:43:27 -07:00
rebaseline-libweb-test Tests/LibWeb: Update rebaseline-libweb-test for path changes 2023-06-10 21:46:33 +02:00
TestCSSIDSpeed.cpp LibWeb: Make value_id_from_string() return Optional 2023-05-25 06:36:10 +02:00
TestHTMLTokenizer.cpp Everywhere: Remove unintentional partial stream reads and writes 2023-03-13 15:16:20 +00:00
tokenizer-test.html