-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove createShadowRoot() from shadow-dom/resources/shadow-dom.js
This resource file affects many tests, most of which have changes to their expectations files simply removing the console warning about the usage of Shadow DOM v0. Other small related changes in this patchset: - Several tests in virtual/web-components-v0-disabled virtual suite have their expectations change to "working" because the corresponding non-virtual suite test no longer uses web components v0. Several still fail, just differently now. - One test (fast/dom/shadow/attr-dir-inherit.html) is moved to the web-components-v0-only folder, as it is very v0-specific, and because there are better WPT tests at [1]. [1] https://source.chromium.org/search?q=f:external%2Fwpt%20rtl%20shadow%20f:html$&sq=&ss=chromium Bug: 937746 Change-Id: I6936eaf982d30895055f7b618bc7f56c522da085 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2240140 Commit-Queue: Stephen Chenney <[email protected]> Reviewed-by: Stephen Chenney <[email protected]> Auto-Submit: Mason Freed <[email protected]> Cr-Original-Commit-Position: refs/heads/master@{#777196} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: d7aeb3b01a3965e69b6bcbbadecd235c2015695d
- Loading branch information
Showing
8 changed files
with
11 additions
and
22 deletions.
There are no files selected for viewing
1 change: 0 additions & 1 deletion
1
blink/web_tests/shadow-dom/range-caret-range-from-point-left-of-shadow-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 0 additions & 4 deletions
4
...web-components-v0-disabled/shadow-dom/crashes/focus-navigation-infinite-loop-expected.txt
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
blink/web_tests/virtual/web-components-v0-disabled/shadow-dom/link-title-expected.txt
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
...omponents-v0-disabled/shadow-dom/range-caret-range-from-point-left-of-shadow-expected.txt
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
..._tests/virtual/web-components-v0-disabled/shadow-dom/range-surround-contents-expected.txt
This file was deleted.
Oops, something went wrong.
9 changes: 9 additions & 0 deletions
9
blink/web_tests/web-components-v0-only/fast/dom-shadow/attr-dir-inherit-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
This is a testharness.js-based test. | ||
PASS dir=rtl inherits into shadow trees | ||
FAIL dir=rtl applies to the distributed content assert_equals: dir=rtl should be right-to-left expected "rgb(0, 128, 0)" but got "rgb(255, 0, 0)" | ||
FAIL dir=rtl applies to the distributed content (multiple levels) assert_equals: dir=rtl should be right-to-left expected "rgb(0, 128, 0)" but got "rgb(255, 0, 0)" | ||
PASS dir=auto the first character in the shadow trees | ||
FAIL dir=auto the first character in the distributed content assert_equals: Hebrew text should be right-to-left expected "rgb(0, 128, 0)" but got "rgb(255, 0, 0)" | ||
FAIL dir=auto the first character in the distributed content with multiple levels of shadow roots assert_equals: Hebrew text should be right-to-left expected "rgb(0, 128, 0)" but got "rgb(255, 0, 0)" | ||
Harness: the test ran to completion. | ||
|
File renamed without changes.