Title: [218085] trunk/LayoutTests
- Revision
- 218085
- Author
- mmaxfi...@apple.com
- Date
- 2017-06-11 22:02:38 -0700 (Sun, 11 Jun 2017)
Log Message
fast/text/variations/getComputedStyle.html does not need to be asynchronous
https://bugs.webkit.org/show_bug.cgi?id=173246
<rdar://problem/31393842>
Reviewed by Sam Weinig.
I dont know why I made it asynchronous in the first place.
* fast/text/variations/getComputedStyle.html:
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (218084 => 218085)
--- trunk/LayoutTests/ChangeLog 2017-06-12 03:58:23 UTC (rev 218084)
+++ trunk/LayoutTests/ChangeLog 2017-06-12 05:02:38 UTC (rev 218085)
@@ -1,3 +1,15 @@
+2017-06-11 Myles C. Maxfield <mmaxfi...@apple.com>
+
+ fast/text/variations/getComputedStyle.html does not need to be asynchronous
+ https://bugs.webkit.org/show_bug.cgi?id=173246
+ <rdar://problem/31393842>
+
+ Reviewed by Sam Weinig.
+
+ I dont know why I made it asynchronous in the first place.
+
+ * fast/text/variations/getComputedStyle.html:
+
2017-06-09 Ryosuke Niwa <rn...@webkit.org>
didMoveToNewDocument doesn't get called on an Attr inside a shadow tree
Modified: trunk/LayoutTests/fast/text/variations/getComputedStyle.html (218084 => 218085)
--- trunk/LayoutTests/fast/text/variations/getComputedStyle.html 2017-06-12 03:58:23 UTC (rev 218084)
+++ trunk/LayoutTests/fast/text/variations/getComputedStyle.html 2017-06-12 05:02:38 UTC (rev 218085)
@@ -20,25 +20,14 @@
<div id="test6" style="font-family: 'Boxis'; font-variation-settings: 'abc한국어e' 500;">a</div>
<div id="test7" style="font-family: 'Boxis'; font-variation-settings: 'hght' 999999;">a</div>
<script>
-window.jsTestIsAsync = true;
-
-var promises = [];
-
-document.fonts.forEach(function(f) {
- promises.push(f.loaded);
-});
-
-Promise.all(promises).then(function() {
- shouldBeEqualToString("window.getComputedStyle(document.getElementById('test0')).getPropertyValue('font-variation-settings')", "'hght' 400");
- shouldBeEqualToString("window.getComputedStyle(document.getElementById('test1')).getPropertyValue('font-variation-settings')", "'hght' 500");
- shouldBeEqualToString("window.getComputedStyle(document.getElementById('test2')).getPropertyValue('font-variation-settings')", "'wdth' 500, 'hght' 400");
- shouldBe("window.getComputedStyle(document.getElementById('test3')).getPropertyValue('font-variation-settings')", "window.getComputedStyle(document.getElementById('test2')).getPropertyValue('font-variation-settings')");
- shouldBeEqualToString("window.getComputedStyle(document.getElementById('test4')).getPropertyValue('font-variation-settings')", "normal");
- shouldBeEqualToString("window.getComputedStyle(document.getElementById('test5')).getPropertyValue('font-variation-settings')", "normal");
- shouldBeEqualToString("window.getComputedStyle(document.getElementById('test6')).getPropertyValue('font-variation-settings')", "normal");
- shouldBeEqualToString("window.getComputedStyle(document.getElementById('test7')).getPropertyValue('font-variation-settings')", "'hght' 999999");
- finishJSTest();
-});
+shouldBeEqualToString("window.getComputedStyle(document.getElementById('test0')).getPropertyValue('font-variation-settings')", "'hght' 400");
+shouldBeEqualToString("window.getComputedStyle(document.getElementById('test1')).getPropertyValue('font-variation-settings')", "'hght' 500");
+shouldBeEqualToString("window.getComputedStyle(document.getElementById('test2')).getPropertyValue('font-variation-settings')", "'wdth' 500, 'hght' 400");
+shouldBe("window.getComputedStyle(document.getElementById('test3')).getPropertyValue('font-variation-settings')", "window.getComputedStyle(document.getElementById('test2')).getPropertyValue('font-variation-settings')");
+shouldBeEqualToString("window.getComputedStyle(document.getElementById('test4')).getPropertyValue('font-variation-settings')", "normal");
+shouldBeEqualToString("window.getComputedStyle(document.getElementById('test5')).getPropertyValue('font-variation-settings')", "normal");
+shouldBeEqualToString("window.getComputedStyle(document.getElementById('test6')).getPropertyValue('font-variation-settings')", "normal");
+shouldBeEqualToString("window.getComputedStyle(document.getElementById('test7')).getPropertyValue('font-variation-settings')", "'hght' 999999");
</script>
<script src=""
</body>
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes