Skip to content

Commit

Permalink
update-w3c-deps import using blink e98e996cf6dfab3af465bea33279df933a…
Browse files Browse the repository at this point in the history
…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
kojiishi committed Sep 18, 2015
1 parent 6afb74a commit 479dd32
Show file tree
Hide file tree
Showing 44 changed files with 282 additions and 91 deletions.
13 changes: 0 additions & 13 deletions third_party/WebKit/LayoutTests/W3CImportExpectations
Original file line number Diff line number Diff line change
Expand Up @@ -401,19 +401,6 @@ imported/csswg-test/css-writing-modes-3/block-flow-direction-018.xht [ Skip ]
imported/csswg-test/css-writing-modes-3/line-box-direction-015.xht [ Skip ]
imported/csswg-test/css-writing-modes-3/line-box-direction-016.xht [ Skip ]

# CSS Writing Modes Level 3: Following tests require sideways-left, which we do not plan to support.
imported/csswg-test/css-writing-modes-3/text-baseline-007.xht [ Skip ]
imported/csswg-test/css-writing-modes-3/text-baseline-010.xht [ Skip ]
imported/csswg-test/css-writing-modes-3/text-baseline-011.xht [ Skip ]
imported/csswg-test/css-writing-modes-3/text-orientation-013.xht [ Skip ]
imported/csswg-test/css-writing-modes-3/text-orientation-015.xht [ Skip ]
imported/csswg-test/css-writing-modes-3/text-orientation-sideways-002.xht [ Skip ]
imported/csswg-test/css-writing-modes-3/text-orientation-sideways-left-001.xht [ Skip ]
imported/csswg-test/css-writing-modes-3/inline-block-alignment-007.xht [ Skip ]
imported/csswg-test/css-writing-modes-3/inline-block-alignment-010.xht [ Skip ]
imported/csswg-test/css-writing-modes-3/inline-block-alignment-011.xht [ Skip ]


