layout: fix corrupted unicode in comments, no code change

This commit is contained in:
roytam1 2024-06-11 10:40:21 +08:00
commit 36bc963804
2 changed files with 5 additions and 5 deletions

View file

@ -9241,12 +9241,12 @@ ComputeSVGReferenceRect(nsIFrame* aFrame,
MOZ_ASSERT(svgElement);
if (svgElement && svgElement->HasViewBoxRect()) {
// If a viewBox attribute is specified for the SVG viewport creating
// If a 'viewBox' attribute is specified for the SVG viewport creating
// element:
// 1. The reference box is positioned at the origin of the coordinate
// system established by the viewBox attribute.
// system established by the 'viewBox' attribute.
// 2. The dimension of the reference box is set to the width and height
// values of the viewBox attribute.
// values of the 'viewBox' attribute.
nsSVGViewBox* viewBox = svgElement->GetViewBox();
const nsSVGViewBoxRect& value = viewBox->GetAnimValue();
r = nsRect(nsPresContext::CSSPixelsToAppUnits(value.x),