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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/misc/acid3.html

Issue 2588643004: Allow positional selectors to match elements without a parent. (Closed)
Patch Set: Changed the expectation instead of the crashtest, since it felt a bit saner. Created 4 years 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/http/tests/misc/acid3.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/misc/acid3.html b/third_party/WebKit/LayoutTests/http/tests/misc/acid3.html
index f9cdc4c44c245427af3467d0f775023325120310..568fb543d457bbb71147e2634c40f9620e666423 100644
--- a/third_party/WebKit/LayoutTests/http/tests/misc/acid3.html
+++ b/third_party/WebKit/LayoutTests/http/tests/misc/acid3.html
@@ -1261,7 +1261,7 @@
var p1 = doc.createElement("p");
doc.body.appendChild(doc.createTextNode(" TEST "));
doc.body.appendChild(p1);
- expect(doc.documentElement, notFirst, "root element, with no parent node, claims to be a :first-child");
+ expect(doc.documentElement, first, "root element, with no parent node, claims to be a :first-child");
rune 2016/12/20 09:18:47 Right, we're breaking Acid3. That should be mentio
expect(doc.documentElement.firstChild, first, "first child of root node didn't match :first-child");
expect(doc.documentElement.firstChild.firstChild, first, "failure 3");
expect(doc.body, notFirst, "failure 4");

Powered by Google App Engine
This is Rietveld 408576698