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

Unified Diff: LayoutTests/fast/forms/select-clientheight-large-size.html

Issue 347773002: Implement select listbox using shadow DOM (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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: LayoutTests/fast/forms/select-clientheight-large-size.html
diff --git a/LayoutTests/fast/forms/select-clientheight-large-size.html b/LayoutTests/fast/forms/select-clientheight-large-size.html
index 80d9c357a0418197594793a973fe3fe41dab96ba..e20d25ea27db3a3e5ab320f52a1b161841da03b2 100644
--- a/LayoutTests/fast/forms/select-clientheight-large-size.html
+++ b/LayoutTests/fast/forms/select-clientheight-large-size.html
@@ -12,10 +12,6 @@
return getElemById(elemId).clientHeight;
}
- function multipleOfElement(elemId, multiple) {
- return clientHeight(elemId) * multiple + (multiple - 1);
- }
-
function addSelect(id, numOptions)
{
var select = document.createElement("select2");
@@ -31,7 +27,4 @@
shouldBe("clientHeight('select2')", "clientHeight('select1')");
shouldBeTrue("getElemById('select2').setAttribute('size', '4'); clientHeight('select2') == clientHeight('select1')");
shouldBeTrue("getElemById('select2').setAttribute('size', '5'); clientHeight('select2') > clientHeight('select1')");
- shouldBeTrue("getElemById('select2').setAttribute('size', '8'); clientHeight('select2') == multipleOfElement('select1', 2)");
- shouldBeTrue("getElemById('select2').setAttribute('size', '12'); clientHeight('select2') == multipleOfElement('select1', 3)");
- shouldBeTrue("getElemById('select2').setAttribute('size', '16'); clientHeight('select2') == multipleOfElement('select1', 4)");
</script>

Powered by Google App Engine
This is Rietveld 408576698