I'd also suggest: "when resolving media queries when printing a webpage" -> "when resolving media queries while printing a webpage"