Commit 18897fea authored by Kent Tamura's avatar Kent Tamura Committed by Commit Bot

TextControl NG: Make LayoutNGTextField flag 'test' state

This CL does not affect production.

Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_layout_ng_disabled
Bug: 1040826
Change-Id: I2d72e0fccd34385846caa7cba8a5c4aee7fbbccc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2462900
Commit-Queue: Koji Ishii <kojii@chromium.org>
Auto-Submit: Kent Tamura <tkent@chromium.org>
Reviewed-by: default avatarKoji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#821588}
parent 5166f530
...@@ -1069,6 +1069,7 @@ ...@@ -1069,6 +1069,7 @@
{ {
name: "LayoutNGTextField", name: "LayoutNGTextField",
depends_on: ["EditingNG"], depends_on: ["EditingNG"],
status: "test",
}, },
{ {
name: "LayoutNGWebkitBox", name: "LayoutNGWebkitBox",
......
...@@ -1181,6 +1181,19 @@ crbug.com/1121942 virtual/layout_ng_printing/printing/webgl-oversized-printing.h ...@@ -1181,6 +1181,19 @@ crbug.com/1121942 virtual/layout_ng_printing/printing/webgl-oversized-printing.h
### Textarea NG ### Textarea NG
crbug.com/1140307 accessibility/inline-text-textarea.html [ Failure ] crbug.com/1140307 accessibility/inline-text-textarea.html [ Failure ]
### Textfield NG
crbug.com/1040826 external/wpt/css/css-pseudo/first-line-and-placeholder.html [ Failure ]
crbug.com/1040826 fast/events/mouse-relative-position.html [ Failure ]
crbug.com/1040826 fast/forms/input-in-table-cell-no-value.html [ Failure ]
crbug.com/1040826 fast/forms/placeholder-position.html [ Failure ]
crbug.com/1040826 [ Linux ] fast/forms/text/input-placeholder-paint-order.html [ Failure ]
crbug.com/1040826 [ Win ] fast/forms/text/input-placeholder-paint-order.html [ Failure ]
crbug.com/1040826 [ Linux ] fast/forms/text/text-font-height-mismatch.html [ Failure ]
crbug.com/1040826 [ Win ] fast/forms/text/text-font-height-mismatch.html [ Failure ]
crbug.com/1040826 [ Linux ] fast/selectors/input-with-selection-pseudo-element.html [ Failure ]
crbug.com/1040826 [ Win ] fast/selectors/input-with-selection-pseudo-element.html [ Failure ]
crbug.com/1040826 fast/table/cell-change-baseline-then-border.html [ Failure ]
# ====== LayoutNG-only failures until here ====== # ====== LayoutNG-only failures until here ======
# ====== MathMLCore-only tests from here ====== # ====== MathMLCore-only tests from here ======
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
"contentsOpaque": true, "contentsOpaque": true,
"backgroundColor": "#FFFFFF", "backgroundColor": "#FFFFFF",
"invalidations": [ "invalidations": [
[401, 11, 1, 16], [402, 11, 1, 16],
[398, 11, 1, 16] [399, 11, 1, 16]
] ]
} }
] ]
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
"backgroundColor": "#FFFFFF" "backgroundColor": "#FFFFFF"
}, },
{ {
"name": "LayoutTextControl INPUT id='root'", "name": "LayoutNGTextControlSingleLine INPUT id='root'",
"position": [-2, -2], "position": [-2, -2],
"bounds": [69, 26], "bounds": [69, 26],
"backgroundColor": "#FFFFFF", "backgroundColor": "#FFFFFF",
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
"backgroundColor": "#FFFFFF" "backgroundColor": "#FFFFFF"
}, },
{ {
"name": "LayoutTextControl INPUT id='root'", "name": "LayoutNGTextControlSingleLine INPUT id='root'",
"position": [-2, -2], "position": [-2, -2],
"bounds": [69, 26], "bounds": [69, 26],
"backgroundColor": "#FFFFFF", "backgroundColor": "#FFFFFF",
......
{
"layers": [
{
"name": "Scrolling Contents Layer",
"bounds": [800, 600],
"contentsOpaque": true,
"backgroundColor": "#FFFFFF",
"invalidations": [
[401, 11, 1, 16],
[398, 11, 1, 16]
]
}
]
}
...@@ -188,7 +188,7 @@ input{ ...@@ -188,7 +188,7 @@ input{
"isKeyboardFocusable": true, "isKeyboardFocusable": true,
"accessibleName": "", "accessibleName": "",
"accessibleRole": "textbox", "accessibleRole": "textbox",
"layoutObjectName": "LayoutTextControl", "layoutObjectName": "LayoutNGTextControlSingleLine",
"showAccessibilityInfo": true "showAccessibilityInfo": true
} }
} }
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
"contentsOpaque": true, "contentsOpaque": true,
"backgroundColor": "#FFFFFF", "backgroundColor": "#FFFFFF",
"invalidations": [ "invalidations": [
[401, 11, 1, 16], [402, 11, 1, 16],
[398, 11, 1, 16] [399, 11, 1, 16]
] ]
} }
] ]
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
"backgroundColor": "#FFFFFF" "backgroundColor": "#FFFFFF"
}, },
{ {
"name": "LayoutTextControl INPUT id='root'", "name": "LayoutNGTextControlSingleLine INPUT id='root'",
"position": [-2, -2], "position": [-2, -2],
"bounds": [69, 26], "bounds": [69, 26],
"backgroundColor": "#FFFFFF", "backgroundColor": "#FFFFFF",
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
"backgroundColor": "#FFFFFF" "backgroundColor": "#FFFFFF"
}, },
{ {
"name": "LayoutTextControl INPUT id='root'", "name": "LayoutNGTextControlSingleLine INPUT id='root'",
"position": [-2, -2], "position": [-2, -2],
"bounds": [69, 26], "bounds": [69, 26],
"backgroundColor": "#FFFFFF", "backgroundColor": "#FFFFFF",
......
This test verifies a11y attributes for a node.
button{
"paths": [
{
"path": [
"M",
16,
11,
"L",
41.921875,
11,
"L",
41.921875,
26,
"L",
16,
26,
"Z"
],
"fillColor": "rgba(255, 0, 0, 0)",
"outlineColor": "rgba(128, 0, 0, 0)",
"name": "content"
},
{
"path": [
"M",
10,
10,
"L",
47.921875,
10,
"L",
47.921875,
27,
"L",
10,
27,
"Z"
],
"fillColor": "rgba(0, 255, 0, 0)",
"name": "padding"
},
{
"path": [
"M",
8,
8,
"L",
49.921875,
8,
"L",
49.921875,
29,
"L",
8,
29,
"Z"
],
"fillColor": "rgba(0, 0, 255, 0)",
"name": "border"
},
{
"path": [
"M",
8,
8,
"L",
49.921875,
8,
"L",
49.921875,
29,
"L",
8,
29,
"Z"
],
"fillColor": "rgba(255, 255, 255, 0)",
"name": "margin"
}
],
"showRulers": true,
"showExtensionLines": true,
"showAccessibilityInfo": true,
"colorFormat": "hex",
"elementInfo": {
"tagName": "button",
"idValue": "button",
"nodeWidth": "41.9219",
"nodeHeight": "21",
"isKeyboardFocusable": true,
"accessibleName": "click",
"accessibleRole": "button",
"layoutObjectName": "LayoutNGButton",
"showAccessibilityInfo": true
}
}
input{
"paths": [
{
"path": [
"M",
57.921875,
11,
"L",
202.921875,
11,
"L",
202.921875,
26,
"L",
57.921875,
26,
"Z"
],
"fillColor": "rgba(255, 0, 0, 0)",
"outlineColor": "rgba(128, 0, 0, 0)",
"name": "content"
},
{
"path": [
"M",
55.921875,
10,
"L",
204.921875,
10,
"L",
204.921875,
27,
"L",
55.921875,
27,
"Z"
],
"fillColor": "rgba(0, 255, 0, 0)",
"name": "padding"
},
{
"path": [
"M",
53.921875,
8,
"L",
206.921875,
8,
"L",
206.921875,
29,
"L",
53.921875,
29,
"Z"
],
"fillColor": "rgba(0, 0, 255, 0)",
"name": "border"
},
{
"path": [
"M",
53.921875,
8,
"L",
206.921875,
8,
"L",
206.921875,
29,
"L",
53.921875,
29,
"Z"
],
"fillColor": "rgba(255, 255, 255, 0)",
"name": "margin"
}
],
"showRulers": true,
"showExtensionLines": true,
"showAccessibilityInfo": true,
"colorFormat": "hex",
"elementInfo": {
"tagName": "input",
"idValue": "input",
"nodeWidth": "153",
"nodeHeight": "21",
"isKeyboardFocusable": true,
"accessibleName": "",
"accessibleRole": "textbox",
"layoutObjectName": "LayoutTextControl",
"showAccessibilityInfo": true
}
}
div{
"paths": [
{
"path": [
"M",
8,
29,
"L",
792,
29,
"L",
792,
47,
"L",
8,
47,
"Z"
],
"fillColor": "rgba(255, 0, 0, 0)",
"outlineColor": "rgba(128, 0, 0, 0)",
"name": "content"
},
{
"path": [
"M",
8,
29,
"L",
792,
29,
"L",
792,
47,
"L",
8,
47,
"Z"
],
"fillColor": "rgba(0, 255, 0, 0)",
"name": "padding"
},
{
"path": [
"M",
8,
29,
"L",
792,
29,
"L",
792,
47,
"L",
8,
47,
"Z"
],
"fillColor": "rgba(0, 0, 255, 0)",
"name": "border"
},
{
"path": [
"M",
8,
29,
"L",
792,
29,
"L",
792,
47,
"L",
8,
47,
"Z"
],
"fillColor": "rgba(255, 255, 255, 0)",
"name": "margin"
}
],
"showRulers": true,
"showExtensionLines": true,
"showAccessibilityInfo": true,
"colorFormat": "hex",
"elementInfo": {
"tagName": "div",
"idValue": "div",
"nodeWidth": "784",
"nodeHeight": "18",
"isKeyboardFocusable": true,
"accessibleName": "click",
"accessibleRole": "button",
"layoutObjectName": "LayoutNGBlockFlow",
"showAccessibilityInfo": true
}
}
{
"layers": [
{
"name": "Scrolling Contents Layer",
"bounds": [800, 600],
"contentsOpaque": true,
"backgroundColor": "#FFFFFF",
"invalidations": [
[408, 11, 2, 15],
[405, 11, 2, 15]
]
}
]
}
{
"layers": [
{
"name": "Scrolling Contents Layer",
"bounds": [800, 600],
"contentsOpaque": true,
"backgroundColor": "#FFFFFF"
},
{
"name": "LayoutTextControl INPUT id='root'",
"position": [-2, -2],
"bounds": [52, 25],
"backgroundColor": "#FFFFFF",
"invalidations": [
[0, 0, 52, 25]
],
"transform": 1
}
],
"transforms": [
{
"id": 1,
"transform": [
[1, 0, 0, 0],
[0, 1, 0, 0],
[0, 0, 1, 0],
[8, 8, 0, 1]
]
}
]
}
{
"layers": [
{
"name": "Scrolling Contents Layer",
"bounds": [800, 600],
"contentsOpaque": true,
"backgroundColor": "#FFFFFF"
},
{
"name": "LayoutTextControl INPUT id='root'",
"position": [-2, -2],
"bounds": [52, 25],
"backgroundColor": "#FFFFFF",
"invalidations": [
[0, 0, 52, 25]
],
"transform": 1
}
],
"transforms": [
{
"id": 1,
"transform": [
[1, 0, 0, 0],
[0, 1, 0, 0],
[0, 0, 1, 0],
[8, 8, 0, 1]
]
}
]
}
...@@ -188,7 +188,7 @@ input{ ...@@ -188,7 +188,7 @@ input{
"isKeyboardFocusable": true, "isKeyboardFocusable": true,
"accessibleName": "", "accessibleName": "",
"accessibleRole": "textbox", "accessibleRole": "textbox",
"layoutObjectName": "LayoutTextControl", "layoutObjectName": "LayoutNGTextControlSingleLine",
"showAccessibilityInfo": true "showAccessibilityInfo": true
} }
} }
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
"contentsOpaque": true, "contentsOpaque": true,
"backgroundColor": "#FFFFFF", "backgroundColor": "#FFFFFF",
"invalidations": [ "invalidations": [
[408, 11, 2, 15], [409, 11, 2, 15],
[405, 11, 2, 15] [406, 11, 2, 15]
] ]
} }
] ]
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
"backgroundColor": "#FFFFFF" "backgroundColor": "#FFFFFF"
}, },
{ {
"name": "LayoutTextControl INPUT id='root'", "name": "LayoutNGTextControlSingleLine INPUT id='root'",
"position": [-2, -2], "position": [-2, -2],
"bounds": [52, 25], "bounds": [52, 25],
"backgroundColor": "#FFFFFF", "backgroundColor": "#FFFFFF",
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
"backgroundColor": "#FFFFFF" "backgroundColor": "#FFFFFF"
}, },
{ {
"name": "LayoutTextControl INPUT id='root'", "name": "LayoutNGTextControlSingleLine INPUT id='root'",
"position": [-2, -2], "position": [-2, -2],
"bounds": [52, 25], "bounds": [52, 25],
"backgroundColor": "#FFFFFF", "backgroundColor": "#FFFFFF",
......
...@@ -188,7 +188,7 @@ input{ ...@@ -188,7 +188,7 @@ input{
"isKeyboardFocusable": true, "isKeyboardFocusable": true,
"accessibleName": "", "accessibleName": "",
"accessibleRole": "textbox", "accessibleRole": "textbox",
"layoutObjectName": "LayoutTextControl", "layoutObjectName": "LayoutNGTextControlSingleLine",
"showAccessibilityInfo": true "showAccessibilityInfo": true
} }
} }
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
"contentsOpaque": true, "contentsOpaque": true,
"backgroundColor": "#FFFFFF", "backgroundColor": "#FFFFFF",
"invalidations": [ "invalidations": [
[383, 11, 1, 16], [384, 11, 1, 16],
[380, 11, 1, 16] [381, 11, 1, 16]
] ]
} }
] ]
......
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