forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update-w3c-deps import using blink e98e996cf6dfab3af465bea33279df933a…
…764e9c: imported csswg-test@2f07c989b36abb566ecfa3a2bf8a2f9192f948d1 imported web-platform-tests@959f1218a7d7c9828cda903c5cd27e1b547431ae css-writing-modes: - Added parsing tests in upstream in preparation of unprefixing (all fail because we're not unprefixed yet.) - sideways-left (no support in any UA) was removed from the spec. Tests were also removed in upstream, so no longer need to SKIP. - Fixed descriptions in orthogonal-parent-shrink-to-fit-001* html/semantics: - Fixed interfaces.js (see whatwg/html#101) - 1 new FAIL in pseudo-classes/disabled.html [email protected],[email protected],[email protected],[email protected],[email protected] BUG=490511, 492664 Review URL: https://codereview.chromium.org/1358453003 git-svn-id: svn://svn.chromium.org/blink/trunk@202524 bbb929c8-8fbe-4397-9dbb-9b2b20218538
- Loading branch information
Showing
44 changed files
with
282 additions
and
91 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
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
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
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
12 changes: 12 additions & 0 deletions
12
...utTests/imported/csswg-test/css-writing-modes-3/text-orientation-parsing-001-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,12 @@ | ||
This is a testharness.js-based test. | ||
FAIL text-orientation initial value assert_equals: expected (string) "mixed" but got (undefined) undefined | ||
FAIL -webkit-text-orientation: upright assert_equals: expected (string) "upright" but got (undefined) undefined | ||
FAIL -webkit-text-orientation: sideways assert_equals: expected (string) "sideways" but got (undefined) undefined | ||
FAIL -webkit-text-orientation: sideways-right assert_equals: expected (string) "sideways-right" but got (undefined) undefined | ||
FAIL text-orientation should inherit assert_equals: expected (string) "upright" but got (undefined) undefined | ||
FAIL -webkit-text-orientation: mixed assert_equals: expected (string) "mixed" but got (undefined) undefined | ||
FAIL -webkit-text-orientation: initial assert_equals: expected (string) "mixed" but got (undefined) undefined | ||
FAIL -webkit-text-orientation: inherit assert_equals: expected (string) "upright" but got (undefined) undefined | ||
FAIL -webkit-text-orientation: foo assert_equals: expected (string) "upright" but got (undefined) undefined | ||
Harness: the test ran to completion. | ||
|
43 changes: 43 additions & 0 deletions
43
...Kit/LayoutTests/imported/csswg-test/css-writing-modes-3/text-orientation-parsing-001.html
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,43 @@ | ||
<!DOCTYPE html> | ||
<title>CSS Writing Modes: parsing text-orientation</title> | ||
<link rel="author" title="Koji Ishii" href="[email protected]"> | ||
<link rel="help" href="https://drafts.csswg.org/css-writing-modes-3/#text-orientation"> | ||
<meta name="assert" content="This test asserts the parser and getComputedStyle works correctly for the text-orientation property."> | ||
<meta name="flags" content="dom"> | ||
<script src="../../../resources/testharness.js"></script> | ||
<script src="../../../resources/testharnessreport.js"></script> | ||
|
||
<div | ||
data-expected="mixed" title="text-orientation initial value"></div> | ||
|
||
<div style="-webkit-text-orientation: upright" | ||
data-expected="upright"></div> | ||
<div style="-webkit-text-orientation: sideways" | ||
data-expected="sideways"></div> | ||
<div style="-webkit-text-orientation: sideways-right" | ||
data-expected="sideways-right"></div> | ||
|
||
<div style="-webkit-text-orientation: upright"> | ||
<div | ||
data-expected="upright" title="text-orientation should inherit"></div> | ||
|
||
<div style="-webkit-text-orientation: mixed" | ||
data-expected="mixed"></div> | ||
|
||
<div style="-webkit-text-orientation: initial" | ||
data-expected="mixed"></div> | ||
<div style="-webkit-text-orientation: inherit" | ||
data-expected="upright"></div> | ||
|
||
<div style="-webkit-text-orientation: foo" | ||
data-expected="upright"></div> | ||
</div> | ||
|
||
<script> | ||
Array.prototype.forEach.call(document.querySelectorAll("[data-expected]"), function (element) { | ||
test(function () { | ||
var actual = getComputedStyle(element).textOrientation; | ||
assert_equals(actual, element.dataset.expected); | ||
}, element.title || element.getAttribute("style")); | ||
}); | ||
</script> |
6 changes: 6 additions & 0 deletions
6
...LayoutTests/imported/csswg-test/css-writing-modes-3/unicode-bidi-parsing-002-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,6 @@ | ||
This is a testharness.js-based test. | ||
FAIL unicode-bidi: -webkit-isolate assert_equals: expected "isolate" but got "-webkit-isolate" | ||
FAIL unicode-bidi: -webkit-isolate-override assert_equals: expected "isolate-override" but got "-webkit-isolate-override" | ||
FAIL unicode-bidi: -webkit-plaintext assert_equals: expected "plaintext" but got "-webkit-plaintext" | ||
Harness: the test ran to completion. | ||
|
Oops, something went wrong.