Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Unified Diff: third_party/WebKit/LayoutTests/editing/composition-marker-basic.html

Issue 2906953002: [DMC #26] Add CompositionMarker::Thickness enum (Closed)
Patch Set: Rebase Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/editing/composition-marker-split.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/editing/composition-marker-basic.html
diff --git a/third_party/WebKit/LayoutTests/editing/composition-marker-basic.html b/third_party/WebKit/LayoutTests/editing/composition-marker-basic.html
index ec202974265265c65856a004e9da3581984c2445..16ee187f2a7ae866f9759750eeb903f8539b8a29 100644
--- a/third_party/WebKit/LayoutTests/editing/composition-marker-basic.html
+++ b/third_party/WebKit/LayoutTests/editing/composition-marker-basic.html
@@ -36,7 +36,7 @@ function highlightRange(elem, start, end, underlineColor, thick, backgroundColor
};
function highlightRangeSimple(elem, start, end) {
- highlightRange(elem, start, end, 'orange', false, 'lightBlue');
+ highlightRange(elem, start, end, 'orange', 'thin', 'lightBlue');
};
function highlightAcrossNodes(startNode, start, endNode, end) {
@@ -44,13 +44,13 @@ function highlightAcrossNodes(startNode, start, endNode, end) {
range.setStart(startNode, start);
range.setEnd(endNode, end);
if (typeof internals !== 'undefined')
- internals.addCompositionMarker(range, 'orange', false, 'lightBlue');
+ internals.addCompositionMarker(range, 'orange', 'thin', 'lightBlue');
};
onload = runAfterLayoutAndPaint(function() {
highlightRangeSimple(markAll, 0, 6);
- highlightRange(markAllThick, 0, 6, 'orange', true, 'lightBlue');
- highlightRange(markAllDifferentColors, 0, 6, 'purple', true, 'lightYellow');
+ highlightRange(markAllThick, 0, 6, 'orange', 'thick', 'lightBlue');
+ highlightRange(markAllDifferentColors, 0, 6, 'purple', 'thick', 'lightYellow');
highlightRangeSimple(markBeginning, 0, 3);
highlightRangeSimple(markAllExceptFirstAndLast, 1, 5);
highlightRangeSimple(markEnd, 3, 6);
@@ -58,7 +58,7 @@ onload = runAfterLayoutAndPaint(function() {
highlightRangeSimple(markNothingEnd, 6, 6);
highlightRangeSimple(markRtlAll, 0, 6);
- highlightRange(markRtlAllThick, 0, 6, 'orange', true, 'lightBlue');
+ highlightRange(markRtlAllThick, 0, 6, 'orange', 'thick', 'lightBlue');
highlightRangeSimple(markRtlBeginning, 0, 3);
highlightRangeSimple(markRtlAllExceptFirstAndLast, 1, 5);
highlightRangeSimple(markRtlEnd, 3, 6);
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/editing/composition-marker-split.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698