| Index: third_party/WebKit/LayoutTests/fast/dom/inert/inert-does-not-match-disabled-selector.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/inert-does-not-match-disabled-selector.html b/third_party/WebKit/LayoutTests/fast/dom/inert/inert-does-not-match-disabled-selector.html
|
| similarity index 65%
|
| copy from third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/inert-does-not-match-disabled-selector.html
|
| copy to third_party/WebKit/LayoutTests/fast/dom/inert/inert-does-not-match-disabled-selector.html
|
| index fd22bfa9f34bad67fad140fda91b606b16bba76f..9fb9800f7c3a1e209bf2d30d18647677d4f1879d 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/inert-does-not-match-disabled-selector.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/dom/inert/inert-does-not-match-disabled-selector.html
|
| @@ -11,19 +11,13 @@ button:disabled {
|
| color: red;
|
| }
|
|
|
| -.trigger-style-recalc {
|
| - /* No change, we just need a new style recalculation. */
|
| -}
|
| </style>
|
| </head>
|
| <body style="color: green">
|
| -<button>The test passes if this is in green.</button>
|
| -<dialog></dialog>
|
| +<button inert>The test passes if this is in green.</button>
|
| <script>
|
| description('Tests that inert elements do not match the :disabled selector.');
|
| -document.querySelector('dialog').showModal();
|
| button = document.querySelector('button');
|
| -button.classList.add('trigger-style-recalc');
|
| color = document.defaultView.getComputedStyle(button).getPropertyValue('color');
|
| shouldBe('color', "'rgb(0, 128, 0)'");
|
| </script>
|
|
|