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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/legend-absolute-position-auto-width.html

Issue 1528823002: Move tests related to <fieldset> and <legend> to fast/forms/fieldset. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/fast/forms/legend-absolute-position-auto-width.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/legend-absolute-position-auto-width.html b/third_party/WebKit/LayoutTests/fast/forms/legend-absolute-position-auto-width.html
deleted file mode 100644
index 1686aa14b49b7762e94758250369b5b8e07deada..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/forms/legend-absolute-position-auto-width.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script src="../../resources/js-test.js"></script>
-<style>
-fieldset {
- position: relative;
- padding-top: 30px;
- padding-left: 0px;
- padding-right: 0px;
- width: 200px;
- border: 1px solid green;
-}
-legend {
- background: green;
- left: 0;
- right: 0;
- top: 0;
- position: absolute;
- width: auto;
-}
-</style>
-<body>
- <fieldset>
- <legend id="legend">Legend</legend>
- <div>Fieldset content</div>
- </fieldset>
-</body>
-<script>
-description("This test checks the absolute postioned legend element to honor auto width.");
-shouldBe('legend.offsetWidth', '200');
-shouldBe('legend.clientWidth', '200');
-</script>
-</html>

Powered by Google App Engine
This is Rietveld 408576698