Bug 34071 - Windows ports incorrectly render buttons that have a percentage height
: Windows ports incorrectly render buttons that have a percentage height
Status: NEW
: WebKit
CSS
: 528+ (Nightly build)
: PC Windows XP
: P2 Normal
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2010-01-24 23:50 PST by
Modified: 2012-08-03 09:43 PST (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2010-01-24 23:50:03 PST
Following from <https://bugs.webkit.org/show_bug.cgi?id=29564#c20>:

Both the Apple and Chromium Windows ports render the height of a button incorrectly if it is specified as a percentage and the button is within an ambient container whose height is unspecified (i.e. auto).

In particular, both the Apple and Chromium Windows ports fail the test
<http://trac.webkit.org/export/53675/trunk/LayoutTests/fast/replaced/table-percent-height.html>
(when run by hand) with respect to percentage button heights.

Note, the reason that the test does not fail under Apple Windows DRT is because Apple Windows DRT uses the Mac theme for controls instead of the native Windows theme, see bug #25592.
------- Comment #1 From 2012-08-03 05:21:17 PST -------
I don't think this is incorrect. The test-case assumes mac-specific behaviour, and should probably be split into a generic and mac-only part.
------- Comment #2 From 2012-08-03 05:22:56 PST -------
Note: qt, chromium (non-mac), win and gtk all fails these 3 specific sub-tests of fast/replaced/table-percent-height.html