Skip to content

Commit 9a0dc5a

Browse files
committed
perf(css): remove verbose background-position logging
1 parent 5d0d98e commit 9a0dc5a

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

webf/lib/src/css/values/position.dart

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,22 +69,19 @@ class CSSPosition {
6969
if (_isVertKW(a) && _isHorizKW(b)) {
7070
final List<String> swapped = <String>[b, a];
7171
_cachedParsedPosition[input] = swapped;
72-
cssLogger.finer('[CSSPosition] Parsed background-position "$input" => x="${swapped[0]}", y="${swapped[1]}"');
7372
return swapped;
7473
}
7574
}
7675
// Horizontal keyword followed by numeric => x=keyword, y=numeric.
7776
if (_isHorizKW(a) && _looksNumeric(b)) {
7877
final List<String> pair = <String>[a, b];
7978
_cachedParsedPosition[input] = pair;
80-
cssLogger.finer('[CSSPosition] Parsed background-position "$input" => x="${pair[0]}", y="${pair[1]}"');
8179
return pair;
8280
}
8381
// Numeric followed by vertical keyword => x=numeric, y=keyword.
8482
if (_looksNumeric(a) && _isVertKW(b)) {
8583
final List<String> pair = <String>[a, b];
8684
_cachedParsedPosition[input] = pair;
87-
cssLogger.finer('[CSSPosition] Parsed background-position "$input" => x="${pair[0]}", y="${pair[1]}"');
8885
return pair;
8986
}
9087
}
@@ -179,7 +176,6 @@ class CSSPosition {
179176
final List<String> result = <String>[xValue, yValue];
180177
_cachedParsedPosition[input] = result;
181178

182-
cssLogger.finer('[CSSPosition] Parsed background-position "$input" => x="$xValue", y="$yValue"');
183179
return result;
184180
}
185181

0 commit comments

Comments
 (0)