|
Update <select> when any of its <option>/<optgroup> children have "display: none"
The <select> element does not ignore the <option>/<optgroup> children that have "display:none". Conseqently, these children are displayed on the list. Code has been added to detect the change in display property and also to drop <option>/<optgroup> children whenever required.
BUG= 81415
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=171457
Total comments: 12
Total comments: 8
Total comments: 8
Total comments: 9
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+381 lines, -38 lines) |
Patch |
|
M |
LayoutTests/TestExpectations
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/forms/select/listbox-with-display-none-option.html
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+89 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/forms/select/listbox-with-display-none-option-expected.png
|
View
|
1
2
3
4
5
6
7
8
9
|
Binary file |
0 comments
|
Download
|
|
A |
LayoutTests/fast/forms/select/listbox-with-display-none-option-expected.txt
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+27 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/forms/select/select-with-display-none-options.html
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+90 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/forms/select/select-with-display-none-options-expected.txt
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+19 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLOptGroupElement.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLOptGroupElement.cpp
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+11 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLOptionElement.h
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLOptionElement.cpp
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+17 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLSelectElement.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLSelectElement.cpp
|
View
|
1
2
3
4
5
6
7
8
|
4 chunks |
+13 lines, -6 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/RenderListBox.h
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+10 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/RenderListBox.cpp
|
View
|
1
2
3
4
5
6
7
|
19 chunks |
+98 lines, -29 lines |
0 comments
|
Download
|
Total messages: 54 (0 generated)
|