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

Side by Side Diff: LayoutTests/fast/css/replaced-element-ignore-top-bottom.html

Issue 359673003: Inapplicable top, bottom style shouldn't affect height calculation (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Re-add experimentally removed code and fix it Created 6 years, 5 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 unified diff | Download patch
« no previous file with comments | « no previous file | Source/core/rendering/RenderBoxModelObject.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!doctype html>
2 <script src="../../resources/testharness.js"></script>
3 <script src="../../resources/testharnessreport.js"></script>
4 <div>
5 <div style="top: 0; bottom: 0">
6 <img style="height: 100%" src="data:image/gif;base64,R0lGODlhAQABAIAAAAUEBAA AACwAAAAAAQABAAACAkQBADs=">
7 </div>
8 </div>
9 <script>
10 test(function() {
11 assert_equals(document.querySelector("img").offsetHeight, 1);
12 }, "Inapplicable |top| and |bottom| specified style shouldn't affect height calculation");
13 </script>
OLDNEW
« no previous file with comments | « no previous file | Source/core/rendering/RenderBoxModelObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698