Commit 3ea8139a authored by Kent Tamura's avatar Kent Tamura Committed by Commit Bot

Enable LayoutNG for <input type=color>

This CL should have no behavior changes.

Bug: 1040826
Change-Id: Iac5efeac96ddf437e3aa389c0669b0e19b131894
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2002268
Commit-Queue: Koji Ishii <kojii@chromium.org>
Reviewed-by: default avatarKoji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#732241}
parent a662862e
......@@ -275,4 +275,8 @@ ColorChooserClient* ColorInputType::GetColorChooserClient() {
return this;
}
bool ColorInputType::TypeShouldForceLegacyLayout() const {
return false;
}
} // namespace blink
......@@ -77,6 +77,7 @@ class ColorInputType final : public InputType,
void WarnIfValueIsInvalid(const String&) const override;
void UpdateView() override;
AXObject* PopupRootAXObject() override;
bool TypeShouldForceLegacyLayout() const override;
Color ValueAsColor() const;
void EndColorChooser();
......
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