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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/text/hyphens/hyphens-parsing-001.html

Issue 1915343003: Add CSS hyphens property behind the test flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Split histograms.xml to a separate CL Created 4 years, 7 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 <script src="../../../resources/testharness.js"></script>
3 <script src="../../../resources/testharnessreport.js"></script>
4
5 <div data-expected="manual" title="Initial value"></div>
6
7 <div style="hyphens: auto" data-expected="auto"></div>
8 <div style="hyphens: manual" data-expected="manual"></div>
9 <div style="hyphens: none" data-expected="none"></div>
10
11 <div style="hyphens: auto">
12 <div data-expected="auto" title="hyphens should inherit"></div>
13 </div>
14
15 <script>
16 Array.prototype.forEach.call(document.querySelectorAll("[data-expected]"), funct ion (element) {
17 test(function () {
18 var actual = getComputedStyle(element).hyphens;
19 assert_equals(actual, element.dataset.expected);
20 }, element.title || element.getAttribute("style"));
21 });
22 </script>
23
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698