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

Unified Diff: third_party/WebKit/LayoutTests/external/csswg-test/css-display-3/display-contents-computed-style.html

Issue 2707203005: Import csswg-test@ed79f8614481e97d61f17f41b65448c211d27c6f (Closed)
Patch Set: Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/external/csswg-test/css-display-3/display-contents-computed-style.html
diff --git a/third_party/WebKit/LayoutTests/external/csswg-test/css-display-3/display-contents-computed-style.html b/third_party/WebKit/LayoutTests/external/csswg-test/css-display-3/display-contents-computed-style.html
index 5f232f26105eab596669afa4a6c541d80e58b285..e7c428b01658b49427e1f8db9a2e985ec149176e 100644
--- a/third_party/WebKit/LayoutTests/external/csswg-test/css-display-3/display-contents-computed-style.html
+++ b/third_party/WebKit/LayoutTests/external/csswg-test/css-display-3/display-contents-computed-style.html
@@ -15,11 +15,7 @@
#t3 .contents { color: green }
- #t4 { display: flex; align-items: center }
- #t4 .contents { align-items: baseline }
- #t4 span { align-self: auto }
-
- #t5 {
+ #t4 {
width: auto;
height: 50%;
margin-left: 25%;
@@ -42,7 +38,7 @@
<span></span>
</div>
</div>
-<div id="t5" class="contents"></div>
+<div id="t4" class="contents"></div>
<script>
test(function(){
assert_equals(getComputedStyle(document.querySelector("#t1")).display, "contents");
@@ -57,11 +53,7 @@
}, "display:contents element as inherit parent - implicit inheritance");
test(function(){
- assert_equals(getComputedStyle(document.querySelector("#t4 span")).alignSelf, "baseline");
- }, "align-self:auto resolution for flex item inside display:contents");
-
- test(function(){
- var computed = getComputedStyle(document.querySelector("#t5"));
+ var computed = getComputedStyle(document.querySelector("#t4"));
assert_equals(computed.width, "auto");
assert_equals(computed.height, "50%");
assert_equals(computed.marginLeft, "25%");

Powered by Google App Engine
This is Rietveld 408576698