[Webkit-unassigned] [Bug 43022] 100% height elements to not respond to vertical browser rescaling
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Sep 13 12:07:41 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=43022
Pierre-Antoine LaFayette <pierre.lafayette at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pierre.lafayette at gmail.com
--- Comment #6 from Pierre-Antoine LaFayette <pierre.lafayette at gmail.com> 2010-09-13 12:07:40 PST ---
Adding comments from IRC chat with dhyatt:
[14:40] <dhyatt> Percentage intrinsic heights are evaluated with respect to the containing block's height, if that height is specified explicitly, or if the replaced element is absolutely positioned.
[14:40] <dhyatt> If neither of these conditions is met, then percentage values on such replaced elements cannot be resolved and such elements are assumed to have no intrinsic height.
[14:41] <plafayette> what happens if they have no intrinsic height?
[14:42] <dhyatt> "Specifies a percentage height. The percentage is calculated with respect to the height of the generated box's http://www.w3.org/TR/CSS21/visuren.html#containing-block. If the height of the containing block is not specified explicitly (i.e., it depends on content height), and this element is not absolutely positioned, the value computes to 'auto'"
[14:42] <dhyatt> so the image's height for sure should go to auto
...
[14:46] <plafayette> dhyatt: what do you think the proper solution is?
[14:46] <dhyatt> well it must be some bug with the percentheightdescendant stuff
...
[14:53] <dhyatt> plafayette: anyway just a guess but i would imagine that something is going wrong with the propagation of percent height descendant tracking because of that <div> with auto height
[14:54] <dhyatt> it may be related to the fact that our strict mode rendering is wrong
[14:57] <dhyatt> looks like replaced elements not adding themselves to the percentheightdescendant thing
[14:57] <dhyatt> maybe mitz would know why
[14:57] <dhyatt> they're also not respecting quirks vs. strict stuff
[14:57] <dhyatt> like calcPercentageHeight is
[14:57] <dhyatt> so the bugs all appear to be in RenderBox::calcReplacedHeightUsing (the percentage case)
[14:57] <dhyatt> i think it needs to match calcPercentageHEight a bit more closely
[14:59] <dhyatt> firefox gets this all right in quirks and strict mode
[14:59] <dhyatt> so good to compare against
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list