|
|
Support author Shadow DOM for INPUT elements.
When the first author ShadowRoot is added to an input element, we need to
disable all of UI-specific behavior.
* Add Element::didAddShadowRoot callback, and HTMLInputElmeent::
didAddShadowRoot replaces m_inputTypeView with one which disables
UI-specific behavior, and re-attach a renderer.
* InputType::destroyShadowSubTree: We should not remove the content of
author ShadowRoots.
We don't need to take care of removal of author ShadowRoots. It never
happens.
BUG= 274205
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=157510
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+244 lines, -17 lines) |
Patch |
 |
M |
LayoutTests/fast/dom/shadow/shadow-disable.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/dom/shadow/shadow-disable-expected.txt
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/dom/shadow/shadow-element-inactive.html
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/dom/shadow/shadow-element-inactive-expected.txt
|
View
|
1
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/fast/dom/shadow/shadowdom-for-input-appearance.html
|
View
|
1
|
1 chunk |
+35 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/fast/dom/shadow/shadowdom-for-input-appearance-expected.html
|
View
|
1
|
1 chunk |
+35 lines, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/dom/shadow/shadowdom-for-input-button-click.html
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/fast/dom/shadow/shadowdom-for-input-checkbox.html
|
View
|
|
1 chunk |
+70 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/fast/dom/shadow/shadowdom-for-input-checkbox-expected.html
|
View
|
|
1 chunk |
+28 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/fast/dom/shadow/shadowdom-for-input-type-change.html
|
View
|
1
2
|
1 chunk |
+29 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/fast/dom/shadow/shadowdom-for-input-type-change-expected.txt
|
View
|
1
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/dom/Element.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/dom/Element.cpp
|
View
|
1
2
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/dom/shadow/ElementShadow.cpp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/html/HTMLInputElement.h
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/html/HTMLInputElement.cpp
|
View
|
1
2
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/html/HTMLTextAreaElement.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/html/HTMLTextFormControlElement.h
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
Source/core/html/InputType.cpp
|
View
|
1
|
1 chunk |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
Source/core/html/forms/InputTypeView.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/html/forms/InputTypeView.cpp
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
Total messages: 13 (0 generated)
|