mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-25 00:27:29 +09:00
layout: fix corrupted unicode in comments, no code change
This commit is contained in:
parent
a30e0e7448
commit
36bc963804
2 changed files with 5 additions and 5 deletions
|
|
@ -9241,12 +9241,12 @@ ComputeSVGReferenceRect(nsIFrame* aFrame,
|
||||||
MOZ_ASSERT(svgElement);
|
MOZ_ASSERT(svgElement);
|
||||||
|
|
||||||
if (svgElement && svgElement->HasViewBoxRect()) {
|
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:
|
// element:
|
||||||
// 1. The reference box is positioned at the origin of the coordinate
|
// 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
|
// 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();
|
nsSVGViewBox* viewBox = svgElement->GetViewBox();
|
||||||
const nsSVGViewBoxRect& value = viewBox->GetAnimValue();
|
const nsSVGViewBoxRect& value = viewBox->GetAnimValue();
|
||||||
r = nsRect(nsPresContext::CSSPixelsToAppUnits(value.x),
|
r = nsRect(nsPresContext::CSSPixelsToAppUnits(value.x),
|
||||||
|
|
|
||||||
|
|
@ -4848,8 +4848,8 @@ nsGridContainerFrame::Tracks::StretchFlexibleTracks(
|
||||||
applyMinMax = false;
|
applyMinMax = false;
|
||||||
// https://drafts.csswg.org/css-grid/#algo-flex-tracks
|
// https://drafts.csswg.org/css-grid/#algo-flex-tracks
|
||||||
// "If using this flex fraction would cause the grid to be smaller than
|
// "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
|
// the grid container's min-width/height (or larger than the grid
|
||||||
// container’s max-width/height), then redo this step, treating the free
|
// container's max-width/height), then redo this step, treating the free
|
||||||
// space as definite [...]"
|
// space as definite [...]"
|
||||||
nscoord newSize = 0;
|
nscoord newSize = 0;
|
||||||
for (auto& sz : mSizes) {
|
for (auto& sz : mSizes) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue