|
|
Implement the ::backdrop pseudo-element for modal <dialog>.
The Fullscreen spec defines ::backdrop, a pseudo-element rendered
immediately beneath top layer elements. This enables the grayed-out
screen effect, for example.
This commit implements ::backdrop for modal dialogs, which are the
currently the only residents of the top layer. The plan is for
fullscreen elements to also use the top layer, so they will use
::backdrop as well.
BUG= 253909
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=153612
Total comments: 8
Total comments: 2
Total comments: 8
Total comments: 11
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+584 lines, -15 lines) |
Patch |
 |
A |
LayoutTests/dialog/backdrop-descendant-selector.html
|
View
|
1
2
3
4
5
|
1 chunk |
+52 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/dialog/backdrop-descendant-selector-expected.html
|
View
|
1
2
3
4
5
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/dialog/backdrop-does-not-inherit.html
|
View
|
|
1 chunk |
+27 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/dialog/backdrop-does-not-inherit-expected.html
|
View
|
|
1 chunk |
+16 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/dialog/backdrop-in-flow.html
|
View
|
|
1 chunk |
+36 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/dialog/backdrop-in-flow-expected.html
|
View
|
|
1 chunk |
+16 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/dialog/backdrop-stacking-order.html
|
View
|
|
1 chunk |
+78 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/dialog/backdrop-stacking-order-expected.html
|
View
|
|
1 chunk |
+65 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/dialog/dialogs-with-no-backdrop.html
|
View
|
1
2
3
|
1 chunk |
+38 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/dialog/dialogs-with-no-backdrop-expected.html
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/dialog/modal-dialog-backdrop.html
|
View
|
|
1 chunk |
+30 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/dialog/modal-dialog-backdrop-expected.html
|
View
|
|
1 chunk |
+38 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/dialog/modal-dialog-generated-content.html
|
View
|
|
1 chunk |
+56 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/dialog/modal-dialog-generated-content-expected.html
|
View
|
|
1 chunk |
+42 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSSelector.h
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSSelector.cpp
|
View
|
1
2
|
4 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/PseudoStyleRequest.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/resolver/StyleResolver.cpp
|
View
|
1
2
3
4
5
6
7
8
9
|
4 chunks |
+11 lines, -4 lines |
0 comments
|
Download
|
 |
M |
Source/core/dom/Document.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/dom/Document.cpp
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+9 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/dom/Element.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
|
6 chunks |
+13 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/dom/ElementRareData.h
|
View
|
1
2
3
4
5
6
7
8
|
5 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/dom/ElementRareData.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/dom/PseudoElement.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/dom/PseudoElement.cpp
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderTheme.cpp
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/style/RenderStyle.h
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/style/RenderStyleConstants.h
|
View
|
1
2
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
Total messages: 16 (0 generated)
|