From 36bc963804f3f5cd2df14603e9b9543570e0e07a Mon Sep 17 00:00:00 2001 From: roytam1 Date: Tue, 11 Jun 2024 10:40:21 +0800 Subject: [PATCH] layout: fix corrupted unicode in comments, no code change --- layout/base/nsLayoutUtils.cpp | 6 +++--- layout/generic/nsGridContainerFrame.cpp | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/layout/base/nsLayoutUtils.cpp b/layout/base/nsLayoutUtils.cpp index fb7390753d..de2d3a44b2 100644 --- a/layout/base/nsLayoutUtils.cpp +++ b/layout/base/nsLayoutUtils.cpp @@ -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), diff --git a/layout/generic/nsGridContainerFrame.cpp b/layout/generic/nsGridContainerFrame.cpp index 1e1afac234..d7dc9a65dc 100644 --- a/layout/generic/nsGridContainerFrame.cpp +++ b/layout/generic/nsGridContainerFrame.cpp @@ -4848,8 +4848,8 @@ nsGridContainerFrame::Tracks::StretchFlexibleTracks( applyMinMax = false; // https://drafts.csswg.org/css-grid/#algo-flex-tracks // "If using this flex fraction would cause the grid to be smaller than - // the grid container’s min-width/height (or larger than the grid - // container’s max-width/height), then redo this step, treating the free + // the grid container's min-width/height (or larger than the grid + // container's max-width/height), then redo this step, treating the free // space as definite [...]" nscoord newSize = 0; for (auto& sz : mSizes) {