Home | History | Annotate | Download | only in gfx

Lines Matching refs:styles

91   // Check the default styles applied to new instances and adjusted text.
98 EXPECT_TRUE(render_text->styles()[style].EqualsValueForTesting(false));
104 // Ensure custom default styles persist across setting and clearing text.
113 EXPECT_TRUE(render_text->styles()[BOLD].EqualsValueForTesting(true));
114 EXPECT_TRUE(render_text->styles()[UNDERLINE].EqualsValueForTesting(false));
117 // Ensure custom default styles can be applied after text has been set.
121 EXPECT_TRUE(render_text->styles()[STRIKE].EqualsValueForTesting(true));
141 EXPECT_TRUE(render_text->styles()[BOLD].EqualsForTesting(expected_style));
143 // Ensure setting a color and style overrides the ranged colors and styles.
147 EXPECT_TRUE(render_text->styles()[BOLD].EqualsValueForTesting(false));
160 EXPECT_TRUE(render_text->styles()[BOLD].EqualsForTesting(expected_style_end));
172 EXPECT_TRUE(render_text->styles()[ITALIC].EqualsForTesting(expected_italic));
177 EXPECT_TRUE(render_text->styles()[ITALIC].EqualsForTesting(expected_italic));
180 EXPECT_TRUE(render_text->styles()[ITALIC].EqualsForTesting(expected_italic));
184 EXPECT_TRUE(render_text->styles()[ITALIC].EqualsForTesting(expected_italic));
187 EXPECT_TRUE(render_text->styles()[ITALIC].EqualsForTesting(expected_italic));
192 // Styles shouldn't be changed mid-grapheme.
200 EXPECT_TRUE(render_text->styles()[UNDERLINE].EqualsForTesting(
210 // Apply ranged BOLD/ITALIC styles and check the resulting Pango attributes.
423 // - RenderText styles.