Add `get_css_styles` tool which exposes matched styles and the CSS
cascade to empower accurate CSS debugging workflows.
It integrates `CssFormatter` into `McpPage` and `McpResponse`, adding
container query resolution and rule pagination support.
Co-authored-by: Samiya Caur <samiyac@chromium.org>
To see the heap size increase the scenario has to be run with
warmup-iterations=0. I have made the number of iterations different by
scenario, unless they are overriden through the command line.
Once we have the fixes all merged, I will add an assert somewhere and
see if this can be added into the test suite.
This is mostly a refactor except:
- the url param is removed. The source map server is always turned on.
We can always manually connect the mcp server to an external site and
check for memory usage / leaks. Testing should be deterministic and not
rely on outside resources.
- the reports are now stored by scenario. Console still prints out
report for each scenario, alongside a final report giving a one line
summary per scenario.
Still a bit rough, but useful.