Remove outdated TODOs (flutter/engine#9114)

This commit is contained in:
Gary Qian
2019-05-28 17:06:57 -07:00
committed by GitHub
parent 29bba5ab9f
commit f0de8cc15e
2 changed files with 0 additions and 22 deletions

View File

@@ -56,8 +56,6 @@ class Paragraph {
enum Affinity { UPSTREAM, DOWNSTREAM };
// TODO(garyq): Implement kIncludeLineSpacing and kExtendEndOfLine
// Options for various types of bounding boxes provided by
// GetRectsForRange(...).
enum class RectHeightStyle {

View File

@@ -3138,11 +3138,6 @@ TEST_F(ParagraphTest, FontFallbackParagraph) {
0);
}
// Disabled due to Skia depending on platform to get metrics, which
// results in presubmit runs to have different values.
//
// TODO(garyq): Re-enable strut tests, allow font metric fakery, or
// consolidate skia font metric behavior.
TEST_F(ParagraphTest, DISABLE_ON_WINDOWS(StrutParagraph1)) {
// The chinese extra height should be absorbed by the strut.
const char* text = "01234満毎冠p来É本可\nabcd\n満毎É行p昼本可";
@@ -3271,11 +3266,6 @@ TEST_F(ParagraphTest, DISABLE_ON_WINDOWS(StrutParagraph1)) {
ASSERT_TRUE(Snapshot());
}
// Disabled due to Skia depending on platform to get metrics, which
// results in presubmit runs to have different values.
//
// TODO(garyq): Re-enable strut tests, allow font metric fakery, or
// consolidate skia font metric behavior.
TEST_F(ParagraphTest, DISABLE_ON_WINDOWS(StrutParagraph2)) {
// This string is all one size and smaller than the strut metrics.
const char* text = "01234ABCDEFGH\nabcd\nABCDEFGH";
@@ -3400,11 +3390,6 @@ TEST_F(ParagraphTest, DISABLE_ON_WINDOWS(StrutParagraph2)) {
ASSERT_TRUE(Snapshot());
}
// Disabled due to Skia depending on platform to get metrics, which
// results in presubmit runs to have different values.
//
// TODO(garyq): Re-enable strut tests, allow font metric fakery, or
// consolidate skia font metric behavior.
TEST_F(ParagraphTest, DISABLE_ON_WINDOWS(StrutParagraph3)) {
// The strut is too small to absorb the extra chinese height, but the english
// second line height is increased due to strut.
@@ -3530,11 +3515,6 @@ TEST_F(ParagraphTest, DISABLE_ON_WINDOWS(StrutParagraph3)) {
ASSERT_TRUE(Snapshot());
}
// Disabled due to Skia depending on platform to get metrics, which
// results in presubmit runs to have different values.
//
// TODO(garyq): Re-enable strut tests, allow font metric fakery, or
// consolidate skia font metric behavior.
TEST_F(ParagraphTest, DISABLE_ON_WINDOWS(StrutForceParagraph)) {
// The strut is too small to absorb the extra chinese height, but the english
// second line height is increased due to strut.