From 7fa0816d8144c8dfe79c7d5795ef028950bf3b58 Mon Sep 17 00:00:00 2001 From: David Aurelio Date: Wed, 16 Jan 2019 08:39:57 -0800 Subject: [PATCH] Fix URLs to CSS spec in comments Summary: @public These URLs probably have been changed when CSSLayout was renamed to Yoga by search & replacing Reviewed By: SidharthGuglani Differential Revision: D13690829 fbshipit-source-id: 44dbd8fe256fc286006d164390609a7c3de6c4e6 --- yoga/Yoga.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yoga/Yoga.cpp b/yoga/Yoga.cpp index 0d11c7a3..0a049e6b 100644 --- a/yoga/Yoga.cpp +++ b/yoga/Yoga.cpp @@ -2336,7 +2336,7 @@ static void YGDistributeFreeSpaceFirstPass( // // This two pass approach for resolving min/max constraints deviates from // the spec. The -// spec (https://www.w3.org/TR/YG-flexbox-1/#resolve-flexible-lengths) +// spec (https://www.w3.org/TR/CSS-flexbox-1/#resolve-flexible-lengths) // describes a process // that needs to be repeated a variable number of times. The algorithm // implemented here @@ -2609,7 +2609,7 @@ static void YGJustifyMainAxis( // // This is the main routine that implements a subset of the flexbox layout // algorithm -// described in the W3C YG documentation: https://www.w3.org/TR/YG3-flexbox/. +// described in the W3C YG documentation: https://www.w3.org/TR/CSS3-flexbox/. // // Limitations of this algorithm, compared to the full standard: // * Display property is always assumed to be 'flex' except for Text nodes, @@ -2682,7 +2682,7 @@ static void YGJustifyMainAxis( // support default // minimum main sizes (see above for details). Each of our measure modes maps // to a layout mode -// from the spec (https://www.w3.org/TR/YG3-sizing/#terms): +// from the spec (https://www.w3.org/TR/CSS3-sizing/#terms): // - YGMeasureModeUndefined: max content // - YGMeasureModeExactly: fill available // - YGMeasureModeAtMost: fit content