Open frogtd opened 4 years ago
@frogtd thanks for reporting! this is useful.
The example page has since changed, but I recreated what it was before: https://output.jsbin.com/lebimiwida/1/quiet
our bad results:
Indeed the captureSnapshot payload gives us font-sizes for these svg <text>
nodes in the svg viewbox'd dimensions. (window.getComputedStyle returns the same numbers)
It's not trivial to identify that these text nodes are within an SVG (from the snapshot). So our choices here are limited.
I am having a similar issue... Is there a way to tell lighthouse that the text-size is okay for a specific element? Or have it ignore inline-svg?
Provide the steps to reproduce
What is the current behavior?
It says that my font is to small (0.667px, SEO section) which is the set size in the svg, but the svg scales to be much larger.
What is the expected behavior?
It says nothing.
Environment Information
Related issues