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

Unified Diff: LayoutTests/fast/block/hr-border-box-sizing.html

Issue 500093002: Use border-box sizing for the HR element. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated Created 5 years, 8 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
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/block/hr-border-box-sizing-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/block/hr-border-box-sizing.html
diff --git a/LayoutTests/fast/block/hr-border-box-sizing.html b/LayoutTests/fast/block/hr-border-box-sizing.html
new file mode 100644
index 0000000000000000000000000000000000000000..4789cfea07bd8b5c5b808f2c5f8bbc97e644c81e
--- /dev/null
+++ b/LayoutTests/fast/block/hr-border-box-sizing.html
@@ -0,0 +1,10 @@
+<!doctype html>
+<script src="../../resources/check-layout.js"></script>
+<style>
+ html,body {margin:0;}
+</style>
+<p> THe hr element uses border-box sizing so a 100% width does not create a horizontal scrollbar. </p>
+<hr width="100%" size="2" data-expected-width="800">
+<script>
+ window.checkLayout('hr');
+</script>
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/block/hr-border-box-sizing-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698