# CSS Writing Modes Level 3: Following tests require part of text-combine-upright we do not plan to support.
imported/csswg-test/css-writing-modes-3/full-width-001.html [ Skip ]
imported/csswg-test/css-writing-modes-3/full-width-002.html [ Skip ]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@
</style>
<div id="log"></div>
<div id="container">
<p>Test passes if the <b>left</b> edge of the orange box <b>touches</b> the <b>right</b> edge of the blue box.
There should be no spaces nor overlaps.
<p>The blue box must be <b>tall</b>, the height should be as twice as the width.
<p>Test passes if the X-position of the <b>left</b> edge of the orange box and the <b>right</b> edge of the blue box are the same.
<p>If script is enabled, there should be one or more PASS and no FAIL.
<h3>1: Shrink-to-fit inline-block with a child of orthogonal block</h3>
<div class="test">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@
</style>
<div id="log"></div>
<div id="container">
<p>Test passes if the <b>left</b> edge of the orange box <b>touches</b> the <b>right</b> edge of the blue box.
There should be no spaces nor overlaps.
<p>The blue box must be <b>tall</b>, the height should be as twice as the width.
<p>Test passes if the X-position of the <b>left</b> edge of the orange box and the <b>right</b> edge of the blue box are the same.
<p>If script is enabled, there should be one or more PASS and no FAIL.
<h3>1: Shrink-to-fit inline-block with a child of orthogonal block</h3>
<div class="test">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@
</style>
<div id="log"></div>
<div id="container">
<p>Test passes if the <b>left</b> edge of the orange box <b>touches</b> the <b>right</b> edge of the blue box.
There should be no spaces nor overlaps.
<p>The blue box must be <b>tall</b>, the height should be as twice as the width.
<p>Test passes if the X-position of the <b>left</b> edge of the orange box and the <b>right</b> edge of the blue box are the same.
<p>If script is enabled, there should be one or more PASS and no FAIL.
<h3>2: Shrink-to-fit inline-block with a child of orthogonal inline</h3>
<div class="test">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@
</style>
<div id="log"></div>
<div id="container">
<p>Test passes if the <b>left</b> edge of the orange box <b>touches</b> the <b>right</b> edge of the blue box.
There should be no spaces nor overlaps.
<p>The blue box must be <b>tall</b>, the height should be as twice as the width.
<p>Test passes if the X-position of the <b>left</b> edge of the orange box and the <b>right</b> edge of the blue box are the same.
<p>If script is enabled, there should be one or more PASS and no FAIL.
<h3>3: Shrink-to-fit inline-block with a child of orthogonal block with borders</h3>
<div class="test">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@
</style>
<div id="log"></div>
<div id="container">
<p>Test passes if the <b>left</b> edge of the orange box <b>touches</b> the <b>right</b> edge of the blue box.
There should be no spaces nor overlaps.
<p>The blue box must be <b>tall</b>, the height should be as twice as the width.
<p>Test passes if the X-position of the <b>left</b> edge of the orange box and the <b>right</b> edge of the blue box are the same.
<p>If script is enabled, there should be one or more PASS and no FAIL.
<h3>4: Shrink-to-fit inline-block with a child of orthogonal inline with borders</h3>
<div class="test">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@
</style>
<div id="log"></div>
<div id="container">
<p>Test passes if the <b>left</b> edge of the orange box <b>touches</b> the <b>right</b> edge of the blue box.
There should be no spaces nor overlaps.
<p>The blue box must be <b>tall</b>, the height should be as twice as the width.
<p>Test passes if the X-position of the <b>left</b> edge of the orange box and the <b>right</b> edge of the blue box are the same.
<p>If script is enabled, there should be one or more PASS and no FAIL.
<h3>5: Shrink-to-fit inline-block with a child of orthogonal block in inline-block</h3>
<div class="test">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@
</style>
<div id="log"></div>
<div id="container">
<p>Test passes if the <b>left</b> edge of the orange box <b>touches</b> the <b>right</b> edge of the blue box.
There should be no spaces nor overlaps.
<p>The blue box must be <b>tall</b>, the height should be as twice as the width.
<p>Test passes if the X-position of the <b>left</b> edge of the orange box and the <b>right</b> edge of the blue box are the same.
<p>If script is enabled, there should be one or more PASS and no FAIL.
<h3>6: Shrink-to-fit inline-block with a child of orthogonal inline in inline-block</h3>
<div class="test">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@
</style>
<div id="log"></div>
<div id="container">
<p>Test passes if the <b>left</b> edge of the orange box <b>touches</b> the <b>right</b> edge of the blue box.
There should be no spaces nor overlaps.
<p>The blue box must be <b>tall</b>, the height should be as twice as the width.
<p>Test passes if the X-position of the <b>left</b> edge of the orange box and the <b>right</b> edge of the blue box are the same.
<p>If script is enabled, there should be one or more PASS and no FAIL.
<h3>7: Shrink-to-fit inline-block with a child of orthogonal block with borders in inline-block</h3>
<div class="test">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@
</style>
<div id="log"></div>
<div id="container">
<p>Test passes if the <b>left</b> edge of the orange box <b>touches</b> the <b>right</b> edge of the blue box.
There should be no spaces nor overlaps.
<p>The blue box must be <b>tall</b>, the height should be as twice as the width.
<p>Test passes if the X-position of the <b>left</b> edge of the orange box and the <b>right</b> edge of the blue box are the same.
<p>If script is enabled, there should be one or more PASS and no FAIL.
<h3>8: Shrink-to-fit inline-block with a child of orthogonal inline with borders in inline-block</h3>
<div class="test">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@
</style>
<div id="log"></div>
<div id="container">
<p>Test passes if the <b>left</b> edge of the orange box <b>touches</b> the <b>right</b> edge of the blue box.
There should be no spaces nor overlaps.
<p>The blue box must be <b>tall</b>, the height should be as twice as the width.
<p>Test passes if the X-position of the <b>left</b> edge of the orange box and the <b>right</b> edge of the blue box are the same.
<p>If script is enabled, there should be one or more PASS and no FAIL.
<h3>9: Shrink-to-fit float with a child of orthogonal block</h3>
<div class="test">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@
</style>
<div id="log"></div>
<div id="container">
<p>Test passes if the <b>left</b> edge of the orange box <b>touches</b> the <b>right</b> edge of the blue box.
There should be no spaces nor overlaps.
<p>The blue box must be <b>tall</b>, the height should be as twice as the width.
<p>Test passes if the X-position of the <b>left</b> edge of the orange box and the <b>right</b> edge of the blue box are the same.
<p>If script is enabled, there should be one or more PASS and no FAIL.
<h3>10: Shrink-to-fit float with a child of orthogonal inline</h3>
<div class="test">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@
</style>
<div id="log"></div>
<div id="container">
<p>Test passes if the <b>left</b> edge of the orange box <b>touches</b> the <b>right</b> edge of the blue box.
There should be no spaces nor overlaps.
<p>The blue box must be <b>tall</b>, the height should be as twice as the width.
<p>Test passes if the X-position of the <b>left</b> edge of the orange box and the <b>right</b> edge of the blue box are the same.
<p>If script is enabled, there should be one or more PASS and no FAIL.
<h3>11: Shrink-to-fit float with a child of orthogonal block with borders</h3>
<div class="test">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@
</style>
<div id="log"></div>
<div id="container">
<p>Test passes if the <b>left</b> edge of the orange box <b>touches</b> the <b>right</b> edge of the blue box.
There should be no spaces nor overlaps.
<p>The blue box must be <b>tall</b>, the height should be as twice as the width.
<p>Test passes if the X-position of the <b>left</b> edge of the orange box and the <b>right</b> edge of the blue box are the same.
<p>If script is enabled, there should be one or more PASS and no FAIL.
<h3>12: Shrink-to-fit float with a child of orthogonal inline with borders</h3>
<div class="test">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@
</style>
<div id="log"></div>
<div id="container">
<p>Test passes if the <b>left</b> edge of the orange box <b>touches</b> the <b>right</b> edge of the blue box.
There should be no spaces nor overlaps.
<p>The blue box must be <b>tall</b>, the height should be as twice as the width.
<p>Test passes if the X-position of the <b>left</b> edge of the orange box and the <b>right</b> edge of the blue box are the same.
<p>If script is enabled, there should be one or more PASS and no FAIL.
<h3>13: Shrink-to-fit float with a child of orthogonal block in inline-block</h3>
<div class="test">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@
</style>
<div id="log"></div>
<div id="container">
<p>Test passes if the <b>left</b> edge of the orange box <b>touches</b> the <b>right</b> edge of the blue box.
There should be no spaces nor overlaps.
<p>The blue box must be <b>tall</b>, the height should be as twice as the width.
<p>Test passes if the X-position of the <b>left</b> edge of the orange box and the <b>right</b> edge of the blue box are the same.
<p>If script is enabled, there should be one or more PASS and no FAIL.
<h3>14: Shrink-to-fit float with a child of orthogonal inline in inline-block</h3>
<div class="test">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@
</style>
<div id="log"></div>
<div id="container">
<p>Test passes if the <b>left</b> edge of the orange box <b>touches</b> the <b>right</b> edge of the blue box.
There should be no spaces nor overlaps.
<p>The blue box must be <b>tall</b>, the height should be as twice as the width.
<p>Test passes if the X-position of the <b>left</b> edge of the orange box and the <b>right</b> edge of the blue box are the same.
<p>If script is enabled, there should be one or more PASS and no FAIL.
<h3>15: Shrink-to-fit float with a child of orthogonal block with borders in inline-block</h3>
<div class="test">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@
</style>
<div id="log"></div>
<div id="container">
<p>Test passes if the <b>left</b> edge of the orange box <b>touches</b> the <b>right</b> edge of the blue box.
There should be no spaces nor overlaps.
<p>The blue box must be <b>tall</b>, the height should be as twice as the width.
<p>Test passes if the X-position of the <b>left</b> edge of the orange box and the <b>right</b> edge of the blue box are the same.
<p>If script is enabled, there should be one or more PASS and no FAIL.
<h3>16: Shrink-to-fit float with a child of orthogonal inline with borders in inline-block</h3>
<div class="test">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@
</style>
<div id="log"></div>
<div id="container">
<p>Test passes if the <b>left</b> edge of the orange box <b>touches</b> the <b>right</b> edge of the blue box.
There should be no spaces nor overlaps.
<p>The blue box must be <b>tall</b>, the height should be as twice as the width.
<p>Test passes if the X-position of the <b>left</b> edge of the orange box and the <b>right</b> edge of the blue box are the same.
<p>If script is enabled, there should be one or more PASS and no FAIL.
<h3>17: Shrink-to-fit table-cell with a child of orthogonal block</h3>
<div class="test">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@
</style>
<div id="log"></div>
<div id="container">
<p>Test passes if the <b>left</b> edge of the orange box <b>touches</b> the <b>right</b> edge of the blue box.
There should be no spaces nor overlaps.
<p>The blue box must be <b>tall</b>, the height should be as twice as the width.
<p>Test passes if the X-position of the <b>left</b> edge of the orange box and the <b>right</b> edge of the blue box are the same.
<p>If script is enabled, there should be one or more PASS and no FAIL.
<h3>18: Shrink-to-fit table-cell with a child of orthogonal inline</h3>
<div class="test">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@
</style>
<div id="log"></div>
<div id="container">
<p>Test passes if the <b>left</b> edge of the orange box <b>touches</b> the <b>right</b> edge of the blue box.
There should be no spaces nor overlaps.
<p>The blue box must be <b>tall</b>, the height should be as twice as the width.
<p>Test passes if the X-position of the <b>left</b> edge of the orange box and the <b>right</b> edge of the blue box are the same.
<p>If script is enabled, there should be one or more PASS and no FAIL.
<h3>19: Shrink-to-fit table-cell with a child of orthogonal block with borders</h3>
<div class="test">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@
</style>
<div id="log"></div>
<div id="container">
<p>Test passes if the <b>left</b> edge of the orange box <b>touches</b> the <b>right</b> edge of the blue box.
There should be no spaces nor overlaps.
<p>The blue box must be <b>tall</b>, the height should be as twice as the width.
<p>Test passes if the X-position of the <b>left</b> edge of the orange box and the <b>right</b> edge of the blue box are the same.
<p>If script is enabled, there should be one or more PASS and no FAIL.
<h3>20: Shrink-to-fit table-cell with a child of orthogonal inline with borders</h3>
<div class="test">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@
</style>
<div id="log"></div>
<div id="container">
<p>Test passes if the <b>left</b> edge of the orange box <b>touches</b> the <b>right</b> edge of the blue box.
There should be no spaces nor overlaps.
<p>The blue box must be <b>tall</b>, the height should be as twice as the width.
<p>Test passes if the X-position of the <b>left</b> edge of the orange box and the <b>right</b> edge of the blue box are the same.
<p>If script is enabled, there should be one or more PASS and no FAIL.
<h3>21: Shrink-to-fit table-cell with a child of orthogonal block in inline-block</h3>
<div class="test">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@
</style>
<div id="log"></div>
<div id="container">
<p>Test passes if the <b>left</b> edge of the orange box <b>touches</b> the <b>right</b> edge of the blue box.
There should be no spaces nor overlaps.
<p>The blue box must be <b>tall</b>, the height should be as twice as the width.
<p>Test passes if the X-position of the <b>left</b> edge of the orange box and the <b>right</b> edge of the blue box are the same.
<p>If script is enabled, there should be one or more PASS and no FAIL.
<h3>22: Shrink-to-fit table-cell with a child of orthogonal inline in inline-block</h3>
<div class="test">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@
</style>
<div id="log"></div>
<div id="container">
<p>Test passes if the <b>left</b> edge of the orange box <b>touches</b> the <b>right</b> edge of the blue box.
There should be no spaces nor overlaps.
<p>The blue box must be <b>tall</b>, the height should be as twice as the width.
<p>Test passes if the X-position of the <b>left</b> edge of the orange box and the <b>right</b> edge of the blue box are the same.
<p>If script is enabled, there should be one or more PASS and no FAIL.
<h3>23: Shrink-to-fit table-cell with a child of orthogonal block with borders in inline-block</h3>
<div class="test">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@
</style>
<div id="log"></div>
<div id="container">
<p>Test passes if the <b>left</b> edge of the orange box <b>touches</b> the <b>right</b> edge of the blue box.
There should be no spaces nor overlaps.
<p>The blue box must be <b>tall</b>, the height should be as twice as the width.
<p>Test passes if the X-position of the <b>left</b> edge of the orange box and the <b>right</b> edge of the blue box are the same.
<p>If script is enabled, there should be one or more PASS and no FAIL.
<h3>24: Shrink-to-fit table-cell with a child of orthogonal inline with borders in inline-block</h3>
<div class="test">
Expand Down
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.

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>
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.

Loading

0 comments on commit 479dd32

Please sign in to comment.