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

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt/innerText/getter-tests.js

Issue 2550713004: Import wpt@5915964199b07226bf6d8fbb177a63b1f272907a (Closed)
Patch Set: Modify TestExpectations or download new baselines for tests. 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/imported/wpt/innerText/getter-tests.js
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/innerText/getter-tests.js b/third_party/WebKit/LayoutTests/imported/wpt/innerText/getter-tests.js
index 44be5267e5523768db1f4458812ee8d8dec9c234..1e190c094a9cbbd208808b32a6abdf5632d2f39f 100644
--- a/third_party/WebKit/LayoutTests/imported/wpt/innerText/getter-tests.js
+++ b/third_party/WebKit/LayoutTests/imported/wpt/innerText/getter-tests.js
@@ -308,14 +308,13 @@ testText("<math>abc", undefined, "innerText not supported on MathML elements");
/**** Ruby ****/
-testText("<div><ruby>abc<rp>(</rp><rt>def</rt><rp>)</rp></ruby>", "abc(def)", "<rp> rendered");
-testText("<div><rp>abc</rp>", "abc", "Lone <rp> rendered");
-testText("<div><rp style='visibility:hidden'>abc</rp>", "", "visibility:hidden <rp> not rendered");
-testText("<div><rp> abc </rp>", " abc ", "Lone <rp> rendered without whitespace trimming");
-testText("<div><rp style='display:block'>abc</rp>def", "abc\ndef", "display:block <rp> induces line breaks");
-testText("<div><rp style='display:block'> abc </rp>def", " abc \ndef", "display:block <rp> induces line breaks but doesn't trim whitespace");
-// XXX this is not desirable but the spec currently requires it.
-testText("<div><select class='poke-rp'></select>", "abc", "<rp> in a replaced element still renders");
+testText("<div><ruby>abc<rt>def</rt></ruby>", "abcdef", "<rt> and no <rp>");
+testText("<div><ruby>abc<rp>(</rp><rt>def</rt><rp>)</rp></ruby>", "abcdef", "<rp>");
+testText("<div><rp>abc</rp>", "", "Lone <rp>");
+testText("<div><rp style='visibility:hidden'>abc</rp>", "", "visibility:hidden <rp>");
+testText("<div><rp style='display:block'>abc</rp>def", "abc\ndef", "display:block <rp>");
+testText("<div><rp style='display:block'> abc </rp>def", "abc\ndef", "display:block <rp> with whitespace");
+testText("<div><select class='poke-rp'></select>", "", "<rp> in a <select>");
/**** Shadow DOM ****/

Powered by Google App Engine
This is Rietveld 408576698