Commit d9e465e7 authored by Mason Freed's avatar Mason Freed Committed by Commit Bot

Rebaseline Mac layout tests with FormControlsRefresh enabled (CL 1-1)

The [1] CL enabled the FormControlsRefresh feature by default for
Mac. (The [2] CL enabled it earlier for Windows, Linux, and ChromeOS.)
In the process, many layout tests were disabled, because the form
controls have a different appearance with the feature enabled. This is
one of several patches rebaselining those disabled tests.

[1] http://crrev.com/c/2063530
[2] http://crrev.com/c/1967608

Bug: 1053725
Change-Id: I9646f9ca58c173da884c3bcb52b39f39f3326dd1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2071739
Commit-Queue: Mason Freed <masonfreed@chromium.org>
Reviewed-by: default avatarStephen Chenney <schenney@chromium.org>
Cr-Commit-Position: refs/heads/master@{#744890}
parent e5728aef
This is a testharness.js-based test.
FAIL abspos button with auto width, non-auto left/right (rtl) assert_equals: offsetLeft expected 662 but got 100
PASS abspos button with auto width, non-auto left/right (ltr)
Harness: the test ran to completion.
{
"layers": [
{
"name": "Scrolling Contents Layer",
"bounds": [800, 600],
"contentsOpaque": true,
"backgroundColor": "#FFFFFF"
},
{
"name": "LayoutButton INPUT id='control' class='composited'",
"position": [-5, -4],
"bounds": [124, 28],
"backgroundColor": "#FFFFFF",
"transform": 1
}
],
"transforms": [
{
"id": 1,
"transform": [
[1, 0, 0, 0],
[0, 1, 0, 0],
[0, 0, 1, 0],
[8, 8, 0, 1]
]
}
]
}
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
layer at (0,0) size 800x600
LayoutView at (0,0) size 800x600
layer at (0,0) size 800x600
LayoutBlockFlow {HTML} at (0,0) size 800x600
LayoutBlockFlow {BODY} at (8,8) size 784x584
LayoutBlockFlow {P} at (0,0) size 784x36
LayoutText {#text} at (0,0) size 783x36
text run at (0,0) width 663: "This tests copying plain text with tabs and pasting it into an editable region using paste and match tyle. "
text run at (662,0) width 121: "The tabs should be"
text run at (0,18) width 67: "preserved."
LayoutBlockFlow (anonymous) at (0,52) size 784x32
LayoutText {#text} at (0,0) size 0x0
LayoutBlockFlow {DIV} at (0,84) size 784x18
LayoutText {#text} at (0,0) size 39x18
text run at (0,0) width 39: "Tab->"
LayoutInline {SPAN} at (38,0) size 26x18
LayoutText {#text} at (38,0) size 26x18
text run at (38,0) width 26: "\x{9}"
LayoutText {#text} at (64,0) size 39x18
text run at (64,0) width 39: "<-Tab"
layer at (8,60) size 141x32 clip at (9,61) size 139x30
LayoutTextControl {TEXTAREA} at (0,0) size 141x32 [bgcolor=#FFFFFF] [border: (1px solid #000000)]
LayoutBlockFlow {DIV} at (3,3) size 135x13
LayoutText {#text} at (0,0) size 79x13
text run at (0,0) width 79: "Tab->\x{9}<-Tab"
caret: position 5 of child 2 {#text} of child 4 {DIV} of body
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
layer at (0,0) size 800x600
LayoutView at (0,0) size 800x600
layer at (0,0) size 800x600
LayoutBlockFlow {HTML} at (0,0) size 800x600
LayoutBlockFlow {BODY} at (8,8) size 784x584
LayoutBlockFlow {P} at (0,0) size 784x36
LayoutText {#text} at (0,0) size 777x36
text run at (0,0) width 777: "This tests that when a selection that ends at [replaced element, 0] is painted, the replaced element doesn't appear selected."
text run at (0,18) width 329: "This test uses a select box for the replaced element."
LayoutBlockFlow {DIV} at (0,52) size 784x36
LayoutText {#text} at (0,0) size 23x18
text run at (0,0) width 23: "abc"
LayoutBR {BR} at (22,14) size 1x0
LayoutMenuList {SELECT} at (0,18) size 215x18 [bgcolor=#F8F8F8]
LayoutText {#text} at (0,0) size 0x0
layer at (16,78) size 184x18
LayoutBlockFlow {DIV} at (8,0) size 184x18
LayoutText {#text} at (0,2) size 184x13
text run at (0,2) width 184: "this select box shouldn't be selected"
selection start: position 1 of child 0 {#text} of child 3 {DIV} of body
selection end: position 1 of child 1 {BR} of child 3 {DIV} of body
This is a testharness.js-based test.
PASS Redispatching DOMContentLoaded event after being dispatched
FAIL Redispatching mouseup event whose default action dispatches a click event assert_true: mouseup and click events should've been fired expected true got false
PASS Redispatching event which is being dispatched
PASS Synthesizing click on button... (button width / height: 60.328125 / 18)
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL abspos button with auto width, non-auto left/right (rtl) assert_equals: offsetLeft expected 665 but got 100
PASS abspos button with auto width, non-auto left/right (ltr)
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL abspos button with auto width, non-auto left/right (rtl) assert_equals: offsetLeft expected 664 but got 100
PASS abspos button with auto width, non-auto left/right (ltr)
Harness: the test ran to completion.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment