mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-03 14:28:39 +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);
|
||||
|
||||
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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue