Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(29)

Side by Side Diff: LayoutTests/imported/csswg-test/css-writing-modes-3/unicode-bidi-parsing-002.html

Issue 1358453003: update-w3c-deps import using blink e98e996cf6dfab3af465bea33279df933a764e9c: (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: W3CImportExpectations Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <title>CSS Writing Modes: parsing unicode-bidi: isolate, isolate-override, plain text</title>
3 <link rel="author" title="Koji Ishii" href="kojiishi@gmail.com">
4 <link rel="help" href="https://drafts.csswg.org/css-writing-modes-3/#unicode-bid i">
5 <meta name="assert" content="This test asserts the parser and getComputedStyle w orks correctly for the unicode-bidi: isolate, isolate-override, plaintext.">
6 <meta name="flags" content="dom">
7 <script src="../../../resources/testharness.js"></script>
8 <script src="../../../resources/testharnessreport.js"></script>
9
10 <div style="unicode-bidi: -webkit-isolate"
11 data-expected="isolate"></div>
12 <div style="unicode-bidi: -webkit-isolate-override"
13 data-expected="isolate-override"></div>
14 <div style="unicode-bidi: -webkit-plaintext"
15 data-expected="plaintext"></div>
16
17 <script>
18 Array.prototype.forEach.call(document.querySelectorAll("[data-expected]"), funct ion (element) {
19 test(function () {
20 var actual = getComputedStyle(element).unicodeBidi;
21 assert_equals(actual, element.dataset.expected);
22 }, element.title || element.getAttribute("style"));
23 });
24 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698